Skip to main content

Getting-started journey · Claude (MCP)

Connecting Priority to Claude with LeonAI Priority MCP

By the end, Claude answers questions from your Priority data through the LeonAI connector, and you know where to manage your account and plan.

49 stepsAbout 30 minCustomers connecting Priority to Claude

Choose a part to open.

Part 1 · Steps 1–4Signing up for LeonAI Priority MCP3 min · Whoever will manage the LeonAI account

Sign up for LeonAI Priority MCP with your email and a verification code. A credit card is required; the offer and charge terms are shown on the MCP site before you confirm.

1

Open the sign-up

On the pricing page choose a plan and click the sign-up button.

A credit card is required. The current offer and charge terms are shown on the MCP site before you confirm.

Open the sign-up

The LeonAI Priority MCP sign-up form is open, on step one of two.

2

Enter your email and request a verification code

Enter the email address of whoever will manage the account, wait for the Cloudflare check and click Send verification code.

The verification code, the welcome email and later sign-in codes go to this address. If you do not have Priority access details yet, check the option at the bottom of the form to get a guide instead of continuing now.

Enter your email and request a verification code

The Cloudflare check passed, and the code was sent to the address you entered.

3

Copy the sign-up code from the email

In your inbox, open the email Sign-up verification code from LeonAI Priority MCP, then select and copy the 6-digit code.

The email comes from monitor@leonai.io and usually arrives within a minute. The code is valid for 10 minutes, so paste it into the sign-up form soon.

Copy the sign-up code from the email

You have a 6-digit code received in the last few minutes.

4

Verify the sign-up code

Paste the code into the six boxes and click Verify and continue.

This is the second and last step of sign-up.

Verify the sign-up code

Your email is verified. Keep the LeonAI tab open — you will connect Priority in it next.

Stuck? 2 known situations at this step

The sign-up code email did not arrive

The email is on its way, or went to spam

The email comes from monitor@leonai.io and usually arrives within a minute.

  1. Look for the email in your spam folder too.

The sign-up code has expired

The code is valid for 10 minutes only

  1. The Start over link below the button takes you back to the email step.
Didn't find your situation? Write to us.WhatsApp (opens in a new window)care@leonai.io
Next: A Priority user with an API licenceTo the next part
Part 2 · Steps 5–7A Priority user with an API licence2 min · Priority system manager

LeonAI works in Priority as one user. That user must have an API licence.

5

Open System Users

System Management › System Maintenance › Users › Users

Open System Users

The System Users form is open.

6

Open the user's permissions

Select the user you will connect and open the User's System Privileges tab.

Open the user's permissions

The User's System Privileges tab is open.

7

Make sure “API License” is checked

Go to License and make sure the API License box is checked.

If the box is not checked, the user cannot be connected. Contact your Priority administrator before you continue.

Make sure “API License” is checked

The “API License” box is checked for the user.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: The Priority API addressTo the next part
Part 3 · Steps 8–13The Priority API address2 min · Priority system manager

One address from Priority, and the three connection values inside it: the server address, the settings file and the company name.

8

Sign in to Priority

In a new tab, sign in to Priority's web interface with a user who has access to the System Management menu.

To connect Priority you need four details from the system: the API address, the company name, the settings file name and a personal access token. You get all of them from the System Management menu.

Sign in to Priority

You are signed in to Priority and see System Management in the top menu.

9

Open System Management

In Priority's top menu, click System Management.

Open System Management

The System Management menu is open.

10

Open “Send Link to Activate Software”

System Maintenance › Users › Send Link to Activate Software

Open “Send Link to Activate Software”

A “Request Type” window opens.

11

Choose API and confirm

Check API and click OK.

Choose API and confirm

A “Parameter Input” window opens.

12

Check “Display link” and confirm

Check Display link and click OK.

Check “Display link” and confirm

A window with the address opens.

13

Copy the address in one piece

Select the full address and copy it (Ctrl+C).

The last two parts of the address are the settings file name and the company name — you will use them in a moment. The address breaks over two lines in the window: copy it as one piece, with no space.

Copy the address in one piece

The full address, ending in the company name, is on your clipboard.

What is in the address

The address you copied splits into three values you need for the connection:

