# GitBook docs MCP

Every published GitBook site automatically includes a Model Context Protocol (MCP) server. The MCP server gives read-only access to your published docs.

MCP server by GitBook. Category: Agent craft.

## Install

Project (for this project only):

```sh
npx add-mcp 'https://gitbook.com/docs/~gitbook/mcp'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp 'https://gitbook.com/docs/~gitbook/mcp' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

The cloud.

## What it needs

Nothing.

## Tags

- Runs in the cloud: It runs on the publisher's servers. What you send it leaves your machine.

## Source

[Open the source](https://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [GitBook MCP](https://syn4pse.dev/terminal/gitbook-mcp.md)
- Next: [GitLab MCP server](https://syn4pse.dev/terminal/gitlab-mcp-server.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
