{"id":3547,"date":"2026-11-26T17:47:26","date_gmt":"2026-11-26T14:47:26","guid":{"rendered":"https:\/\/ainurpos.com\/help\/?post_type=ht_kb&#038;p=3547"},"modified":"2026-11-26T17:47:26","modified_gmt":"2026-11-26T14:47:26","slug":"ainurpos-claude-chatgpt","status":"publish","type":"ht_kb","link":"https:\/\/ainurpos.com\/help\/knowledge\/ainurpos-claude-chatgpt\/","title":{"rendered":"Connect AinurPOS to Claude and ChatGPT"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Connect AinurPOS to Claude or ChatGPT to ask questions about your own business data in plain language: &#171;what sold best last week&#187;, &#171;which customers owe us money&#187;, &#171;what is left in stock&#187;. If you grant write access, the assistant can also enter data: add a product, register a purchase, record a cash order.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Quickest way:<\/strong> in the AinurPOS web app (<a href=\"https:\/\/beta.ainur.app\/\">https:\/\/beta.ainur.app\/<\/a>) open <strong>Integrations \u2192 MCP<\/strong> and click <strong>Add to Claude<\/strong>. Claude opens with the AinurPOS connector already filled in; click <strong>Add<\/strong>, then <strong>Connect<\/strong>, and continue from step 3 below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>An AinurPOS account and a company with an active tariff.<\/li><li>You are the company <strong>owner<\/strong>: only an owner can connect an assistant.<\/li><li>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).<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Connect Claude<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>In Claude open <strong>Settings \u2192 Connectors \u2192 Add custom connector<\/strong>.<\/li><li>Enter the name &#171;AinurPOS&#187; and the address <code>https:\/\/mcp.ainur.app\/<\/code>. Click <strong>Add<\/strong>, then <strong>Connect<\/strong>.<\/li><li>An AinurPOS page opens. Sign in with your AinurPOS account if you are not signed in.<\/li><li>On the consent screen check the application and the return address (<code>claude.ai<\/code>), choose the <strong>company<\/strong> and the access level: <strong>Read<\/strong> (default) or <strong>Read and write<\/strong>. Click <strong>Allow<\/strong>.<\/li><li>Back in Claude, start a conversation and enable the AinurPOS connection. Ask: &#171;Which company am I connected to?&#187;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You sign in once; Claude renews access by itself afterwards. &#171;Sign in when needed&#187; signs in at the first request, &#171;Sign in now&#187; immediately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code and other clients that support OAuth connect with the same address.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connect ChatGPT<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>In ChatGPT open <strong>Settings \u2192 Apps \/ Connectors \u2192 Advanced settings<\/strong> and turn on <strong>Developer mode<\/strong>.<\/li><li>Choose <strong>Create<\/strong>, enter the name &#171;AinurPOS&#187;, the address <code>https:\/\/mcp.ainur.app\/<\/code> and the sign-in method <strong>OAuth<\/strong>.<\/li><li>Click <strong>Create<\/strong> and complete sign-in and consent as in Claude (steps 3\u20134 above).<\/li><li>In a new chat add the AinurPOS app via <strong>+ \u2192 Developer mode<\/strong> (or <strong>More<\/strong>) and ask a question.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">OpenAI menu names change; if you do not find an item, search the app settings for &#171;Developer mode&#187;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What the assistant can do<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Level<\/th><th>What is available<\/th><\/tr><\/thead><tbody><tr><td><strong>Read<\/strong><\/td><td>look up and open products, customers, suppliers, stores, cash registers, accounts, documents and cash orders; sales, stock and cash reports; company and tariff information<\/td><\/tr><tr><td><strong>Read and write<\/strong><\/td><td>everything in Read, plus creating and editing products, customers, suppliers and other directories; stock documents (create, edit, post, unpost); cash orders; delete and restore<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">See and revoke access<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the AinurPOS web app open the <strong>MCP<\/strong> integration card. The <strong>Connected applications<\/strong> block shows who is connected, the level, when access was granted and last used. <strong>Revoke access<\/strong> 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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">If the consent page shows an error<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The wording on the page may differ; the meaning is:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>&#171;Connection unavailable&#187;: OAuth is not enabled for your account; use a key (below) or contact support.<\/li><li>no right to grant access: you are not the owner of the chosen company.<\/li><li>MCP access unavailable, pay for the tariff: the company&#8217;s tariff is not paid.<\/li><li>MCP is disabled in the integration card: enable the MCP integration.<\/li><li>Link invalid or expired: start the connection again in the assistant (the request lives 10 minutes).<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Connect with a key (fallback)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If an application does not support OAuth sign-in, issue a <strong>key<\/strong> in the MCP card and pass it in the header <code>Authorization: Bearer &lt;key&gt;<\/code>. 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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Limits<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>300 requests per minute<\/strong> per connection (a key or an application). Above that the server answers <code>429<\/code> with a <code>Retry-After<\/code> header (seconds to wait); the assistant waits and retries.<\/li><li>At most <strong>100 records<\/strong> in one list and in one bulk call (create, edit, delete); the assistant pages through longer lists.<\/li><li>A data request has a time limit (10 seconds); narrow a very wide report by period, store or category.<\/li><li>A connection works with <strong>one company<\/strong>; connect the assistant again for another company.<\/li><li>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.<\/li><li>Some operations depend on the company&#8217;s tariff and on the user&#8217;s permissions in AinurPOS.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Common errors<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>What you see<\/th><th>Cause<\/th><th>What to do<\/th><\/tr><\/thead><tbody><tr><td>The assistant asks to sign in again, <code>401<\/code><\/td><td>access was revoked, the 180 days passed, or the MCP integration is disabled<\/td><td>connect again: Connect in the assistant, consent<\/td><\/tr><tr><td><code>invalid_grant<\/code> when renewing the token<\/td><td>the refresh token was already used, revoked or expired<\/td><td>connect again<\/td><\/tr><tr><td><code>429<\/code>, <code>rate_limited<\/code><\/td><td>more than 300 requests per minute<\/td><td>wait <code>Retry-After<\/code> seconds; do not start several bulk jobs at once<\/td><\/tr><tr><td>Code <code>5000<\/code>, &#171;pay for the tariff&#187;<\/td><td>the company&#8217;s tariff is not paid, all tools are closed<\/td><td>pay the tariff in AinurPOS<\/td><\/tr><tr><td>No write tools<\/td><td>the &#171;Read&#187; level was granted<\/td><td>revoke access and connect with &#171;Read and write&#187;<\/td><\/tr><tr><td>&#171;Connection unavailable&#187; on the consent page<\/td><td>OAuth is not enabled<\/td><td>use a key or contact support<\/td><\/tr><tr><td>Validation error listing fields<\/td><td>a value does not fit the field rules<\/td><td>the assistant fixes it from the hint; if not, clarify the value<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Other agents<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">OAuth clients whose return address is <code>https:\/\/\u2026<\/code> or on <code>localhost<\/code> connect with the same address <code>https:\/\/mcp.ainur.app\/<\/code>; registration is automatic.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Claude Code:<\/strong> <code>claude mcp add --transport http ainurpos https:\/\/mcp.ainur.app\/<\/code>, then <code>\/mcp<\/code> in the session and sign in.<\/li><li><strong>Codex:<\/strong> <code>codex mcp add ainurpos --url https:\/\/mcp.ainur.app\/<\/code>, then <code>codex mcp login ainurpos<\/code>. Codex uses <code>localhost<\/code>, so the consent page shows it without a &#171;verified application&#187; mark: check the return address.<\/li><li><strong>Cursor and other clients without OAuth:<\/strong> connect with a key (section below), header <code>Authorization: Bearer &lt;key&gt;<\/code>.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Security and data<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The assistant sees only the chosen company&#8217;s data and only within the chosen level. What AinurPOS stores and for how long is described in the privacy policy (section &#171;Connecting AinurPOS to AI assistants&#187;). AinurPOS does not store the content of your conversations with the assistant.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connect AinurPOS to Claude or ChatGPT to ask questions about your own business data in plain language: &#171;what sold best last week&#187;, &#171;which customers owe us money&#187;, &#171;what is left in stock&#187;. If you grant write access, the assistant can also enter data: add a product, register a purchase, record&#8230;<\/p>\n","protected":false},"author":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[121],"ht-kb-tag":[],"class_list":["post-3547","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-integrations"],"_links":{"self":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb\/3547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"replies":[{"embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/comments?post=3547"}],"version-history":[{"count":1,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb\/3547\/revisions"}],"predecessor-version":[{"id":3549,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb\/3547\/revisions\/3549"}],"wp:attachment":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/media?parent=3547"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb-category?post=3547"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=3547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}