← All agent tools

Docs GitBook

GitBook docs MCP (per-site)

Connect directly to an individual GitBook documentation site so an agent can search and read that product’s reference material.

Source review: 2026-10-17 · Imported: 1 November 2026

A practical starting point

What could you build?

A coding assistant can consult the documentation for the exact library used by a project.

Before you connect

Use the documentation site’s own MCP URL. Public access does not imply access to private documentation.

Capabilities & requirements

Dated specifications from the licensed source dataset. “Not published” indicates missing information, rather than confirmed absence.

GitBook docs MCP (per-site) specifications
CapabilityDetails and source
StatusNot published

The docs describe it as included with every published site, with no stage label.

Source (external) · Not published by vendor: checked 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md
API key requiredNone for public sites

Authenticated sites use OAuth through the site’s auth provider.

Source (external) · Verified 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md
Free tierIncluded with every published site

Free to connect for readers.

Source (external) · Verified 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md
Rate limitNot published

No limit is published, and the source publisher’s test responses carried no rate-limit headers.

Source (external) · Not published by vendor: checked 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md
Official MCP serverPer site, /~gitbook/mcp

Read-only access to the latest published content.

Source (external) · Verified 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md
Official SDKNot applicable

GitBook’s @gitbook/api client targets the GitBook management API, not the per-site docs MCP.

Source (external) · Verified 2026-10-17 on https://www.npmjs.com/package/@gitbook/api
Data license / termsOwned by each docs site

GitBook’s platform terms apply; the content belongs to each site’s owner.

Source (external) · Verified 2026-10-17 on https://gitbook.com/docs/policies/terms
Commercial use allowedNot published

Depends on each docs site’s owner; GitBook publishes no rule for readers.

Source (external) · Not published by vendor: checked 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md
CORS / browser usePreflight had no CORS headers

OPTIONS returned 204 without Access-Control-Allow-Origin.

Source (external) · Verified 2026-10-17 by test request to https://gitbook.com/docs/~gitbook/mcp
Freshness / coverageLatest published version only

Drafts and unpublished changes stay private.

Source (external) · Verified 2026-10-17 on https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs.md

Operational reference

Additional facts and qualifications retained from AgentAPIList’s CC BY 4.0 dataset, with provider references.

Price

Free to connect for readers. GitBook includes the MCP server with every published docs site.

Provider reference (external)

API key / auth

None for public sites. Fully authenticated sites use OAuth with Dynamic Client Registration through the site’s auth provider; partially authenticated sites use /~gitbook/mcp/auth.

Provider reference (external)

Rate limit

No limit is published, and the source publisher’s test responses carried no rate-limit headers. Treat it as a shared public service and keep calls modest.

Provider reference (external)

Terms

GitBook’s terms of service apply to the platform; the documentation content belongs to each site’s owner.

Provider reference (external)

Availability

Only works when the site owner leaves Page actions enabled. If they turn it off, /~gitbook/mcp returns 404.

Provider reference (external)

Tools

tools/list on GitBook’s own docs MCP returned searchDocumentation, getPage, askQuestion and sendFeedback (the endpoint accepts POST only, so opening it in a browser errors).

Provider reference (external)

Markdown and llms.txt

Append .md to any published page for Markdown; /llms.txt and /llms-full.txt are published at the site root.

Provider reference (external)

Setup references

HTTP request example

Adapted from the attributed source dataset. Review before running; these examples were not executed by Tech in General.

curl -sS -X POST "https://gitbook.com/docs/~gitbook/mcp" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"searchDocumentation","arguments":{"query":"custom domain"}}}'
Agent connection example

Adapted from the attributed source dataset. Review before running; these examples were not executed by Tech in General.

// Cursor .cursor/mcp.json (swap in any GitBook-hosted docs URL)
{
  "mcpServers": {
    "vendor-docs": { "url": "https://gitbook.com/docs/~gitbook/mcp" }
  }
}
// Claude Code:
// claude mcp add --transport http vendor-docs https://gitbook.com/docs/~gitbook/mcp
// Codex:
// codex mcp add vendor-docs https://gitbook.com/docs/~gitbook/mcp

A tool schema needs an HTTP implementation; it does not by itself install an MCP server. Keep credentials out of browser code.

Other connections to explore

Back to the full directory →

Source & reuse

Download the complete licensed source snapshot (JSON), including the original source’s caveats, alternative notes and examples.