Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Smartroutes
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Route optimisation, orders, booking and fleet management for a SmartRoutes depot.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 1 จาก 1 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังไม่ได้วัด★ –
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนคลาวด์
- ช่องทาง (transport): Streamable HTTP
- หมวด: ร้านค้าออนไลน์และรับเงิน
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
- รันบนเครื่องของผู้ทำ สิ่งที่คุณถามจะผ่านเครื่องของเขา
- ทะเบียนไม่ได้ระบุ key ที่ต้องใส่
ต้องเตรียมก่อน
- รันบนคลาวด์ไม่ต้องลงโปรแกรมเพิ่ม ต่อผ่านอินเทอร์เน็ตได้เลย
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
- เปิด Settings → Connectors
- กด Add custom connector
- วางที่อยู่ด้านล่างแล้วกด Add
- ถ้าให้ล็อกอิน ให้ล็อกอินกับผู้ทำ
https://mcp.smartroutes.io/mcpพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http smartroutes https://mcp.smartroutes.io/mcpหรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"smartroutes": {
"url": "https://mcp.smartroutes.io/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"smartroutes": {
"type": "http",
"url": "https://mcp.smartroutes.io/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
- เปิด ChatGPT บนเว็บ → Settings → Connectors (Apps)
- กด Create หรือ Add (บางแพ็กเกจต้องเปิด Developer mode ใน Advanced ก่อน)
- วางที่อยู่ด้านล่าง ตั้งชื่อ แล้วบันทึก
- ถ้าให้ล็อกอิน ให้ล็อกอินกับผู้ทำ
https://mcp.smartroutes.io/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ทำอะไรได้บ้าง
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันโดเมน smartroutes.io แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
- … ยังไม่ตรวจ
ยังมีคนดูแล
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
endpoint ตอบ
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
- … ยังไม่ตรวจ
ล็อกอินแบบ OAuth
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับตัวอื่นในหมวด ร้านค้าออนไลน์และรับเงินi
- ดาวมากกว่า 0% ของอีก 1743 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 16% ของอีก 1743 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1743 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Smartroutes ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 4 เดือนที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Stripe MCP
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
SmartRoutes MCP Server
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.
Overview
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.
Available Tools
| 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.
Read-only mode
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.
Setup
1. Get your API key
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.
2. Choose how to send it
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:
- The scheme word is case-insensitive —
Bearer,bearerandBEARERall work. The key itself is case-sensitive, so copy it exactly. - `Basic` and `Digest` are not supported. If the tool you're configuring only offers a username/password style credential, get in touch rather than base64-encoding the key yourself — it will be rejected.
- Send one of the two. If both are present with different values the request is rejected rather than one being picked, because guessing could point the assistant at the wrong account. Sending both with the *same* value is fine.
3. Connect your AI tool
Ready-to-copy config files for every client live in
examples/— drop in your key and go.
Quick start (Claude Code)
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.
Claude Desktop
Add a Custom Connector for SmartRoutes by going to: Settings → Connectors → Add custom connector
Here you can add the following details:
- Name: SmartRoutes (or whatever you like)
- URL: https://mcp.smartroutes.io/mcp
Add your authentication header under Advanced settings / Request headers in that same dialog:
- Key: x-access-key
- Value: your actual API key
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": " " } } } }
Mistral Studio
Register SmartRoutes as a Connector:
- URL:
https://mcp.smartroutes.io/mcp - Header name:
Authorization - Header value:
Bearer
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.
Cursor
In Cursor settings, add an MCP server:
- Name: smartroutes
- Type: Streamable HTTP
- URL:
https://mcp.smartroutes.io/mcp - Headers:
x-access-key:
Windsurf
Add to your Windsurf MCP config (mcp_config.json):
{
"mcpServers": { "smartroutes": { "serverUrl": "https://mcp.smartroutes.io/mcp", "headers": { "x-access-key": " " } } } }
Any MCP Client (generic)
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.
4. Local development
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.
Example Conversations
Once connected, you can ask your assistant things like:
- "What orders for tomorrow aren't on a route yet?"
- "Show me available vehicles and their shifts."
- "Can we fit a delivery to 12 Main St between 2–4pm on Friday?"
- "Optimise tomorrow's routes for all open orders — draft only, don't dispatch yet."
- "What's the status of that optimisation?"
- "Show me the plan for 2026-07-01 and the stops on route 3."
- "Add a 10 kg delivery for ACME at 5 King St."
API Key Management
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. |
Troubleshooting
401 UNAUTHORIZED
The 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.
Error shape
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.
Security
- Authentication: your API key, sent as either
Authorization: Beareror thex-access-keyheader.Basic,Digestand other schemes are rejected. - Depot isolation: every key is scoped to a single depot, and all data is filtered by depot.
- Rate limiting: each tool has its own per-key rate limit (shared with the REST API's limits).
- Write confirmation: write tools (
add_order,optimise_plan_for_date) instruct the assistant to explain and confirm before running — especially auto-dispatch. - Shared connectors: a connector registered at workspace or organisation visibility shares one API key across everyone who can see it, and our audit log records the key rather than the individual user. Register it personally if you need per-person attribution.
##
ตัดมาแค่ช่วงต้น อ่านต่อใน repo