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.
Tools
list_organizations
list_spaces
get_space
get_space_content
get_page_content
get_page_by_path
search_content
get_space_files
get_file
list_collections
get_collection
get_collection_spaces
Server Config
{
"mcpServers": {
"gitbook-mcp": {
"command": "npx",
"args": [
"gitbook-mcp",
"--organization-id=your_organization_id"
],
"env": {
"GITBOOK_API_TOKEN": "gb_api_your_token_here"
}
}
}
}