MCP server

This reference is also an MCP server. Install it once and your coding agent can look an endpoint up while it writes the integration, instead of being handed the whole page and asked to remember it.

Cursor

一键安装

添加到 Cursor

VS Code

一键安装

添加到 VS Code

Claude Code

没有安装链接 — 请运行此命令

终端
claude mcp add --transport http store-api-docs https://rollroyce.store/api/mcp

Codex CLI

没有安装链接 — 请运行此命令

终端
codex mcp add store-api-docs --url https://rollroyce.store/api/mcp

其他客户端

该服务使用 Streamable HTTP 协议,因此可以直接将此 URL 填入 MCP 配置文件:

mcp 配置
{
  "mcpServers": {
    "store-api-docs": {
      "type": "http",
      "url": "https://rollroyce.store/api/mcp"
    }
  }
}

如果客户端仅支持 stdio,请使用以下方式桥接 npx -y mcp-remote https://rollroyce.store/api/mcp.

What the agent gets

Five read-only tools:

ToolAnswers
list_guidesThe sections that explain how the API works as a whole.
get_guideOne of them in full — authentication, getting a key, abilities, rate limits, errors.
list_endpointsEvery endpoint, with method, path, ability and a one-line summary.
get_endpointOne endpoint in full: parameters, a runnable example, response shapes, error codes.
search_api_docsKeyword search across endpoints, abilities and error codes.

An agent that only ever reads endpoint pages writes a client that authenticates with the wrong header and retries a 403 forever, which is why the guide tools come first and the server's own instructions tell it to start there.

The server does not call the API. It describes it, and nothing more. That is a deliberate limit rather than an unfinished feature: the endpoint carries no authentication because everything it returns is already public on this site, and a tool that made requests would turn an unauthenticated URL into a proxy into a service that is otherwise unreachable from the internet. Making a real request needs your key — use your own client, or the playground.

Prefer plain text?

Two files carry the same reference with no protocol at all:

Both are generated from the same source as the page, so neither can fall behind it.