mcp-docs-server

v0.4.0
io.github.mapbox/mcp-docs-server Checked 5 hours ago Published 19 days ago

AI access to Mapbox docs, API references, style specs, and guides.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-docs-server -- npx -y --package=@mapbox/mcp-docs-server@0.4.0 mapbox-mcp-docs
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-docs-server": {
      "args": [
        "-y",
        "--package=@mapbox/mcp-docs-server@0.4.0",
        "mapbox-mcp-docs"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-docs-server": {
      "args": [
        "-y",
        "--package=@mapbox/mcp-docs-server@0.4.0",
        "mapbox-mcp-docs"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-docs-server": {
      "args": [
        "-y",
        "--package=@mapbox/mcp-docs-server@0.4.0",
        "mapbox-mcp-docs"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-docs-server]
command = "npx"
args = ["-y", "--package=@mapbox/mcp-docs-server@0.4.0", "mapbox-mcp-docs"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-docs-server https://mcp-docs.mapbox.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-docs-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp-docs.mapbox.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-docs-server": {
      "type": "http",
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-docs-server]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp-docs.mapbox.com/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_document_tool, batch_get_documents_tool, search_mapbox_docs_tool.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json