https://p.priority-connect.online/odata/Priority/tabdemo1.ini/usdemo
Server addressAlways starts with https://
Settings fileIn Priority Cloud it is never tabula.ini
Company nameThe code of your company environment, not its trading name

Paste your address into the address checker — it splits it for you →

Stuck? 5 known situations at this step

The URL points to a private network — a public https address is required.

The address broke when it was copied

In Priority's window the address spans two lines, and pasting adds an extra character to it.

  1. Delete the address from the PRIORITY server address field.
  2. Copy it again from Priority's window, or from the email Priority sends.
  3. Make sure priority-connect.online appears unbroken, and click Connect and verify.

Not found: check the company name and the tabula.ini file name.

The company name or the settings file does not match the address

These two values are the last two parts of the API address. In Priority Cloud the settings file is never tabula.ini.

  1. Open the address you copied from Priority.
  2. Enter the second-to-last part in the TABULA.INI file field.
  3. Enter the last part in the Company name in Priority field.

Priority URL must start with https://

The start of the address is missing

The address was copied without the https:// at its start.

  1. Copy the full address from Priority again, from the first character.
  2. Make sure it starts with https://, and click Connect and verify.

There is no System Management in my Priority menu

Your user does not have system manager rights

The address can only be produced from the System Management menu.

  1. Send the link to this page to your organization's Priority administrator.
  2. They can produce the address in two minutes and send it to you.

Could not reach the server: check the URL, and that the firewall allows the IPs in the prerequisites.

Priority’s server is not answering LeonAI

Either the address is wrong, or your organization's firewall is blocking LeonAI's IP addresses.

  1. Check your address in the address checker.
  2. If it is fine, go on to Allowing LeonAI’s addresses in your firewall.
Didn't find your situation? Write to us.WhatsApp (opens in a new window)care@leonai.io
Next: Personal access token (PAT)To the next part
Part 4 · Steps 14–19Personal access token (PAT)3 min · Priority system manager

A token that lets LeonAI act in Priority as the user with the API licence.

14

Open the REST tokens

System Management › System Maintenance › Users › REST Interface Authentication Tokens

Open the REST tokens

The “REST Interface Authentication Tokens” form is open, with the list of existing tokens.

15

Create a record and check “Create Token”

Click + New, and in the new form check the Create Token box.

Create a record and check “Create Token”

A message about saving the token appears.

16

Confirm the warning

In the message You must save the token before leaving the line, click OK.

Confirm the warning

The message closed, and Priority filled in the token name.

17

Copy the token now

Right-click the token in the Token Name field and choose Copy (or Ctrl+C). Keep it somewhere safe until you paste it into LeonAI.

This is the only moment the full token is shown. Once you leave the line, it is hidden.

Copy the token now

The full token is on your clipboard, and you have not left the line yet.

18

Choose the user with the API licence

In the User Name field, choose the user you checked. You can also add a description, for example LeonAI.

Choose the user with the API licence

The user with the API licence is selected in the User Name field.

19

Save and go back to the list

Make sure the Active? box is checked and click Back to list.

Save and go back to the list

The new token appears in the list, hidden.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: Connecting Priority in the LeonAI wizardTo the next part
Part 5 · Steps 20–28Connecting Priority in the LeonAI wizard5 min · Whoever signed up for LeonAI Priority MCP

Paste the four values from Priority into the wizard, check the permissions, set the defaults and save the API key.

20

Paste the server address

In the LeonAI tab, in the Connect your Priority system window, paste the full address into the PRIORITY server address field.

If you are not sure what is needed, open “Before you connect — what to prepare” at the top of the window. Make sure the address starts with https and that no space got in when you copied it.

Paste the server address

The part priority-connect.online appears as one unbroken word.

21

Enter the company name

In the Company name in Priority field, enter the last part of the address — in the example: usdemo.

The company name is the code of your company environment in Priority, not its trading name. It always appears at the end of the API address you copied.

Enter the company name

The value in the company name field matches the last part of the address.

22

Enter the settings file

In the TABULA.INI file field, enter the part before the company name in the address — in the example: tabdemo1.ini.

In Priority Cloud it is never tabula.ini: copy the file name exactly as it appears in your address.

Enter the settings file

The file name in the field matches the corresponding part of the API address.

23

Paste the token

Paste the token into the Personal access token (PAT) field.

