# GitBook MCP

GitBook exposes an MCP server that lets AI tools act on content in your organization.

MCP server by GitBook. Category: Agent craft.

## Install

Project (for this project only):

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

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

Global (for every project on this machine):

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

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

## Where it runs

The cloud.

## What it needs

Headers:

- `Authorization` (optional): Personal access token sent as a bearer token, created in GitBook's developer settings. Optional; OAuth is the default sign-in.

## Tags

- Runs in the cloud: It runs on the publisher's servers. What you send it leaves your machine.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://gitbook.com/docs/docs-as-code/gitbook-mcp). 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: [Genkit MCP server](https://syn4pse.dev/terminal/genkit-mcp-server.md)
- Next: [GitBook docs MCP](https://syn4pse.dev/terminal/gitbook-docs-mcp.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
