GitBook MCP
Browse GitBook sites and pages, open and merge change requests, and run any GitBook API operation through GitBook's hosted MCP server.
Integration
- Vendor
- GitBook MCP
- Category
- other
- Auth
- OAUTH2
- Tools
- 13
- Composio slug
gitbook_mcp
Tools
- Create change request
Opens a change request on a space. Published content is never edited directly: create a change request, edit pages within it, then submit/merge it. Returns the new change request id needed for those follow-ups. Pass a description to tell re
- Describe operation
Describes one GitBook API operation found via search: its path/query parameters and request-body JSON Schema, so you can build params for invoke_operation. Read-only.
- Get page
Returns a page from the space's main content as markdown plus its id, title and path. Look the page up by pageId or by path. For editing a change request, use get_usage_guide with topic editing for reading its content and using the optional
- Get schema definition
Returns the JSON Schema of a type that a tool's input schema leaves out, such as a document block, along with the types it contains. Call it when a schema says to, before building that part of the input. Any type still left out is named, so
- Get site structure
Returns a site's navigation structure: its sections, groups, external links (with destination URLs), and published spaces, with the paths and ids needed to read content. Pass the organization id (the same one used with list_sites) and the s
- Get subscription information
Returns a GitBook organization's subscription: whether it is on a trial, the free plan or a paid plan, when an active trial ends and how many days are left, and where to upgrade. Use it to answer questions such as "What plan am I on?", "How
- Get usage guide
Returns procedural guidance for working with GitBook through this server (content model and step-by-step recipes). Call it when unsure how to orient, read, or edit content. Omit topic to list available topics.
- Invoke operation
Runs one GitBook API operation discovered via search, for capabilities not covered by a curated tool. Pass operationId and params (path/query/body). Returns the operation's JSON response, or a one-line status when the operation answers with
- List sites
Lists the published sites in a GitBook organization, the usual entry point for orientation. Returns each site's title, visibility, hostname and id. To reach site content, use this first to find a site, then get_site_structure to see the spa
- List site topics
Lists the topics and subtopics a site's content and visitor questions are organised under, ranked by how many Ask AI questions they drew over the range, with each one's answered rate, open findings and id. Use it to find which topics visito
- Report tool feedback
Sends a feedback report to GitBook about this MCP server's tools or operations: a confusing tool or parameter, a failed or unusable call, or a missing capability. Use it only when the user asks to send feedback to GitBook. Describe the tool
- Search
Searches the GitBook API operations this server can run, returning matches (id, method, path, summary) to run with invoke_operation. Use describe_operation for an operation's inputs. Use it to find operations beyond the curated tools. Read-
- Submit or merge change request
Merges a change request, publishing its edits to the space. This is destructive and irreversible. Use it to finish the editing flow after create_change_request and editing pages via updateChangeRequestContent. Reports conflicts instead of m
Setup
- Create or open a Switchy Project.
- Open Integrations and connect GitBook MCP.
- Authorise through oauth2. Switchy stores the connection against your org.
- Everyone in the Project can now @-mention the GitBook MCP tools in chat.
What teammates see: by default, memories from GitBook MCP are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.