The field hides the characters after you paste. Make sure you pasted the full token you copied, not the hidden version shown in the list in Priority.

Paste the token

All four fields are filled in: server address, company name, settings file and token.

24

Connect and verify

Click Connect and verify.

If an error says the address points to a private network and a public address is required, check the server address: the part priority-connect.online must appear as one unbroken word. Fix it and click again.

Connect and verify

The connection succeeded and the “Access permission check” screen opens.

25

Check the access permissions

On the Access permission check screen, make sure all the required forms are marked OK, and click Continue.

LeonAI checks that the user you chose can read the forms it needs, such as CUSTOMERS, SUPPLIERS and LOGPART.

Check the access permissions

All the required forms are OK (in the example: 9/9).

26

Review the detected modules

On the Detected modules screen, check that the modules you use are marked Ready, and click Next.

LeonAI detects which Priority modules are active for you — for example sales, purchasing, inventory and finance. Clicking a module shows details, and “Refresh” runs the detection again.

Review the detected modules

The modules that matter to you are listed as ready.

27

Set defaults and finish

On the Quick settings screen choose a Main role (in the example: General). If relevant, pick default warehouses through Browse all, and choose a Default price list or leave None. Click Finish setup.

This screen sets the account's default preferences: main role, warehouses and price list. The warehouse and price-list lists load directly from Priority.

Set defaults and finish

The “All set!” screen opens.

28

Save the API key

Critical step

On the All set! screen click Copy next to API key and keep it somewhere safe. Copy the MCP server address too.

The key is shown only once and will not be shown again. You will need it, together with the email you signed up with, to connect Claude. If you lose it, you can renew it in the admin portal.

Save the API key

You have saved the API key, which starts with sk-cust, and the MCP address.

Stuck? 7 known situations at this step

On the access-permission check screen, a form is not marked OK

The token’s user has no permission for that form

LeonAI checks that the user you chose can read the forms it needs.

  1. Give the user permission for the form in Priority.
  2. Go back to the wizard and click Check again.

I did not save the API key

The key is shown only once

  1. You can renew it in the admin portal.

The URL points to a private network — a public https address is required.

The address broke when it was copied

In Priority's window the address spans two lines, and pasting adds an extra character to it.

  1. Delete the address from the PRIORITY server address field.
  2. Copy it again from Priority's window, or from the email Priority sends.
  3. Make sure priority-connect.online appears unbroken, and click Connect and verify.

Not found: check the company name and the tabula.ini file name.

The company name or the settings file does not match the address

These two values are the last two parts of the API address. In Priority Cloud the settings file is never tabula.ini.

  1. Open the address you copied from Priority.
  2. Enter the second-to-last part in the TABULA.INI file field.
  3. Enter the last part in the Company name in Priority field.

Priority URL must start with https://

The start of the address is missing

The address was copied without the https:// at its start.

  1. Copy the full address from Priority again, from the first character.
  2. Make sure it starts with https://, and click Connect and verify.

Could not reach the server: check the URL, and that the firewall allows the IPs in the prerequisites.

Priority’s server is not answering LeonAI

Either the address is wrong, or your organization's firewall is blocking LeonAI's IP addresses.

  1. Check your address in the address checker.
  2. If it is fine, go on to Allowing LeonAI’s addresses in your firewall.

Connection timed out: make sure the address is reachable from the internet and that the firewall allows the IP addresses in the prerequisites.

The firewall is blocking LeonAI

  1. Check with your IT person that the three addresses were allowed on port 443.
Didn't find your situation? Write to us.WhatsApp (opens in a new window)care@leonai.io
Next: Adding the LeonAI connector to ClaudeTo the next part
Part 6 · Steps 29–36Adding the LeonAI connector to Claude4 min · Everyone who will use Claude

Add a custom connector in Claude with the MCP server address, and sign in with your email and API key.

The quick way: one click

The button opens Claude’s Add custom connector dialog with the name LeonAI Priority and the server address already filled in. Press Continue, keep the detected options and press Add.

Add to Claude (opens in a new window)Add for the whole organization (opens in a new window)

  • Claude shows a notice that the connector came from an external link. That is expected: check the address is priority-mcp.leonai.io and continue.
  • The Free plan allows one custom connector.
  • Already added it? In Claude press +, choose Connectors and switch LeonAI Priority on.

