GitBook MCP
GitBook's official remote MCP — read/write docs sites, via OAuth or PAT bearer.
Specs
Verified:
- Transport
- streamable HTTP only (no stdio/SSE, per docs)
- Endpoint
- https://mcp.gitbook.com/mcp
- Auth
- 401 verified — OAuth or PAT bearer (per docs)
- Vendor
- GitBook official
GitBook's official remote MCP server, docs at gitbook.com/docs/docs-as-code/gitbook-mcp (verified 200 on 2026-11-21). The endpoint `https://mcp.gitbook.com/mcp` returns 401 on initialize — alive, auth-gated. The docs prescribe `codex mcp add gitbook --url` verbatim plus `bearer_token_env_var = "GITBOOK_MCP_TOKEN"`; streamable HTTP only (no stdio/SSE). The read/write GitBook MCP (sites/change requests/drafts/page edits/restructuring) is separate from the read-only `<site>/~gitbook/mcp` auto-exposed by every published site.
Key features
- Officially hosted by GitBook
- Read/write: sites/change requests/drafts/edits/restructuring
- Published sites auto-expose a read-only MCP (~gitbook/mcp)
Use cases
Open change requests, draft pages, edit content — the docs-site surface inside the session; change requests get reviewed before merge (per docs).
Install
`codex mcp add gitbook --url https://mcp.gitbook.com/mcp` (verbatim from docs), browser sign-in or set `bearer_token_env_var = "GITBOOK_MCP_TOKEN"` in config.toml.
Caveats
Streamable HTTP only — no stdio/SSE; keep PAT scope minimal.
Added
Updated
Verified