Connect AinurPOS to Claude or ChatGPT to ask questions about your own business data in plain language: “what sold best last week”, “which customers owe us money”, “what is left in stock”. If you grant write access, the assistant can also enter data: add a product, register a purchase, record a cash order.
Quickest way: in the AinurPOS web app (https://beta.ainur.app/) open Integrations → MCP and click Add to Claude. Claude opens with the AinurPOS connector already filled in; click Add, then Connect, and continue from step 3 below.
What you need
- An AinurPOS account and a company with an active tariff.
- You are the company owner: only an owner can connect an assistant.
- A Claude or ChatGPT plan that supports custom connections (Claude: Pro, Max, Team, Enterprise; ChatGPT: Developer mode on Plus/Pro and above; on Business and Enterprise a workspace admin enables connections).
Connect Claude
- In Claude open Settings → Connectors → Add custom connector.
- Enter the name “AinurPOS” and the address
https://mcp.ainur.app/. Click Add, then Connect. - An AinurPOS page opens. Sign in with your AinurPOS account if you are not signed in.
- On the consent screen check the application and the return address (
claude.ai), choose the company and the access level: Read (default) or Read and write. Click Allow. - Back in Claude, start a conversation and enable the AinurPOS connection. Ask: “Which company am I connected to?”
You sign in once; Claude renews access by itself afterwards. “Sign in when needed” signs in at the first request, “Sign in now” immediately.
Claude Code and other clients that support OAuth connect with the same address.
Connect ChatGPT
- In ChatGPT open Settings → Apps / Connectors → Advanced settings and turn on Developer mode.
- Choose Create, enter the name “AinurPOS”, the address
https://mcp.ainur.app/and the sign-in method OAuth. - Click Create and complete sign-in and consent as in Claude (steps 3–4 above).
- In a new chat add the AinurPOS app via + → Developer mode (or More) and ask a question.
OpenAI menu names change; if you do not find an item, search the app settings for “Developer mode”.
What the assistant can do
| Level | What is available |
|---|---|
| Read | look up and open products, customers, suppliers, stores, cash registers, accounts, documents and cash orders; sales, stock and cash reports; company and tariff information |
| Read and write | everything in Read, plus creating and editing products, customers, suppliers and other directories; stock documents (create, edit, post, unpost); cash orders; delete and restore |
Deletion is soft: records go to the trash and can be restored. The assistant asks for your confirmation before it changes anything. AinurPOS does not transfer money: cash orders are bookkeeping entries in your journal, no payment or bank transfer is made.
See and revoke access
In the AinurPOS web app open the MCP integration card. The Connected applications block shows who is connected, the level, when access was granted and last used. Revoke access stops the application immediately; to connect again it must go through consent once more. Without a new consent access ends by itself after 180 days.
If the consent page shows an error
The wording on the page may differ; the meaning is:
- “Connection unavailable”: OAuth is not enabled for your account; use a key (below) or contact support.
- no right to grant access: you are not the owner of the chosen company.
- MCP access unavailable, pay for the tariff: the company’s tariff is not paid.
- MCP is disabled in the integration card: enable the MCP integration.
- Link invalid or expired: start the connection again in the assistant (the request lives 10 minutes).
Connect with a key (fallback)
If an application does not support OAuth sign-in, issue a key in the MCP card and pass it in the header Authorization: Bearer <key>. A key is shown once; store it like a password and never paste it into chats. Keys keep working and are revoked in the same card.
Limits
- 300 requests per minute per connection (a key or an application). Above that the server answers
429with aRetry-Afterheader (seconds to wait); the assistant waits and retries. - At most 100 records in one list and in one bulk call (create, edit, delete); the assistant pages through longer lists.
- A data request has a time limit (10 seconds); narrow a very wide report by period, store or category.
- A connection works with one company; connect the assistant again for another company.
- The access token lives 1 hour and renews itself; renewal stays valid for 30 days from each use; without a new consent access ends after 180 days.
- Some operations depend on the company’s tariff and on the user’s permissions in AinurPOS.
Common errors
| What you see | Cause | What to do |
|---|---|---|
The assistant asks to sign in again, 401 | access was revoked, the 180 days passed, or the MCP integration is disabled | connect again: Connect in the assistant, consent |
invalid_grant when renewing the token | the refresh token was already used, revoked or expired | connect again |
429, rate_limited | more than 300 requests per minute | wait Retry-After seconds; do not start several bulk jobs at once |
Code 5000, “pay for the tariff” | the company’s tariff is not paid, all tools are closed | pay the tariff in AinurPOS |
| No write tools | the “Read” level was granted | revoke access and connect with “Read and write” |
| “Connection unavailable” on the consent page | OAuth is not enabled | use a key or contact support |
| Validation error listing fields | a value does not fit the field rules | the assistant fixes it from the hint; if not, clarify the value |
Other agents
OAuth clients whose return address is https://… or on localhost connect with the same address https://mcp.ainur.app/; registration is automatic.
- Claude Code:
claude mcp add --transport http ainurpos https://mcp.ainur.app/, then/mcpin the session and sign in. - Codex:
codex mcp add ainurpos --url https://mcp.ainur.app/, thencodex mcp login ainurpos. Codex useslocalhost, so the consent page shows it without a “verified application” mark: check the return address. - Cursor and other clients without OAuth: connect with a key (section below), header
Authorization: Bearer <key>.
Security and data
The assistant sees only the chosen company’s data and only within the chosen level. What AinurPOS stores and for how long is described in the privacy policy (section “Connecting AinurPOS to AI assistants”). AinurPOS does not store the content of your conversations with the assistant.