~/.cursor/mcp.json (every project) or .cursor/mcp.json in a repository (that project only).
Cursor expands
${ROUTEUR_API_KEY} from your environment in most builds; if yours does not, put the key in the file and keep the file out of version control. A project .cursor/mcp.json that is committed should never carry a key.Using it while you build
Routeur’s tools are useful inside a coding session, not just in chat:- Ask the agent to fetch a real response (
get_market,list_relations) before it writes the types for it — the shapes come from the same OpenAPI description as this reference. routeur://openapi.jsonis a resource, so the agent can read the whole API description without a web fetch.- When it writes client code, tell it the API is read-only
GETendpoints with cursor pagination, and point it at Pagination and Rate limits.