Smartroutes logo

Smartroutes

Connects AI assistants to SmartRoutes for depot orders, route optimisation, bookings, and fleet data.

Install Smartroutes

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.smartroutes.io/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The smartroutes MCP server connects MCP clients to live SmartRoutes depot data through a hosted Streamable HTTP endpoint. It provides tools for finding and managing orders, checking booking availability, reviewing routes, inspecting vehicles and customers, and starting route optimisation. Use it when an assistant needs to query dispatch data or perform supported SmartRoutes operations from chat. Writes can be restricted with a read-only request header, while optimisation may publish plans and notify customers.

Use cases

  • Find unscheduled orders for a date
  • Check whether a delivery window is serviceable
  • Review vehicle capacity and shift data
  • Optimise routes for a selected date
  • Inspect route stops and plan totals

Key features

  • Paginated order search and order lookup
  • Order creation for pickups, deliveries, and shipments
  • Booking availability checks
  • Date-based route optimisation with status polling
  • Plan, route, vehicle, and customer inspection
  • Server-enforced read-only access mode

Tools11

What Smartroutes lets your agent do. Expand a tool for its parameters.

Self-reported~160 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

11/11 checks healthy over the last 57d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Smartroutes works

What smartroutes does

The smartroutes MCP server exposes SmartRoutes route-planning and dispatch operations to MCP-compatible AI assistants. It works against the live SmartRoutes account associated with the supplied API key and scopes access to that account's depot.

The server supports common depot workflows: finding orders that match filters, inspecting individual orders, checking whether a delivery can fit a time window, reviewing plans and routes, and examining available fleet vehicles and customers. It also includes write operations for creating orders and starting optimisation for a date.

How it works

The hosted endpoint uses Streamable HTTP at https://mcp.smartroutes.io/mcp. Clients send either Authorization: Bearer <api-key> or x-access-key: <api-key>; both headers carry the same SmartRoutes API key. The server also handles legacy SSE clients automatically.

Tools are annotated as read or write operations. list_orders, get_order, check_booking_availability, get_optimisation_status, get_plan, get_route, list_vehicles, get_vehicle, and list_customers are read-only. add_order creates data, while optimise_plan_for_date starts an optimisation job and is additionally marked destructive because auto-dispatch can publish the plan to drivers and notify customers.

For stricter access control, send x-access-scope: read-only. In that mode, the two write tools are removed from the tool list rather than merely hidden from the assistant. Any value other than read-only is rejected.

Setup and configuration

Generate an API key in SmartRoutes under Settings, Integrations, and SmartRoutes Open API. There is no separate MCP credential or refresh-token flow. Treat the key as a secret because it grants access to the account's data.

Configure the endpoint and one authentication header in the MCP client. Claude Desktop, Claude Code, Cursor, and Windsurf examples are provided in the repository, and the same Streamable HTTP endpoint can be used by other compatible clients. Claude Code uses an HTTP MCP entry, Cursor uses Streamable HTTP, and Windsurf uses its serverUrl configuration field.

A local server uses http://localhost:3000/mcp-api, with the port determined by the local application. The production /mcp path is a public alias for the same endpoint.

Tools and capabilities

The smartroutes MCP server provides:

  • Order listing with status, customer, order-number, last-updated, and pagination filters.
  • Full order lookup and creation of pickup, delivery, or shipment orders.
  • Booking checks for an address and requested time window.
  • Date-based route optimisation and status polling for the resulting job.
  • Plan totals and route summaries, plus per-stop route details.
  • Vehicle listings with shifts, capacities, and skills, and full vehicle lookup.
  • Customer listing for the depot.

Limitations and notes

The smartroutes MCP server is tied to the SmartRoutes account and depot represented by its API key. The API key is case-sensitive, and Basic and Digest authentication are not supported. Send one accepted authentication header; if both are supplied with different values, the request is rejected.

Read-only annotations depend on the client honouring them, but the x-access-scope: read-only header removes write tools at the server level. Optimisation should be treated carefully because auto-dispatch may publish the plan and contact drivers or customers.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Smartroutes

smartroutes is an MCP server that connects AI assistants to live SmartRoutes depot data through Streamable HTTP. Its main tools list, inspect, and create orders; check booking availability; optimise plans; check optimisation status; review plans and routes; and inspect vehicles and customers.

Configure an MCP client with the hosted URL `https://mcp.smartroutes.io/mcp` and your SmartRoutes API key. The repository includes configuration examples for Claude Desktop, Claude Code, Cursor, and Windsurf. A local server uses the `/mcp-api` endpoint.

Authenticate with the SmartRoutes API key using either `Authorization: Bearer <your-api-key>` or `x-access-key: <your-api-key>`. These headers are interchangeable. Basic and Digest authentication are not supported.

Yes. Send `x-access-scope: read-only` with the request. The server then omits `add_order` and `optimise_plan_for_date` from the available tools, preventing those write operations from being called.

Yes. Cursor can connect using a Streamable HTTP MCP server configuration with the SmartRoutes URL and an `x-access-key` request header containing the API key.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSmartroutes AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/smartroutes?style=directory)](https://allmcps.com/mcp/smartroutes)
HTML Embed
<a href="https://allmcps.com/mcp/smartroutes"><img src="https://allmcps.com/api/badge/smartroutes?style=directory" alt="Smartroutes on AllMCPs" /></a>