# GitBook MCP connector

The GitBook connector brings your GitBook organizations, members, teams, invites, and documentation sites into Elaichi, so Claude, ChatGPT, Cursor, or the Elaichi Agent can look them up and manage them as the person who signed in.

Source: https://elaichi.ai/connectors/gitbook/

## Facts

| | |
| --- | --- |
| Application | GitBook |
| Category | Knowledge Management |
| AI tools | 59 |
| Authentication | Connects with an API key |
| Needs your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. 59 tools is past the 30-tool threshold, so clients use `search_tools` and `execute_tool` |

## What you can ask once GitBook is connected

- List GitBook organization members added this month
- Which GitBook invites are still pending
- Show GitBook users in the Docs organization

## Connect GitBook in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick GitBook.
2. Optionally set Share with, then press Connect.
3. Paste a GitBook API key. One person generates a token in GitBook and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which GitBook tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Connect GitBook to Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Connect GitBook to ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web today. The plugin directory lives at chatgpt.com/plugins.

## Connect GitBook to Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Connect GitBook to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Only Read is granted by default, which is not enough to call a GitBook tool. Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Grant Read and Run tools. Think hard before granting Delete, which reaches into connected apps and cannot be undone.

## What teams do with GitBook through Elaichi

### Spin up a new docs site

Documentation. Ask for a new GitBook site when a product or internal handbook needs its own home, and it is created in the right organization without opening a browser tab.

### Invite new hires and remove leavers

IT. Send a GitBook invite to everyone starting on Monday, and remove members who have left, from one conversation instead of one admin screen at a time.

### Organize contributors into teams

Engineering. Create a GitBook team for a new squad, rename one after a reorg, and check who is on each team before handing them a space to maintain.

### See who can edit the help center

Support. Ask which GitBook members and teams have access to the organization behind your public help center before a big release lands.

### Clean up stale invitations

Operations. List every pending GitBook invite, spot the ones sent months ago to people who never joined, and withdraw them in a single pass.

### Change a member's role after a move

People. When someone moves from contributor to admin, or the other way, update their GitBook organization membership and confirm the change without asking IT to do it.

## Frequently asked questions

### How do I connect GitBook to Claude?

First connect GitBook in Elaichi by pasting an API key from your GitBook account settings. Then in Claude open Customize, then Connectors, then Add, and paste the endpoint https://api.elaichi.ai/mcp. There is no OAuth application to register and no client ID or secret to generate, and the whole thing takes a few minutes.

### Does GitBook work with ChatGPT and Cursor as well as Claude?

Yes. Once GitBook is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, any other MCP client, and the Elaichi Agent. You connect GitBook once and every client you use picks it up.

### What can an AI agent actually do with my GitBook data?

With GitBook connected, an agent can list your organizations, members, teams, and documentation sites, look up a specific person or team, send or withdraw invites, update a member's role, create or rename teams, and create a new site. Because GitBook offers a large set of actions, short concrete asks such as "list pending GitBook invites" work better than long paragraphs.

### Does connecting GitBook give the AI access to my whole organization?

No. Every request runs as the person who signed in, so the agent sees only the GitBook organizations, members, and sites that person can already see, and GitBook's own permissions still apply. Elaichi can narrow that access further with restrictions, but it can never widen it beyond what GitBook itself allows.

### Can my team share one GitBook connection?

Yes. One admin connects GitBook in Elaichi and shares the connection with a team, and nobody else ever sees or handles the API key. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person behind every GitBook change.

### Can I stop an agent from deleting or changing things in GitBook?

Yes. Restrictions in Elaichi apply per action, so you can allow listing GitBook members and sites while blocking anything that deletes an organization, removes a member, or changes a team. A blocked action is never shown to Claude, ChatGPT, or Cursor at all, so no prompt, however worded, can reach it.

### What happens to a GitBook connection when someone leaves?

