Quickstart - AIOD Discount & Gift
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Connect your AI assistant to AIOD so it can work with the discounts on your store.
Navigate to header: What you need What you need
- A Shopify store with AIOD Discount & Gift installed.
- A Shopify login for that store with access to the AIOD app. You approve the connection inside your Shopify admin, so you need to be able to sign in there.
- An AI client that supports remote MCP servers — Claude, ChatGPT, Cursor, VS Code, and most others do.
You will need this once, in step 1:
https://aiod-automatic-discount.com/mcp
One connection covers one store. If you run several stores, connect each one separately.
Navigate to header: Step 1 — Add the server to your AI client Step 1 — Add the server to your AI client
In the AIOD app, the AI MCP page in the app navigation has per-client instructions, a Copy button for the server address, and ready-to-copy Claude Code and Codex commands. See AI MCP. The app home page also has a Connect MCP button that opens a dialog with per-client instructions. See App home.Pick your client.
Claude
ChatGPT
Claude Code
Codex
Cursor
VS Code
Something else
AIOD is in Claude’s connector directory, so there is nothing to paste.Open the AIOD Discounts & Free Gift listing and click Connect.Full walkthrough: AIOD connector for Claude.
AIOD has a ChatGPT plugin, so there is nothing to paste.Open the AIOD plugin in ChatGPT and connect it. The Add to ChatGPT button in the app’s Connect MCP dialog opens the same page.To add the server by hand instead, ChatGPT needs developer mode switched on first, and it’s available on paid plans only.
- Open Settings → Security and login and turn on Developer mode. On a Business or Enterprise workspace, an admin enables it under Workspace Settings → Permissions & Roles.
- Use the + button to create a developer-mode app for a remote MCP server.
- Give it a name, and paste the server URL — including the
/mcpat the end.
You can then toggle individual tools on and off from the app’s settings page.
claude mcp add --transport http aiod https://aiod-automatic-discount.com/mcp
Then run /mcp and choose Authenticate for the aiod server.The AI MCP page in the app shows the same command with the server named shopify-discounts, and a Copy command button. Either name works.
codex mcp add aiod --url https://aiod-automatic-discount.com/mcp
If Codex asks you to sign in separately, run codex mcp login aiod.The AI MCP page in the app shows the same command with the server named shopify-discounts, and a Copy command button.
Create or edit ~/.cursor/mcp.json for all projects, or .cursor/mcp.json for just this one:
{
"mcpServers": {
"aiod": {
"url": "https://aiod-automatic-discount.com/mcp"
}
}
}
Open Settings → MCP. Cursor will prompt you to sign in.
Create .vscode/mcp.json in your project:
{
"servers": {
"aiod": {
"type": "http",
"url": "https://aiod-automatic-discount.com/mcp"
}
}
}
Start the server from the editor, sign in when prompted, then use AIOD from agent mode.
Any client that supports remote MCP servers with OAuth will work. Give it the server URL and let it discover the rest — it reads /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server automatically.You should not need to configure a client ID, a secret, or any endpoint by hand.
Navigate to header: Step 2 — Sign in Step 2 — Sign in
Your client opens a browser tab. Three quick screens:
1
Continue to Shopify
Click Continue to Shopify. You don’t need to type your store: Shopify opens the store you are signed in to in this browser.To pick the store yourself, click Connect a specific store instead. In Store address, enter your-store.myshopify.com or just the store handle, or paste the address of any page in your Shopify admin, such as https://admin.shopify.com/store/your-store/apps. Then click Continue to Shopify.Your store’s name or your storefront domain (for example mybrand.com) is not accepted. Find your myshopify.com address in Shopify admin under Settings → Domains.This only decides which Shopify admin you get sent to. It grants nothing by itself — anyone could type any store here and get no further.
2
Approve in your Shopify admin
Shopify signs you in and shows the AIOD approval screen. **This is the step that actually connects your store.**Before you click Connect, read the screen. It names the store being connected, the app that is asking, and the web address your access will be sent to. The name is chosen by whoever built the client and nobody verifies it. The address is checked against a registered list and cannot be faked.If it names the wrong store, click Connect a different store instead, enter the right store’s address, and click Continue to Shopify.
If you did not just start this from your AI client, or you do not recognise the address, close the page. Nothing is granted until you click Connect.
3
Back to your client
Approving sends you straight back, connected. If your browser blocks the redirect, the screen gives you a link to click instead.
Navigate to header: Step 3 — Check it works Step 3 — Check it works
Ask your assistant:
You
List the discounts on my store.
You should get back your actual AIOD discounts, each with its name, status, and type. If you do, you are done.Try a couple more:
You
You
How did my best discount perform last month?
Draft 15% off the Summer collection for July, but don't create anything yet.
Navigate to header: What to do next What to do next
Examples \ \ Real requests and exactly what the assistant does with them.
Navigate to header: If something goes wrong If something goes wrong
The sign-in page says my store address was not recognized
This only happens when you typed a store under Connect a specific store or Connect a different store instead. The Cannot connect page says what your entry looks like — your store’s name, or your storefront’s domain — or that it does not look like a Shopify store address. Click Go back and enter your store’s myshopify.com address, for example your-store.myshopify.com, or paste the address of any page in your Shopify admin. You can find the myshopify.com address in Shopify admin under Settings → Domains.
The assistant says it isn't authorized, or asks me to sign in again
Your sign-in expired or was revoked. Reconnect from your client — the same three screens, and it will be quick because you are already signed into Shopify.
The assistant can't see any discounts, but I have some
Two likely causes. Either you connected a different store than you expected — check which store the approval screen named, and reconnect using Connect a specific store — or your discounts were created directly in Shopify rather than in AIOD. The connector only sees AIOD’s own automatic discounts.
Tools return an error about the app session
This usually means AIOD was uninstalled from the store, or its Shopify session expired. Reinstall AIOD, then reconnect.
A request times out
A single tool call has to finish within 60 seconds. Try again, and if you asked for something broad (“check every discount”), narrow it down.
My client complains about GET requests or batching
Both are expected. The server accepts POST only and never opens an event stream, so GET returns 405. It also rejects JSON-RPC batched requests, which were removed from the spec. Any current MCP client handles this correctly.
Navigate to header: Disconnecting Disconnecting
Remove the connector in your AI client and it stops being used.To revoke access on the AIOD side too, email aiod-app@dtcdevelopers.org and your store’s access is cut off immediately.Uninstalling AIOD from Shopify also ends all access automatically.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AIOD Discount \u0026 Gift","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/aiod-4861190f/7ygREqSi9NhlJC74/logo/light.png?fit=max\\u0026auto=format\\u0026n=7ygREqSi9NhlJC74\\u0026q=85\\u0026s=257b8a55dfc0fdffeb7ba5a294897fb1","dark":"https://mintcdn.com/aiod-4861190f/7ygREqSi9NhlJC74/logo/dark.png?fit=max\\u0026auto=format\\u0026n=7ygREqSi9NhlJC74\\u0026q=85\\u0026s=9f91b625dd278b165f7f61bf2577ef35"},"favicon":"https://mintcdn.com/aiod-4861190f/eA5KMz3PodAp0hHR/favicon.svg?fit=max\\u0026auto=format\\u0026n=eA5KMz3PodAp0hHR\\u0026q=85\\u0026s=6e0d2d6db94e66d00ea487104b8ecc60","navbar":{"links":\[{"href":"mailto:support@247apps.ai","label":"Support"}\],"primary":{"type":"button","label":"App Store Link","href":"https://apps.shopify.com/pro-automatic-discounts"}},"footer":{},"contextual":{"options":\["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"\],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":\[\]},"pages":\[\]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aiod-4861190f","hasAudioNarration":false,"actualSubdomain":"aiod-4861190f","customDomains":\["aiodapp.com"\],"gitSource":{"type":"github","owner":"aiod-app","repo":"aiod-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI\_CHAT":{"status":"DISABLED"}},"buildId":"6b0d816eb7054e2b0bc31c99","clientVersion":"0.0.4347","searchFilterCounts":\[{"language":"default","tag":"AI agents \u0026 MCP","count":20},{"language":"default","tag":"Discount templates","count":13},{"language":"default","tag":"Help \u0026 troubleshooting","count":11},{"language":"default","tag":"AIOD","count":9},{"language":"default","tag":"Tool reference","count":9},{"language":"default","tag":"What you can build","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]} {"page":{"pagePath":"mcp-server/quickstart","slug":"/mcp-server/quickstart","pageMetadata":{"title":"Quickstart","sidebarTitle":"Quickstart","description":"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.","href":"/mcp-server/quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Heading,Info,Step,Steps,Tab,Tabs,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Connect your AI assistant to AIOD so it can work with the discounts on your store.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-need`,children:`What you need`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A Shopify store with `,_jsx(_components.strong,{children:`AIOD Discount \u0026 Gift`}),` installed.`]}),`\n`,_jsx(_components.li,{children:`A Shopify login for that store with access to the AIOD app. You approve the connection inside your Shopify admin, so you need to be able to sign in there.`}),`\n`,_jsx(_components.li,{children:`An AI client that supports remote MCP servers — Claude, ChatGPT, Cursor, VS Code, and most others do.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`You will need this once, in step 1:`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:_jsx(_components.code,{children:`https://aiod-automatic-discount.com/mcp\`})})}),\`\\n\`,\_jsx(_components.p,{children:`One connection covers one store. If you run several stores, connect each one separately.`}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-—-add-the-server-to-your-ai-client`,children:`Step 1 — Add the server to your AI client`}),`\n`,_jsxs(_components.p,{children:[`In the AIOD app, the `,_jsx(_components.strong,{children:`AI MCP`}),` page in the app navigation has per-client instructions, a `,_jsx(_components.strong,{children:`Copy`}),` button for the server address, and ready-to-copy Claude Code and Codex commands. See `,_jsx(_components.a,{href:`/app/ai-mcp`,children:`AI MCP`}),`. The app home page also has a `,_jsx(_components.strong,{children:`Connect MCP`}),` button that opens a dialog with per-client instructions. See `,_jsx(_components.a,{href:`/app/home#connect-mcp`,children:`App home`}),`.`]}),`\n`,_jsx(_components.p,{children:`Pick your client.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude`,id:`claude`,children:[_jsx(_components.p,{children:`AIOD is in Claude’s connector directory, so there is nothing to paste.`}),_jsxs(_components.p,{children:[`Open the `,_jsxs(_components.a,{href:`https://claude.ai/directory/aiod-discounts-free-gift\`,children:\[\_jsx(_components.strong,{children:`AIOD Discounts \u0026 Free Gift`}),` listing`]}),` and click `,_jsx(_components.strong,{children:`Connect`}),`.`]}),_jsxs(_components.p,{children:[`Full walkthrough: `,_jsx(_components.a,{href:`/mcp-server/claude`,children:`AIOD connector for Claude`}),`.`]})]}),_jsxs(Tab,{title:`ChatGPT`,id:`chatgpt`,children:[_jsx(_components.p,{children:`AIOD has a ChatGPT plugin, so there is nothing to paste.`}),_jsxs(_components.p,{children:[`Open the `,_jsx(_components.a,{href:`https://chatgpt.com/plugins/plugin\_asdk\_app\_6ae1b882ade0819184519d151435a187\`,children:\`AIOD plugin in ChatGPT`}),` and connect it. The `,_jsx(_components.strong,{children:`Add to ChatGPT`}),` button in the app’s `,_jsx(_components.strong,{children:`Connect MCP`}),` dialog opens the same page.`]}),_jsx(_components.p,{children:`To add the server by hand instead, ChatGPT needs developer mode switched on first, and it’s available on paid plans only.`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Settings`}),` → `,_jsx(_components.strong,{children:`Security and login`}),` and turn on `,_jsx(_components.strong,{children:`Developer mode`}),`. On a Business or Enterprise workspace, an admin enables it under `,_jsx(_components.strong,{children:`Workspace Settings`}),` → `,_jsx(_components.strong,{children:`Permissions \u0026 Roles`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.strong,{children:`+`}),` button to create a developer-mode app for a remote MCP server.`]}),`\n`,_jsxs(_components.li,{children:[`Give it a name, and paste the server URL — including the `,_jsx(_components.code,{children:`/mcp`}),` at the end.`]}),`\n`]}),_jsx(_components.p,{children:`You can then toggle individual tools on and off from the app’s settings page.`})]}),_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aiod`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://aiod-automatic-discount.com/mcp\`})\]}),\`\\n\`\]})})}),\_jsxs(_components.p,{children:[`Then run `,_jsx(_components.code,{children:`/mcp`}),` and choose `,_jsx(_components.strong,{children:`Authenticate`}),` for the `,_jsx(_components.code,{children:`aiod`}),` server.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`AI MCP`}),` page in the app shows the same command with the server named `,_jsx(_components.code,{children:`shopify-discounts`}),`, and a `,_jsx(_components.strong,{children:`Copy command`}),` button. Either name works.`]})]}),_jsxs(Tab,{title:`Codex`,id:`codex`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`codex`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aiod`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://aiod-automatic-discount.com/mcp\`})\]}),\`\\n\`\]})})}),\_jsxs(_components.p,{children:[`If Codex asks you to sign in separately, run `,_jsx(_components.code,{children:`codex mcp login aiod`}),`.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`AI MCP`}),` page in the app shows the same command with the server named `,_jsx(_components.code,{children:`shopify-discounts`}),`, and a `,_jsx(_components.strong,{children:`Copy command`}),` button.`]})]}),_jsxs(Tab,{title:`Cursor`,id:`cursor`,children:[_jsxs(_components.p,{children:[`Create or edit `,_jsx(_components.code,{children:`~/.cursor/mcp.json`}),` for all projects, or `,_jsx(_components.code,{children:`.cursor/mcp.json`}),` for just this one:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aiod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://aiod-automatic-discount.com/mcp\\"\`})\]}),\`\\n\`,\_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Settings`}),` → `,_jsx(_components.strong,{children:`MCP`}),`. Cursor will prompt you to sign in.`]})]}),_jsxs(Tab,{title:`VS Code`,id:`vs-code`,children:[_jsxs(_components.p,{children:[`Create `,_jsx(_components.code,{children:`.vscode/mcp.json`}),` in your project:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"servers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aiod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://aiod-automatic-discount.com/mcp\\"\`})\]}),\`\\n\`,\_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Start the server from the editor, sign in when prompted, then use AIOD from agent mode.`})]}),_jsxs(Tab,{title:`Something else`,id:`something-else`,children:[_jsxs(_components.p,{children:[`Any client that supports remote MCP servers with OAuth will work. Give it the server URL and let it discover the rest — it reads `,_jsx(_components.code,{children:`/.well-known/oauth-protected-resource`}),` and `,_jsx(_components.code,{children:`/.well-known/oauth-authorization-server`}),` automatically.`]}),_jsx(_components.p,{children:`You should not need to configure a client ID, a secret, or any endpoint by hand.`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-—-sign-in`,children:`Step 2 — Sign in`}),`\n`,_jsx(_components.p,{children:`Your client opens a browser tab. Three quick screens:`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Continue to Shopify`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Continue to Shopify`}),`. You don’t need to type your store: Shopify opens the store you are signed in to in this browser.`]}),_jsxs(_components.p,{children:[`To pick the store yourself, click `,_jsx(_components.strong,{children:`Connect a specific store`}),` instead. In `,_jsx(_components.strong,{children:`Store address`}),`, enter `,_jsx(_components.code,{children:`your-store.myshopify.com`}),` or just the store handle, or paste the address of any page in your Shopify admin, such as `,_jsx(_components.code,{children:`https://admin.shopify.com/store/your-store/apps\`}),\`. Then click `,_jsx(_components.strong,{children:`Continue to Shopify`}),`.`]}),_jsxs(_components.p,{children:[`Your store’s name or your storefront domain (for example `,_jsx(_components.code,{children:`mybrand.com`}),`) is not accepted. Find your myshopify.com address in Shopify admin under `,_jsx(_components.strong,{children:`Settings → Domains`}),`.`]}),_jsx(_components.p,{children:`This only decides which Shopify admin you get sent to. It grants nothing by itself — anyone could type any store here and get no further.`})]}),_jsxs(Step,{title:`Approve in your Shopify admin`,children:[_jsxs(_components.p,{children:[`Shopify signs you in and shows the AIOD approval screen. `,_jsx(_components.strong,{children:`This is the step that actually connects your store.`})]}),_jsx(_components.p,{children:`Before you click Connect, read the screen. It names the store being connected, the app that is asking, and the web address your access will be sent to. The name is chosen by whoever built the client and nobody verifies it. The address is checked against a registered list and cannot be faked.`}),_jsxs(_components.p,{children:[`If it names the wrong store, click `,_jsx(_components.strong,{children:`Connect a different store instead`}),`, enter the right store’s address, and click `,_jsx(_components.strong,{children:`Continue to Shopify`}),`.`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`If you did not just start this from your AI client, or you do not recognise the address, close the page. Nothing is granted until you click Connect.`})})]}),_jsx(Step,{title:`Back to your client`,children:_jsx(_components.p,{children:`Approving sends you straight back, connected. If your browser blocks the redirect, the screen gives you a link to click instead.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-—-check-it-works`,children:`Step 3 — Check it works`}),`\n`,_jsx(_components.p,{children:`Ask your assistant:`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`You`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`List the discounts on my store.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),`\n`,_jsx(_components.p,{children:`You should get back your actual AIOD discounts, each with its name, status, and type. If you do, you are done.`}),`\n`,_jsx(_components.p,{children:`Try a couple more:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`You`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`How did my best discount perform last month?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`You`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Draft 15% off the Summer collection for July, but don't create anything yet.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-to-do-next`,children:`What to do next`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`What you can build`,icon:`sparkles`,href:`/docs/mcp-server/use-cases`,children:_jsx(_components.p,{children:`Free gifts, BOGO, volume breaks, conditional offers — and how to ask for each.`})}),_jsx(Card,{title:`Examples`,icon:`terminal`,href:`/docs/mcp-server/examples`,children:_jsx(_components.p,{children:`Real requests and exactly what the assistant does with them.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`if-something-goes-wrong`,children:`If something goes wrong`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`The sign-in page says my store address was not recognized`,id:`the-sign-in-page-says-my-store-address-was-not-recognized`,children:_jsxs(_components.p,{children:[`This only happens when you typed a store under `,_jsx(_components.strong,{children:`Connect a specific store`}),` or `,_jsx(_components.strong,{children:`Connect a different store instead`}),`. The `,_jsx(_components.strong,{children:`Cannot connect`}),` page says what your entry looks like — your store’s name, or your storefront’s domain — or that it does not look like a Shopify store address. Click `,_jsx(_components.strong,{children:`Go back`}),` and enter your store’s myshopify.com address, for example `,_jsx(_components.code,{children:`your-store.myshopify.com`}),`, or paste the address of any page in your Shopify admin. You can find the myshopify.com address in Shopify admin under `,_jsx(_components.strong,{children:`Settings → Domains`}),`.`]})}),_jsx(Accordion,{title:`The assistant says it isn't authorized, or asks me to sign in again`,id:`the-assistant-says-it-isnt-authorized-or-asks-me-to-sign-in-again`,children:_jsx(_components.p,{children:`Your sign-in expired or was revoked. Reconnect from your client — the same three screens, and it will be quick because you are already signed into Shopify.`})}),_jsx(Accordion,{title:`The assistant can't see any discounts, but I have some`,id:`the-assistant-cant-see-any-discounts-but-i-have-some`,children:_jsxs(_components.p,{children:[`Two likely causes. Either you connected a different store than you expected — check which store the approval screen named, and reconnect using `,_jsx(_components.strong,{children:`Connect a specific store`}),` — or your discounts were created directly in Shopify rather than in AIOD. The connector only sees AIOD’s own automatic discounts.`]})}),_jsx(Accordion,{title:`Tools return an error about the app session`,id:`tools-return-an-error-about-the-app-session`,children:_jsx(_components.p,{children:`This usually means AIOD was uninstalled from the store, or its Shopify session expired. Reinstall AIOD, then reconnect.`})}),_jsx(Accordion,{title:`A request times out`,id:`a-request-times-out`,children:_jsx(_components.p,{children:`A single tool call has to finish within 60 seconds. Try again, and if you asked for something broad (“check every discount”), narrow it down.`})}),_jsx(Accordion,{title:`My client complains about GET requests or batching`,id:`my-client-complains-about-get-requests-or-batching`,children:_jsxs(_components.p,{children:[`Both are expected. The server accepts `,_jsx(_components.code,{children:`POST`}),` only and never opens an event stream, so `,_jsx(_components.code,{children:`GET`}),` returns `,_jsx(_components.code,{children:`405`}),`. It also rejects JSON-RPC batched requests, which were removed from the spec. Any current MCP client handles this correctly.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`disconnecting`,children:`Disconnecting`}),`\n`,_jsx(_components.p,{children:`Remove the connector in your AI client and it stops being used.`}),`\n`,_jsxs(_components.p,{children:[`To revoke access on the AIOD side too, email `,_jsx(_components.a,{href:`mailto:aiod-app@dtcdevelopers.org`,children:`aiod-app@dtcdevelopers.org`}),` and your store’s access is cut off immediately.`]}),`\n`,_jsx(_components.p,{children:`Uninstalling AIOD from Shopify also ends all access automatically.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quickstart","sidebarTitle":"Quickstart","description":"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.","href":"/mcp-server/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you need","slug":"what-you-need","depth":2,"children":[]},{"title":"Step 1 — Add the server to your AI client","slug":"step-1-—-add-the-server-to-your-ai-client","depth":2,"children":[]},{"title":"Step 2 — Sign in","slug":"step-2-—-sign-in","depth":2,"children":[]},{"title":"Step 3 — Check it works","slug":"step-3-—-check-it-works","depth":2,"children":[]},{"title":"What to do next","slug":"what-to-do-next","depth":2,"children":[]},{"title":"If something goes wrong","slug":"if-something-goes-wrong","depth":2,"children":[]},{"title":"Disconnecting","slug":"disconnecting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"aiod-4861190f","siteName":"AIOD Discount \u0026 Gift","title":"Quickstart - AIOD Discount \u0026 Gift","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T07:56:26.462Z","originalFileLocation":"mcp-server/quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AIOD Discount \u0026amp; Gift\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quickstart - AIOD Discount \u0026amp; Gift\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AIOD Discount \u0026amp; Gift\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://aiodapp.com/docs/mcp-server/quickstart\\">\\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aiod-4861190f.mintlify.site/docs/\_mintlify/api/og/v2?division=AI+agents+%26+MCP\\u0026amp;title=Quickstart\\u0026amp;description=Connect+AIOD+to+Claude%2C+ChatGPT%2C+Claude+Code%2C+Codex%2C+Cursor%2C+or+VS+Code+in+about+five+minutes.\\u0026amp;theme=dcf1d78b2e87cc4c7c7b1bc7\\u0026amp;signature=bd1f110da5d34515f68a6eca6f872778a3aa434adc8140ca85f18ee4d69046b5\\">\\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quickstart - AIOD Discount \u0026amp; Gift\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aiod-4861190f.mintlify.site/docs/\_mintlify/api/og/v2?division=AI+agents+%26+MCP\\u0026amp;title=Quickstart\\u0026amp;description=Connect+AIOD+to+Claude%2C+ChatGPT%2C+Claude+Code%2C+Codex%2C+Cursor%2C+or+VS+Code+in+about+five+minutes.\\u0026amp;theme=dcf1d78b2e87cc4c7c7b1bc7\\u0026amp;signature=bd1f110da5d34515f68a6eca6f872778a3aa434adc8140ca85f18ee4d69046b5\\">\\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/aiod-4861190f/8YQljBZB9f2RG2oF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AIOD Discount \u0026amp; Gift\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://aiodapp.com/docs/mcp-server/quickstart\\">\\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/mcp-server/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\\",\\"@graph\\":\[{\\"@type\\":\\"Organization\\",\\"@id\\":\\"https://aiodapp.com/#organization\\",\\"name\\":\\"AIOD Discount \u0026 Gift\",\"url\":\"https://aiodapp.com\\",\\"logo\\":{\\"@type\\":\\"ImageObject\\",\\"url\\":\\"https://mintcdn.com/aiod-4861190f/7ygREqSi9NhlJC74/logo/light.png?fit=max\\u0026auto=format\\u0026n=7ygREqSi9NhlJC74\\u0026q=85\\u0026s=257b8a55dfc0fdffeb7ba5a294897fb1\\"}},{\\"@type\\":\\"WebSite\\",\\"@id\\":\\"https://aiodapp.com/docs#website\\",\\"name\\":\\"AIOD Discount \u0026 Gift\",\"url\":\"https://aiodapp.com/docs\\",\\"publisher\\":{\\"@id\\":\\"https://aiodapp.com/#organization\\"}},{\\"@type\\":\\"WebPage\\",\\"@id\\":\\"https://aiodapp.com/docs/mcp-server/quickstart#webpage\\",\\"url\\":\\"https://aiodapp.com/docs/mcp-server/quickstart\\",\\"name\\":\\"Quickstart\\",\\"description\\":\\"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.\",\"dateModified\":\"2026-11-30T07:56:26.462Z\",\"isPartOf\":{\"@id\":\"https://aiodapp.com/docs#website\\"},\\"breadcrumb\\":{\\"@id\\":\\"https://aiodapp.com/docs/mcp-server/quickstart#breadcrumb\\"}},{\\"@type\\":\\"BreadcrumbList\\",\\"@id\\":\\"https://aiodapp.com/docs/mcp-server/quickstart#breadcrumb\\",\\"itemListElement\\":\[{\\"@type\\":\\"ListItem\\",\\"position\\":1,\\"name\\":\\"AI agents \u0026 MCP\",\"item\":\"https://aiodapp.com/docs/mcp-server\\"},{\\"@type\\":\\"ListItem\\",\\"position\\":2,\\"name\\":\\"Quickstart\\",\\"item\\":\\"https://aiodapp.com/docs/mcp-server/quickstart\\"}\]},{\\"@type\\":\[\\"Article\\",\\"TechArticle\\"\],\\"@id\\":\\"https://aiodapp.com/docs/mcp-server/quickstart#article\\",\\"headline\\":\\"Quickstart\\",\\"name\\":\\"Quickstart\\",\\"description\\":\\"Connect AIOD to Claude, ChatGPT, Claude Code, Codex, Cursor, or VS Code in about five minutes.\",\"url\":\"https://aiodapp.com/docs/mcp-server/quickstart\\",\\"mainEntityOfPage\\":{\\"@id\\":\\"https://aiodapp.com/docs/mcp-server/quickstart#webpage\\"},\\"dateModified\\":\\"2026-11-30T07:56:26.462Z\\",\\"publisher\\":{\\"@id\\":\\"https://aiodapp.com/#organization\\"},\\"isPartOf\\":{\\"@id\\":\\"https://aiodapp.com/docs#website\\"}}\]}\\u003c/script>\\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\\",\\"@type\\":\\"WebSite\\",\\"name\\":\\"AIOD Discount \u0026 Gift\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AIOD Discount \u0026 Gift\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\\"}}\\u003c/script>","agentPointerHref":"/docs/mcp-server/quickstart.md","siteName":"AIOD Discount \u0026 Gift","nav":{"global":{"anchors":[]},"pages":[{"group":"AIOD","pages":[{"title":"AIOD discount knowledge base","href":"/index"},{"title":"Quickstart for AI agents","href":"/quickstart"},{"title":"App home","href":"/app/home"},{"title":"POS discounts","href":"/app/pos-discounts"},{"title":"Discount Widgets","href":"/app/discount-widgets"},{"title":"Common template settings","href":"/app/common-template-settings"},{"title":"AI MCP","href":"/app/ai-mcp"},{"title":"Analytics","href":"/app/analytics"},{"title":"Settings","href":"/app/settings"}]},{"group":"AI agents \u0026 MCP","pages":[{"title":"AIOD MCP server","description":"Connect AIOD Discount \u0026 Gift to Claude, ChatGPT, Cursor, VS Code, or any AI agent so it can read, build, and report on your Shopify discounts.","href":"/mcp-server"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/mcp-server/quickstart"},{"title":"AIOD connector for Claude","sidebarTitle":"Claude connector","description":"Connect AIOD Discount \u0026 Gift to Claude, and understand exactly what Claude can see and do with your store.","href":"/mcp-server/claude"},{"group":"What you can build","pages":[{"title":"What you can build","sidebarTitle":"Overview","href":"/mcp-server/use-cases"},{"title":"Automatic discounts","sidebarTitle":"Automatic discounts","href":"/mcp-server/use-cases/automatic-discounts"},{"title":"Free gifts","sidebarTitle":"Free gifts","href":"/mcp-server/use-cases/free-gifts"},{"title":"Quantity discounts","sidebarTitle":"Quantity discounts","href":"/mcp-server/use-cases/quantity-discounts"},{"title":"Buy X Get Y","sidebarTitle":"Buy X Get Y","href":"/mcp-server/use-cases/buy-x-get-y"},{"title":"Conditional discounts","sidebarTitle":"Conditional discounts","href":"/mcp-server/use-cases/conditional-discounts"}]},{"title":"Examples","sidebarTitle":"Examples","href":"/mcp-server/examples"},{"title":"Agent guide","sidebarTitle":"Agent guide","href":"/mcp-server/agent-guide"},{"group":"Tool reference","pages":[{"title":"Tool reference","sidebarTitle":"Overview","href":"/mcp-server/tools"},{"title":"Find discounts","sidebarTitle":"Find discounts","href":"/mcp-server/tools/shopify-discount-find"},{"title":"Read a discount","sidebarTitle":"Read a discount","href":"/mcp-server/tools/shopify-discount-get"},{"title":"Discount performance","sidebarTitle":"Discount performance","href":"/mcp-server/tools/shopify-discount-performance"},{"title":"Read the discount schema","sidebarTitle":"Discount schema","href":"/mcp-server/tools/shopify-discount-config-schema"},{"title":"Search the docs","sidebarTitle":"Search the docs","href":"/mcp-server/tools/shopify-discount-docs-search"},{"title":"Draft a discount","sidebarTitle":"Draft a discount","href":"/mcp-server/tools/shopify-discount-draft"},{"title":"Create in test mode","sidebarTitle":"Create in test mode","href":"/mcp-server/tools/shopify-discount-publish"},{"title":"Overwrite in test mode","sidebarTitle":"Overwrite in test mode","href":"/mcp-server/tools/shopify-discount-update"}]}]},{"group":"Discount templates","pages":[{"title":"Discount Specific Item","href":"/templates/discount-specific-item"},{"title":"Combined Multi Discounts","href":"/templates/combined-multi-discounts"},{"title":"Free Gift with Purchase","href":"/templates/free-gift-with-purchase"},{"title":"Tiered free gifts","href":"/templates/tiered-free-gifts"},{"title":"Buy X Get Y (Discount)","href":"/templates/buy-x-get-y-discount"},{"title":"Buy X @ Fixed Price (Discount)","href":"/templates/buy-x-fixed-price-discount"},{"title":"Buy X Get Y (Gift)","href":"/templates/buy-x-get-y-gift"},{"title":"Tiered Discount","href":"/templates/tiered-volume-discount"},{"title":"Volume Discount / Bundle","href":"/templates/volume-discount-bundle"},{"title":"Shipping Discount","href":"/templates/shipping-discount"},{"title":"Custom Rule Builder","href":"/templates/custom-rule-builder"},{"title":"Reject Discount Codes","href":"/templates/reject-discount-codes"},{"title":"Upsell","href":"/templates/upsell"}]},{"group":"Help \u0026 troubleshooting","pages":[{"title":"Create a free gift with a minimum spend","href":"/help/create-free-gift-minimum-spend"},{"title":"Automatic discounts vs discount codes","href":"/help/automatic-discounts-vs-discount-codes"},{"title":"Limit an automatic discount to once per customer","href":"/help/limit-automatic-discount-once-per-customer"},{"title":"Enable AIOD in your Shopify theme","href":"/help/enable-aiod-shopify-theme"},{"title":"Discount saved but not applying","href":"/help/discount-saved-not-applying"},{"title":"Fix cart refresh issues with free gifts","href":"/help/fix-cart-refresh-free-gifts"},{"title":"Show discounted prices on product and collection pages","href":"/help/show-discounted-prices-product-collection"},{"title":"Combine product discounts, free gifts, and free shipping","href":"/help/combine-product-gift-shipping-discounts"},{"title":"Choose a free gift adding method","href":"/help/choose-free-gift-adding-method"},{"title":"Add AIOD widgets to product pages, cart pages, and cart drawers","href":"/help/add-widgets-product-cart-drawer"},{"title":"Test an AIOD discount before making it live","href":"/help/test-discount-before-live"}]}]},"basePath":"","title":"Quickstart - AIOD Discount \u0026 Gift","deploymentId":"dpl_BnrwKdxWnqTCMaKmLBoTuzTNCBXD","buildId":"dpl_BnrwKdxWnqTCMaKmLBoTuzTNCBXD","dynamics":[],"chunks":[]}