On Claude Team or Enterprise only an Owner adds a connector; then each member presses Connect. Not the Owner? Send them this link:

After Add, LeonAI’s sign-in page opens. Carry on at the step Enter your email.

Using another assistant?

ChatGPT

ChatGPT has no link that fills in a connector. The button copies the address and opens Plugins: press +, choose Add custom MCP server, paste the address, set up the sign-in and press Create as a plugin. Don’t see the option? Ask your workspace admin.

Claude Code

Run in a terminal:

Codex

Run the first command in a terminal; it opens the sign-in. If it doesn’t, run the second:

In the Codex app: Settings, MCP servers, Add server, then paste the address.

VS Code · GitHub Copilot

In VS Code open the Command Palette, choose MCP: Add Server, then HTTP, and paste the address:

29

Choose Add custom connector

In Claude, in the chat window, click +, point to Add connector and click Add custom connector.

The LeonAI connector is not in the list of ready-made connectors, so you add it as a custom connector by its server address.

Choose Add custom connector

The Add custom connector window opens.

30

Name the connector

Click the Name field and type a name, for example MY PRIORITY MCP.

As the window explains, the name is shown in the connector list, so choose one you will recognize easily.

Name the connector

The name you chose appears in the Name field.

31

Paste the MCP server address

Click the MCP server URL field and paste the address you saved on the “All set!” screen.

This is the address where the LeonAI server receives MCP requests. Make sure it starts with https and ends with /mcp.

Paste the MCP server address

The full address appears in the MCP server URL field.

32

Continue and add the connector

Click Continue. In the next window keep the detected options — Sign in now and Use Claude's published identity, both marked Detected — and click Add.

As the window explains, Sign in now requires every user to sign in through the server's authorization page before using its tools or resources.

Continue and add the connector

The LeonAI Priority MCP authorization page opens.

33

Enter your email

On the LeonAI authorization page, enter the email you signed up with in the Your Email field.

The top of the page shows which app you are giving access to (Claude) and where you will return (claude.ai). If you do not recognize these details, close the page and do not enter the key.

Enter your email

The email you signed up with is entered in the Your Email field.

34

Paste the API key and authorize

Click the API Key field, paste the key you saved and click Authorize.

The key starts with sk-cust and was given to you on the “All set!” screen at the end of sign-up. The field hides the characters after you paste: make sure you pasted the whole key, with no spaces at the start or end.

Paste the API key and authorize

A message says a verification code was sent to your email.

35

Copy the sign-in code from the email

In your inbox, open the email Your LeonAI Priority MCP verification code, then select and copy the 6-digit code.

This is a new code, separate from the sign-up code, and it is valid for 10 minutes. A “Welcome” email arrives at the same time — you will use it later to sign in to the admin portal.

Copy the sign-in code from the email

The sign-in code is on your clipboard.

36

Verify the sign-in code

On the authorization page, click the Verification Code field, paste the code and click Verify Code.

The page shows which address the code was sent to, with part of the address hidden.

Verify the sign-in code

You are back in Claude, and the LeonAI connector is connected.

Stuck? 1 known situation at this step

The sign-in code did not arrive

The email is on its way, or went to spam

  1. Check your spam folder, or click Resend code when the countdown ends.
  2. The Use a different email link takes you back to enter a different email.
Didn't find your situation? Write to us.WhatsApp (opens in a new window)care@leonai.io
Next: Recommended settings in ClaudeTo the next part
Part 7 · Steps 37–40Recommended settings in Claude2 min · Everyone who will use Claude

Two privacy settings, network access with the LeonAI domain, and AI-powered artifacts.

37

Turn off two switches in Privacy

In Claude's settings (Settings) click Privacy, and turn off the Location metadata and Help improve our AI models switches.

According to the descriptions on screen, the first lets Claude use your approximate location (city/region), and the second lets your chats and coding sessions be used to train Anthropic's models.

Turn off two switches in Privacy

Both switches are off.

38

Turn on Allow network egress

Click Capabilities and turn on the Allow network egress switch.

According to the description on screen, this lets Claude reach common package managers and install libraries for data analysis, visualizations and file processing. The screen notes that this carries security risks and recommends monitoring your chats.

Turn on Allow network egress

The Allow network egress switch is on.