When you offboard a person in Elaichi, their access to GitBook through every AI client ends at once. A GitBook connection they were sharing keeps working for the rest of the team. If you later disconnect GitBook once in Elaichi, it is removed from Claude, ChatGPT, Cursor, and every other client at the same time.

## All 59 GitBook tools

Every tool below is callable through https://api.elaichi.ai/mcp once GitBook is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all GitBook user** (List). Get the currently authenticated user in GitBook. Returns the user object for the account associated with the active credentials.
- **Get single GitBook user by ID** (Get). Get a single GitBook user by id. Returns the user object. Required: id.
- **Update a GitBook user by ID** (Update). Update a GitBook user by id using a partial payload. Required: id.
- **List all GitBook organizations** (List). List all GitBook organizations accessible to the caller. Returns a collection of organization objects from the items array.
- **Get single GitBook organization by ID** (Get). Get a single GitBook organization by id. Returns the full organization object. Required: id.
- **Create a GitBook organization** (Create). Create a new GitBook organization. Returns the created organization object.
- **Update a GitBook organization by ID** (Update). Update an existing GitBook organization by id. Returns the updated organization object. Required: id.
- **Delete a GitBook organization by ID** (Delete). Delete a GitBook organization by id. Returns an empty response on success. Required: id.
- **List all GitBook organization members** (List). List all members of a GitBook organization. Returns a collection of member objects. Required: organization_id.
- **Get single GitBook organization member by ID** (Get). Get a single GitBook organization member by id. Returns the member object for the specified member. Required: organization_id, id.
- **Update a GitBook organization member by ID** (Update). Update a GitBook organization member by id. Required: organization_id, id.
- **Delete a GitBook organization member by ID** (Delete). Delete a GitBook organization member by id, removing them from the organization. Returns an empty response on success. Required: organization_id, id.
- **List all GitBook organization invites** (List). List all pending invites for a GitBook organization. Returns a collection of invite items. Required: organization_id.
- **Create a GitBook organization invite** (Create). Create a new invite for a GitBook organization. Required: organization_id.
- **Delete a GitBook organization invite by ID** (Delete). Delete an existing invite from a GitBook organization. Returns an empty response on success. Required: organization_id, id.
- **List all GitBook organization teams** (List). List all teams within a GitBook organization. Returns a collection of team objects. Required: organization_id.
- **Get single GitBook organization team by ID** (Get). Get a single team in a GitBook organization by id. Returns the team object. Required: organization_id, id.
- **Create a GitBook organization team** (Create). Create a new team within a GitBook organization. Returns the created team object. Required: organization_id.
- **Update a GitBook organization team by ID** (Update). Update an existing team in a GitBook organization by id. Returns the updated team object. Required: organization_id, id.
- **Delete a GitBook organization team by ID** (Delete). Delete a team from a GitBook organization by id. Returns an empty response on success. Required: organization_id, id.
- **List all GitBook team members** (List). List members belonging to a specific team in a GitBook organization. Returns a collection of team member objects. Required: organization_id, team_id.
- **List all GitBook sites** (List). List gitbook sites belonging to an organization. Returns a collection of site items. Required: organization_id.
- **Get single GitBook site by ID** (Get). Get a single gitbook site by id within an organization. Returns the site object. Required: organization_id, id.
- **Create a GitBook site** (Create). Create a new gitbook site within an organization. Returns the created site object. Required: organization_id.
- **Update a GitBook site by ID** (Update). Update an existing gitbook site by id within an organization. Returns the updated site object. Required: organization_id, id.
- **Delete a GitBook site by ID** (Delete). Delete a gitbook site by id within an organization. Returns an empty response on success. Required: organization_id, id.
- **List all GitBook site spaces** (List). List site spaces within a gitbook site. Returns a collection of site space items. Required: organization_id, site_id.
- **List all GitBook site sections** (List). List all site sections for a gitbook site within an organization. Returns a collection of site section items. Required: organization_id, site_id.
- **List all GitBook site redirects** (List). List redirects configured for a GitBook site within an organization. Returns a collection of redirect items. Required: organization_id, site_id.
- **List all GitBook site share links** (List). List all share links for a GitBook site. Returns a collection of share link items. Required: organization_id, site_id.
- **Create a GitBook site share link** (Create). Create a new share link for a GitBook site. Returns the created share link object. Required: organization_id, site_id.
- **Delete a GitBook site share link by ID** (Delete). Delete a share link from a GitBook site by id. Returns an empty response on success. Required: organization_id, site_id, id.
- **List all GitBook collections** (List). List all gitbook collections belonging to an organization. Returns a list of collection items. Required: organization_id.
- **Get single GitBook collection by ID** (Get). Get a single gitbook collection by id. Returns the collection object.
- **Create a GitBook collection** (Create). Create a new gitbook collection within an organization. Required: organization_id.
- **Update a GitBook collection by ID** (Update). Update an existing gitbook collection by id. Required: id.
- **Delete a GitBook collection by ID** (Delete). Delete a gitbook collection by id. Returns an empty response on success. Required: id.
- **List all GitBook spaces** (List). List gitbook spaces belonging to an organization. Returns an array of space objects. Required: organization_id.
- **Get single GitBook space by ID** (Get). Get a single gitbook space by id. Returns the full space object. Required: id.
- **Create a GitBook space** (Create). Create a new gitbook space within an organization. Returns the created space object. Required: organization_id.
- **Update a GitBook space by ID** (Update). Update an existing gitbook space by id. Returns the updated space object. Required: id.
- **Delete a GitBook space by ID** (Delete). Delete a gitbook space by id. Returns an empty response on success. Required: id.
- **Get single GitBook space content by ID** (Get). Get the content of a GitBook space. Returns the content structure for the specified space. Required: space_id.
- **List all GitBook pages** (List). List all pages in a GitBook space. Returns an array of page objects from the space's content. Required: space_id.
- **Get single GitBook page by ID** (Get). Get a single page from a GitBook space by id. Returns the page object for the specified page. Required: space_id, id.
- **List all GitBook files** (List). List files within a GitBook space. Returns an array of file items belonging to the specified space. Required: space_id.
- **Get single GitBook file by ID** (Get). Get a single file by id from a GitBook space. Returns the file object for the specified file. Required: space_id and id.
- **List all GitBook change requests** (List). List change requests for a GitBook space. Returns a collection of change request items. Required: space_id.
- **Get single GitBook change request by ID** (Get). Get a single change request by id from a GitBook space. Returns the change request object. Required: space_id, id.
- **Create a GitBook change request** (Create). Create a new change request in a GitBook space. Returns the created change request object. Required: space_id.
- **Update a GitBook change request by ID** (Update). Update an existing change request in a GitBook space. Returns the updated change request object. Required: space_id, id.
- **List all GitBook change request reviews** (List). List reviews for a GitBook change request within a space. Returns a collection of review items. Required: space_id, change_request_id.
- **Create a GitBook change request review** (Create). Create a review for a GitBook change request within a space. Required: space_id, change_request_id.
- **List all GitBook space permissions users** (List). List user permissions for a GitBook space. Returns a collection of user permission records associated with the specified space. Required: space_id.
- **List all GitBook space permissions teams** (List). List team permissions for a GitBook space. Returns the collection of team permission entries associated with the specified space. Required: space_id.
- **List all GitBook integrations** (List). List all integrations available in GitBook. Returns a collection of integration objects.
- **Get single GitBook integration by ID** (Get). Get a single GitBook integration by id. Returns the full integration object. Required: id.
- **List all GitBook custom hostnames** (List). List all custom hostnames configured for a GitBook organization. Returns a collection of custom hostname items. Required: organization_id.
- **Get single GitBook custom hostname by ID** (Get). Get a single custom hostname by id for a GitBook organization. Returns the custom hostname object. Required: organization_id, id.
