Connecting Claude, ChatGPT or another AI to Lueira (MCP) step by step
How to connect your AI app (Claude, ChatGPT or another) to your Lueira account data through MCP: the address, the authorization screen, the Analysis and Operational permissions, the API key alternative and how to check it works.
On this page
What it is and what it is for
MCP is the standard that lets an artificial intelligence app (Claude, ChatGPT or another) read and, if you allow it, change the data in your Lueira account. That way you can ask your own AI tool things like "summarise this month's sales" or "find the customers who booked in August" without leaving it.
This is different from Lueira Agent, the agent you have inside the Lueira panel. With an external AI you work in that AI's app, not in Lueira, and it does not go through Lueira confirmation cards: any approvals it asks you for are the ones in that app. That is why it is best to start with read-only permissions (see below).
📘 To see or remove what you have already connected, read Managing connected apps and what an external AI can do.
Before you start
- Your user must be an administrator. Only an administrator can authorize an app. If you are not one, the Lueira screen tells you "Only administrators can authorize applications": ask an administrator of your account to make the connection, or sign in with an account where you are one.
- Your account must have the public API enabled. If you do not see the Developers group in Settings, your account does not include it: contact support.
- An AI app that supports MCP connectors. Not every tool, or every plan of those tools, lets you add them.
- The app's permissions never exceed yours. You can only grant access to data your own user can already view or edit.
Connect in one click (OAuth)
Quickest way: add Lueira directly from your assistant's directory.
Add to ChatGPT · Add to Claude
If you use another AI or prefer to set it up by hand, follow these steps.
The address of Lueira's MCP server is:
https://api.lueira.com/api/v1/mcp
- In your AI app, look for the option to add a custom connector (or an MCP server) and paste that address.
- Choose to connect with your account (sign in). The app takes you to a Lueira screen. Sign in with an administrator user if it asks you to.
- Review and choose the permissions on the authorization screen (explained in the next section) and click Accept.
- You return to your AI app with the connection made. In Lueira, the app appears under Settings > Developers > Connected apps.
The exact steps and button names inside your AI app change often and depend on the tool and its plan; check its help if you cannot find the option. If you see "Request not found or expired" when you get back to Lueira, restart the connection from the AI app.
The authorization screen
The screen is titled "[app name] is requesting access to your Lueira account". At the top you see the account the access is granted to and, below it, the domain you will be redirected to when you accept. Lueira does not verify the app's name: before accepting, make sure that domain belongs to the service you are connecting.
Choose the access level
- Analysis (badge "Read only"): can read your data to answer questions, generate reports and analyse your business. Never creates or modifies anything.
- Operational (badge "Read + write"): besides reading, it can create and edit working data: customers, products, instructors and inventory. It can also delete data in those areas, even though the level card's own text only mentions creating and editing: under "View permissions" those tools are marked "Deletes". It can only read orders.
View permissions shows the list of what the app will be able to do at each level (marked as read, write or "Deletes").
Permissions by area
To fine-tune, under "Permissions by area" you choose for each area (Customers, Orders, Products, Instructors and Inventory) between No access, Read only and Read and write. "Global permission" applies the same level to every area; if you mix levels you will see "Custom". In Orders, write access adds no tools: an external AI can never create or modify orders.
The consent phrase
If you grant write access, Lueira warns you that you are giving access to an artificial intelligence system that will be able to create, modify and delete data in your account on your behalf, that it can make mistakes and that these actions may not be reversible. To continue you must type the phrase "I give my consent" in the text field.
Accept or cancel
When you click Accept you give the app access to your account data with the permissions you chose, and you accept Lueira's privacy policy and terms of use. Cancel grants nothing. You can revoke access at any time under Settings > Developers > Connected apps.
Sensitive areas (finance, personal data, human resources, banking, audit and marketing) do not appear on this screen, so a one-click connection never receives them. They are explained in Managing connected apps and what an external AI can do.
Connect with an API key (alternative)
If your AI app does not support the one-click connection, you can use an API key instead:
- As an administrator, go to Settings > Developers > API Keys and click Create API Key.
- Choose the type Admin API, give it a name you will recognise (for example "AI read only") and tick only the permissions you need. To start, tick only the read ones.
- Click Create key and copy the key: it is shown only once. If you lose it, you will have to rotate it and get a new one.
- In your AI app, add the address
https://api.lueira.com/api/v1/mcpand paste the key where that app asks for a key or an authentication "token".
Treat the key like a password. Whoever has it can access that data without signing in. If you suspect it has leaked, Rotate or Revoke it from the same screen. With a key, the app does not appear under "Connected apps": you see it under API Keys.
📘 More detail about keys and permissions in Lueira public API: keys, webhooks and first steps (Spanish only).
Check that it works
Ask a read-only question in your AI app, for example:
- "How many orders do I have this week?"
- "List my five most recent shop products."
If the tool answers with data from your account, it is connected. If it sees nothing or says it has no tools:
- Wait a few minutes and try again. After connecting or changing permissions, the tool list can take up to 5 minutes to update.
- Check under Connected apps (or API Keys) that the connection exists and the permissions are what you intended. The AI only sees what you grant it: if an area does not show up, it has no permission for it.
- If none of that works, contact support and tell us which AI tool you use.
How much it uses
The calls the AI makes to your data count towards the same monthly request quota as the public API. Only tool calls count; the connection and the tool listing are recorded but do not count. You can see it under Settings > Developers > API usage.
This is not Lueira Agent usage: that has its own limits, explained in Usage limits: session, week and month, and what the ring does.
Safety: start read-only
- Start with Analysis (read only). It is enough to ask, summarise and analyse, and it cannot change anything.
- Grant write access only in the areas that need it. With "Permissions by area" you can give write access to, for example, only Products and leave the rest read-only or with no access.
- An external AI does not use Lueira confirmation cards. Once write access is granted, whatever the AI decides to do, including deleting data in those areas, it does without Lueira asking you to confirm each change; only the approvals offered by the AI app itself apply. Write changes may not be reversible.
- Check the domain on the authorization screen before accepting.
- Revoke what you no longer use. A connection you do not need is access to your data you do not need to keep.
- By design, an external AI cannot create or modify orders, even with write access. It can read them.
If an AI does something you did not expect, revoke its access and contact support; the steps are in Managing connected apps and what an external AI can do.
Related guides
Related guides
- Lueira Agent: what it is, what it does and what it never doesWhat Lueira Agent is, where to find it, what it can do for you (answer questions, analyse your data, import, prepare and make changes with your confirmation), what it never does on its own and how it differs from the Lueira Assistant and from the WhatsApp Agent that serves your customers.
- How to ask Lueira Agent: questions, files and tipsHow to write to Lueira Agent so it understands you the first time, which files you can attach and the limits, how to answer its questions and what to do if it doesn't understand you.
- Analyse your data with the agent: sales, orders, payments and statisticsWhich questions about your business Lueira Agent can answer (orders, payments, VAT, invoices, customers), how to read its answers, how to double-check them and what data it can see depending on your role.
- Help is always there: guides, videos, diagnostics and talking to the teamHow to get help inside Lueira: the Guides and Videos panels, how-to questions, Diagnose and Setup health, the Talk to support button and what happens to help when you reach the agent's usage limit.
- Your conversations: history, search, archive and continueHow to find and manage your conversations with Lueira Agent: the list grouped by date, search, pin, rename, archive (with Undo), delete, what happens when a long conversation continues in a new session, and the wide view.
- Making changes with the agent: the confirmation cardHow the card the Lueira Agent uses to ask for your confirmation works: what it shows, which buttons you have, what happens after you confirm and why nothing is touched until you decide.