What credentials are required to use Gitbook MCP?
A GitBook API token (obtainable from https://app.gitbook.com/account/developer) is required. An organization ID is optional but recommended.
@rickysullivan
Basic information
The GitBook MCP server enables programmatic access to GitBook Organizations, Spaces, Collections, and Content through a standardized MCP interface. It provides 12 tools for content operations and 6 AI-powered prompts for documentation workflows.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gitbook-mcp": {
"command": "npx",
"args": [
"gitbook-mcp",
"--organization-id=your_organization_id"
],
"env": {
"GITBOOK_API_TOKEN": "gb_api_your_token_here"
}
}
}
}List all GitBook organizations accessible with the current API token
List all spaces in a GitBook organization, optionally filtered by organization ID
Get detailed information about a specific GitBook space
Get the complete content structure and page hierarchy of a GitBook space
Retrieve the content of a specific page from a GitBook space, with options for format and metadata
Retrieve a page from a GitBook space using its path instead of page ID
Search for content within a GitBook space using a text query
List all files (images, documents, etc.) uploaded to a GitBook space
Get detailed information about a specific file uploaded to a GitBook space
List all collections in a GitBook organization, optionally filtered by organization ID
Get detailed information about a specific GitBook collection
List all spaces that belong to a specific GitBook collection
A Model Context Protocol server that provides access to GitBook's API for AI assistants and LLM applications. It enables programmatic access to GitBook Organizations, Spaces, Collections, and Content through 12 tools and 6 AI-powered prompts for documentation workflows.
Install via npx gitbook-mcp. Configure with a GitBook API token and optional organization/space ID. Set up the server in your MCP client (VS Code, Claude Desktop, JetBrains) by adding the JSON configuration shown in the README. Use CLI arguments or environment variables for credentials.
A GitBook API token (obtainable from https://app.gitbook.com/account/developer) is required. An organization ID is optional but recommended.
Add the server definition to your MCP client’s configuration file using the JSON examples provided in the README for VS Code, Claude Desktop, or JetBrains IDEs.
`.env` files are only supported when running the server locally for development, not when using `npx gitbook-mcp`.
No. All 12 tools are labeled read-only and idempotent; they only retrieve or search data without making changes.

Exact, shared memory for AI agents: a hierarchical database where totals always add up, every write is attributed to the agent and person behind it, and any figure traces back to its source file. Agents create databases,
Shared, serverless, conflict-free memory for AI agents: a multi-machine drop-in for the MCP memory knowledge graph.

Shared memory for AI coding agents. Claude Code, Cursor and Codex read your project's decisions, lessons and tasks before they act.

Serve your docs to AI agents over SSH and MCP. Agents use ls, cat, grep, find, and pipes against a virtual filesystem backed by your documentation. Identity-scoped access, governed writing with human approval, and portab

Search saved employee handbooks from your AI assistant. Four read-only tools list authorized handbooks, browse policies, search content, and read source pages with citation links. Uses scoped bearer tokens and Streamable
Comments