Spree Commerce developer docs for AI agents
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
Route optimisation, orders, booking and fleet management for a SmartRoutes depot.
使っているAIアプリを選んで、設定をコピーしてください。
チェック 4/4 合格 · 質問内容は提供元のサーバー(mcp.smartroutes.io)を通ります · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 2 分
キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
CustomizeConnectors
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Smartrouteshttps://mcp.smartroutes.io/mcpClaude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
+ConnectorsSmartroutes
Smartroutes を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Smartroutes を使っていると言うか、回答に Smartroutes のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT との接続はプランしだい
フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ
Plugins+Add custom MCP server
名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します
Smartrouteshttps://mcp.smartroutes.io/mcp新しいチャットを開き、入力前にプラグインの一覧から Smartroutes を選びます
Smartroutes を使って、私に何ができるか教えて、1 つやってみせて✓ ChatGPT が Smartroutes を使っていると言うか、回答に Smartroutes のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code につなげます · 約 2 分
キー不要、インストール不要
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --transport http --scope user smartroutes https://mcp.smartroutes.io/mcpSmartroutes が一覧にあり、接続済みと表示されれば OK です
Smartroutes を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Smartroutes を使っていると言うか、回答に Smartroutes のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 2 分
キー不要、インストール不要
Smartroutes を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Smartroutes を使っていると言うか、回答に Smartroutes のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 2 分
キー不要、インストール不要
Smartroutes を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Smartroutes を使っていると言うか、回答に Smartroutes のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://mcp.smartroutes.io/mcpJSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --transport http --scope user smartroutes https://mcp.smartroutes.io/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"smartroutes": {
"url": "https://mcp.smartroutes.io/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"smartroutes": {
"type": "http",
"url": "https://mcp.smartroutes.io/mcp"
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
このサーバーは、ツール一覧を表示する前にサインインを求めます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月14日にチェック
レジストリ名はドメイン smartroutes.io で確認済みです(レジストリがドメインの所有を確認しています)
コードの最終更新:3 か月前
対象外:smartroutes.io の所有者が自ら運営するクラウドのサーバーで、リポジトリのコードを実行しません
521ミリ秒で応答(HTTP 401)
OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック4項目のうち4項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は3 か月前、最新バージョン(1.0.0)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
同じカテゴリには:Spree Commerce developer docs for AI agents, Stripe MCP, Sessy — Amazon SES observability
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
Read-only Amazon SES observability: search events, inspect bounces, pull delivery stats.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Expose your SmartRoutes route-optimisation and dispatch tools to AI assistants like Claude Desktop, Claude Code, Cursor, Windsurf, and any other Model Context Protocol client — working against your live data.
The MCP server connects an AI tool to your live SmartRoutes account. Ask your AI Assistant which orders are still unscheduled, review a route plan, or kick off an optimisation — all in chat, against your real data.
It exposes the same operations as the SmartRoutes REST API, shaped as clean tools an agent can call directly. Everything is scoped to a single account by your API key.
| Tool | Type | Description |
|---|---|---|
list_orders | Read | Orders for the depot (filter by status, customer, order number, or last-updated time; paginated) |
get_order | Read | Full detail for a single order |
add_order | Write | Create a new order (pickup, delivery, or shipment) |
check_booking_availability | Read | Whether a time window + address can be served |
optimise_plan_for_date | Write | Trigger route optimisation for a date |
get_optimisation_status | Read | Poll an optimisation job until it finishes |
get_plan | Read | Plan-level totals and route summary, by plan id |
get_route | Read | Per-stop detail for a single route |
list_vehicles | Read | Fleet vehicles with shifts, capacities, and skills |
get_vehicle | Read | Full detail for a single vehicle |
list_customers | Read | Customers for the depot |
Every tool is annotated so your AI client can tell reads from writes. The nine read tools are marked read-only; add_order and optimise_plan_for_date are marked as writes, and optimise_plan_for_date is additionally marked destructive because auto-dispatch publishes the plan to drivers and notifies customers. Clients that gate destructive calls will ask you to confirm before running it.
Those annotations are hints your client chooses to honour. To make writes impossible, add one header:
x-access-scope: read-only
The server then exposes only the nine read tools. add_order and optimise_plan_for_date are absent from the tool list entirely and cannot be called, so there is nothing for an assistant to invoke by accident — useful while testing, or for people who should only ever look things up.
Omit the header for the full tool set. Any other value is rejected with a 400, rather than being ignored, so a typo can never quietly restore write access.
{
"mcpServers": { "smartroutes-readonly": { "type": "http", "url": "https://mcp.smartroutes.io/mcp", "headers": { "x-access-key": " ", "x-access-scope": "read-only" } } } }
Register both entries side by side and pick per conversation. Any client that lets you set request headers supports this.
The MCP server uses your existing SmartRoutes API key — the same one you already use for the REST API. There is no separate MCP credential, no sign-in flow, and no token that expires or needs refreshing.
To generate an API Key, login to your SmartRoutes account and go to Settings > Integrations > SmartRoutes Open API and click on the Generate API Key button.
Treat the key as a secret; it grants access to your account's data.
Two headers are accepted and they are interchangeable — the value is the same API key either way:
| Header | When to use it |
|---|---|
Authorization: Bearer | Works everywhere. Use this on hosted platforms whose only credential field is Authorization — Mistral Studio and most connector directories. |
x-access-key: | Equally valid and unchanged. Use it wherever you can name the header yourself: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, your own scripts. |
A few things worth knowing:
Bearer, bearer and BEARER all work. The key itself is case-sensitive, so copy it exactly.Ready-to-copy config files for every client live in
examples/— drop in your key and go.
This repo includes a pre-configured .mcp.json. Just replace :
{
"mcpServers": { "smartroutes": { "type": "http", "url": "https://mcp.smartroutes.io/mcp", "headers": { "x-access-key": " " } } } }
Claude Code auto-discovers this file when you open the project.
Add a Custom Connector for SmartRoutes by going to: Settings → Connectors → Add custom connector
Here you can add the following details:
Add your authentication header under Advanced settings / Request headers in that same dialog:
Alternatively, you can add the following to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": { "smartroutes": { "url": "https://mcp.smartroutes.io/mcp", "headers": { "x-access-key": " " } } } }
Register SmartRoutes as a Connector:
https://mcp.smartroutes.io/mcpAuthorizationBearer Mistral's Connectors Debugger lets you validate a server before registering it, and it asks for the credential as an Authorization header — which is exactly what the Bearer form above is for. The Debugger is in public preview, so field labels may move; the URL and the header value are what matter.
In Cursor settings, add an MCP server:
https://mcp.smartroutes.io/mcpx-access-key: Add to your Windsurf MCP config (mcp_config.json):
{
"mcpServers": { "smartroutes": { "serverUrl": "https://mcp.smartroutes.io/mcp", "headers": { "x-access-key": " " } } } }
The server uses Streamable HTTP transport. Either header works:
POST https://mcp.smartroutes.io/mcp
Authorization: Bearer
POST https://mcp.smartroutes.io/mcp
x-access-key:
Any MCP client that speaks Streamable HTTP can connect. Legacy SSE clients are handled automatically.
Against a locally-running server the endpoint is (use whatever port your local app listens on):
http://localhost:3000/mcp-api
Note the path is /mcp-api locally — the shorter /mcp on mcp.smartroutes.io is a public alias for the same endpoint. Both headers work locally exactly as they do in production.
Once connected, you can ask your assistant things like:
Your MCP key is your SmartRoutes API key.
| Action | Description |
|---|---|
| Use | The same key as the REST API, sent as either Authorization: Bearer or x-access-key; scoped to one depot. |
| Disable | Disabling a key in your SmartRoutes account immediately blocks both MCP and REST access. |
401 UNAUTHORIZEDThe server didn't get a usable key. The description in the response body tells you which case you hit:
| Description | What to do |
|---|---|
No API key provided… | Neither header reached the server. On hosted platforms, check the header was actually saved onto the connector rather than just typed into the form. |
Unsupported Authorization scheme… | You sent Basic, Digest or something else. Only Bearer is accepted. |
Authorization header has no credential after the scheme | The value is Bearer with nothing after it. |
Authorization header must carry exactly one credential | Two credentials ended up in one header value. |
Conflicting credentials… | Both headers were sent with different values. Remove one. |
Invalid API Key provided | The key arrived but doesn't match an account. Re-copy it from Settings > Integrations — a truncated paste is the usual cause. |
Attempting to use disabled API key | The key was disabled in your SmartRoutes account. Generate a new one. |
API Key not authorized for expired trial account | The account's trial has ended. |
Every 401 also carries a WWW-Authenticate: Bearer response header. That is just the standard way of saying "a Bearer token is expected here" — it does not mean the server uses OAuth. There is no sign-in flow, no authorisation server to discover, and no /.well-known/ metadata to fetch. The static API key is the whole mechanism. If your client tries to start an OAuth flow after seeing that header, configure it with a static header credential instead.
Errors use the same envelope as the REST API, not a JSON-RPC error object — authentication is checked before the JSON-RPC layer is reached:
{
"name": "UNAUTHORIZED", "statusCode": 401, "description": "…", "details": {} }
Rate limits are the exception you're most likely to see mid-conversation: those come back as an MCP tool result with name: "FORBIDDEN" and details.retry_after_seconds, so the assistant can back off and retry rather than dropping the connection.
Authorization: Bearer or the x-access-key header. Basic, Digest and other schemes are rejected.add_order, optimise_plan_for_date) instruct the assistant to explain and confirm before running — especially auto-dispatch.##