Tanqory
Work with a Tanqory store's products and theme, depending on the scopes the merchant approves.
托管 MCP 服务器
npx add-mcp 'https://mcp.tanqory.com'可安装到 Claude Code、Codex、Cursor 等客户端
文档
Tanqory's MCP server lets Claude, ChatGPT or any MCP client work with one store, with the merchant's approval.
Tanqory runs a remote Model Context Protocol server. An assistant connected to it can read a store's products and collections, query the Admin API, and design the store's theme, within the access the merchant approves for that one store.
| Server address | https://mcp.tanqory.com/stores/<handle>, one per store (the handle is the first part of the store's free address, <handle>.mytanqory.com) |
| Transport | Streamable HTTP |
| Sign-in | OAuth 2.1 with PKCE and dynamic client registration, as the MCP authorization specification describes |
The earlier address, https://api.tanqory.com/v1/mcp, keeps working until 12 August 2027. Connect new assistants to the address above.
Connect
Add the server address to your assistant as a remote MCP server (often called a custom connector), one connector per store: name it after the store and put the store's handle at the end of the address, https://mcp.tanqory.com/stores/<handle>. In each chat, pick the connector of the store you work on; a second store is a second connector, never a reconnect. The address without a store, https://mcp.tanqory.com, is for one store at a time (changing the store means connecting again). See Work on several stores. The assistant handles the sign-in:
- The assistant calls the server, gets
401, and finds the sign-in details from theWWW-Authenticateheader. - Your browser opens Tanqory. Sign in with your Tanqory account.
- The page Connect (the assistant's name) to Tanqory lists the access the assistant asks for. Choose a store offers the store of the address (with the address without a store, pick the one store it may use).
- Select Allow access. You return to the assistant, which is now connected.
You can end the connection at any time in your Tanqory account under Security, Devices. How long a connection lasts otherwise is in Authentication.
Connecting an assistant and running a tool
AI assistant Merchant's browser Tanqory sign-in Tanqory MCP server The store (Admin API) Calls /v1/mcp with no token 1 401 and where to sign in 2 Reads the metadata and registers itself 3 Opens the sign-in page, with PKCE 4 Signs in, chooses one store, Allow access 5 A code, through the browser 6 POST /v1/oauth/token with the code verifier 7 Access token for that one store 8 initialize, tools/list: only the tools the approved scopes allow 9 tools/call If not: 403 insufficient_scope 10 One Admin API operation on that store,checked against the same scopes 11 The result; a change first answers with a confirmation the merchant approves 12 AI assistant Merchant's browser Tanqory sign-in Tanqory MCP server The store (Admin API) 1 2 3 4 5 6 7 8 9 10 11 12
- AI assistant → Tanqory MCP server Calls /v1/mcp with no token
- Tanqory MCP server → AI assistant 401 and where to sign in
- AI assistant → Tanqory sign-in Reads the metadata and registers itself
- AI assistant → Merchant's browser Opens the sign-in page, with PKCE
- Merchant's browser → Tanqory sign-in Signs in, chooses one store, Allow access
- Tanqory sign-in → AI assistant A code, through the browser
- AI assistant → Tanqory sign-in POST /v1/oauth/token with the code verifier
- Tanqory sign-in → AI assistant Access token for that one store
- AI assistant → Tanqory MCP server initialize, tools/list: only the tools the approved scopes allow
- AI assistant → Tanqory MCP server tools/call If not: 403 insufficient_scope
- Tanqory MCP server → The store (Admin API) One Admin API operation on that store, checked against the same scopes
- Tanqory MCP server → AI assistant The result; a change first answers with a confirmation the merchant approves
Claude
In Claude, add the address as a custom connector. Anthropic describes the steps in Getting started with custom connectors using remote MCP.
ChatGPT
In ChatGPT, add the address as a connector with developer mode. OpenAI describes the steps in Developer mode.
What the assistant can do
The tools depend on the scopes you approve:
| Approved | Tools |
|---|---|
| No scope | theme_guide, theme_reference, theme_init, theme_validate, theme_scaffold: they return Tanqory's theme rules, references and starter files and check files you send, and read nothing of the store |
| No scope of its own | admin_operation_search and admin_query: every query root field they find or read needs its own scope, the one its reference page names, so they reach nothing the approved scopes do not open |
read_products | get_shop, search_products, get_product, list_collections, generate_product_description |
read_themes, write_themes | the theme tools that read and change the store's themes, and get_online_store; see Theme tools |
A tool outside the approved scopes answers 403 with insufficient_scope; admin_query refuses a root field outside them with permission_denied. A merchant whose role cannot make changes gets read scopes only.
For developers of MCP clients
The server follows the MCP authorization specification:
| Step | Address |
|---|---|
| Protected resource metadata (RFC 9728) | https://mcp.tanqory.com/.well-known/oauth-protected-resource |
| Authorization server metadata (RFC 8414) | https://api.tanqory.com/.well-known/oauth-authorization-server |
| Client registration (RFC 7591), public clients only | https://api.tanqory.com/v1/oauth/register |
Authorization, code with S256 PKCE and the resource parameter | https://api.tanqory.com/v1/oauth/authorize |
| Token | https://api.tanqory.com/v1/oauth/token |
Lifetimes, scopes and errors are in Authentication.