39

Add priority-mcp.leonai.io to the allowed domains

Critical step

Below the switch, in Additional allowed domains, type priority-mcp.leonai.io and click Add.

You can leave Domain allowlist on Package managers only.

Without this domain, Claude cannot reach the LeonAI server from its code environment.

Add priority-mcp.leonai.io to the allowed domains

The domain priority-mcp.leonai.io appears in the list of allowed domains.

40

Turn on AI-powered artifacts

In Capabilities turn on the AI-powered artifacts switch.

According to the description on screen, this lets you build interactive apps and documents that use Claude inside the artifact.

Turn on AI-powered artifacts

The AI-powered artifacts switch is on.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: First question and tool permissionsTo the next part
Part 8 · Steps 41–44First question and tool permissions3 min · Everyone who will use Claude

Ask Claude about your Priority data, approve the tool, and decide in advance what it may do without asking.

41

Ask a first question

Start a new chat and ask about your data, for example:

Claude looks for the right LeonAI tools and runs them — for example Query Table to fetch and filter records.

Ask a first question

Claude shows that it is using a LeonAI Priority tool.

42

Approve the tool

When a permission request for a LeonAI tool appears, choose Always allow or Allow once.

Claude asks for approval the first time it uses each tool. Always allow skips the question next time; Allow once approves only the current action.

Approve the tool

Claude ran a LeonAI Priority tool and returned data from Priority.

43

Pre-approve the read tools

In Settings › Connectors, on the LeonAI connector, click the selector next to Read-only tools and choose Always allow.

The read tools only fetch data, so approving the whole group in advance saves repeated permission requests. Each tool has three options: always allow (✓), ask for approval (✋) or block (⊘), and you can still set a different permission for each tool.

Pre-approve the read tools

The Read-only tools group is set to Always allow.

44

Check the write tools' permission

On the same screen, the Write/delete tools group is set to Needs approval. Some of its tools are marked with a lock.

The tools in this group can create or update data in Priority, for example Create Priority ERP Entity or Execute a Procedure on a Record. With Needs approval, Claude asks for your approval before every such action. A locked tool's permission cannot be changed.

Check the write tools' permission

You checked which permission is set for the write tools, and what it means.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: The admin portal and choosing a planTo the next part
Part 9 · Steps 45–49The admin portal and choosing a plan4 min · LeonAI account owner

Open the admin portal from the welcome email, go through the getting-started list, and move to a paid plan when you are ready.

45

Open the admin portal from the welcome email

In your inbox, open the email Welcome to LeonAI Priority MCP and click Open admin portal.

In the portal you manage users, modules, your plan and billing. The email also has a “First steps” list: connect Claude, run a first query, invite your team and choose a plan.

Open the admin portal from the welcome email

The admin portal is open on the Overview screen.

46

Review the Overview screen

On the Overview screen, check the Getting started list and the trial end date. If you like, turn on Enable AI-powered capabilities (optional).

AI capabilities are off by default. Turning them on sends some of the data to Google's Gemini service for processing, outside Israel, for example to summarize long results. The rest of the service stays in Israel.

Review the Overview screen

You saw what is left on the getting-started list and when the trial ends.

47

Go to Billing and the paid plan

In the side menu click Billing, then Upgrade to a paid plan.

The Billing screen shows your plan, monthly usage, upcoming charge and invoices. This is also where you add a card and turn on Auto top-up, which buys an extra package automatically when your quota is about to run out.

Go to Billing and the paid plan

A “Subscribe” window opens.

48

Choose a plan

In the Subscribe window click the Plan field, and choose between Basic, Basic Plus and Unlimited.

Basic Plus removes the user limit, and Unlimited removes the call limit — both at the same price. Choose by the limit you will reach first. Prices exclude VAT.

Choose a plan

The plan you chose appears in the field.

49

Complete the billing details

Choose a billing cycle, fill in Registered company name, Company number and Billing email, and click Continue.

You can choose monthly billing, or yearly billing with two months free. The details are needed for the invoice, so make sure they match your company registration.

Complete the billing details

All the fields in the window are filled in, and you clicked Continue.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io

Claude is connected to Priority

You can ask Claude about your customers, orders, stock and finances. Users, modules and your plan are managed in the admin portal. If something does not work, see Troubleshooting.