$ timeahead.in
mcp/gitbook-mcp/install/cursor

install gitbook-mcp on Cursor

Requires Node 18+ on your system so npx can fetch the package on first run. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register gitbook-mcp.

paste into
global: ~/.cursor/mcp.json
project: .cursor/mcp.json (commit alongside your repo)
{
  "mcpServers": {
    "gitbook-mcp": {
      "command": "npx",
      "args": [
        "gitbook-mcp",
        "--organization-id=your_organization_id_here"
      ],
      "env": {
        "GITBOOK_API_TOKEN": "gb_api_your_token_here"
      }
    }
  }
}
then: No restart needed — Cursor picks up the change automatically.
← back to gitbook-mcp
Install gitbook-mcp MCP Server on Cursor | Timeahead