GitBook
Drive GitBook (docs platform) from any AI agent: spaces, pages, content, search, collections. 9 tools, Bearer auth.
7-day free trial · No credit card · EU-hosted
Ask GitBook anything
Try a real prompt against GitBook via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.
Install GitBook on CloudClaude is AI and can make mistakes. Please double-check responses.
Setup in 2 minutes
- 1Start a free trial on cloud.anythingmcp.com.
- 2Click GitBook in the connector store. Paste credentials when prompted.
- 3Mint an MCP API key and point your AI client at the generated MCP URL.
Guides for GitBook
Step-by-step setup for the most popular AI clients.
Setting up GitBook
From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.
This connector uses the GitBook API v1 (developer.gitbook.com).
Setup:
- Sign in to https://app.gitbook.com → bottom-left avatar → Settings → Developer → Personal access tokens → Create new token.
- Copy the token. Set
GITBOOK_API_TOKEN.
Authentication: Authorization: Bearer ${GITBOOK_API_TOKEN}.
Hierarchy: Organization → Collection → Space → Page (a tree of pages, sub-pages, content).
Space IDs: each space has a UUID-like ID. Discover via gitbook_list_spaces.
Pages: content lives in pages. Each page has id, slug, title, type (document, group, link), revision_id (every change creates a new revision).
Content format: GitBook stores content as a JSON document tree (their own AST). Reading is straightforward; writing requires constructing the AST — out of scope for most agent use. For simple writes, use 'GitBook content imports' (markdown imports) — exposed as gitbook_import_markdown_to_page.
Search: full-text across spaces.
Pagination: ?page=N&limit=M (max 100).
Out of scope here: content editing via the AST, change requests, revisions diff, custom domains, integrations management.
Your AI is two clicks away from GitBook.
Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.