MCP server
GitBook MCP by usefulapi
Read spaces, collections, pages and content; search docs and manage GitBook organization…
- Runs
- Remotely
- Version
- 1.40.0
- Listing updated
- 4 days ago
About GitBook MCP by usefulapi
GitBook MCP by usefulapi is an MCP server. It runs as a hosted remote server, so there is nothing to install locally.
Read spaces, collections, pages and content; search docs and manage GitBook organization spaces.
Install
Run in a terminal
claude mcp add --transport http gitbook https://gitbook.usefulapi.io/mcpAdd to Settings → Connectors → Add custom connector
https://gitbook.usefulapi.io/mcpInstall in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gitbook": {
"url": "https://gitbook.usefulapi.io/mcp"
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"gitbook": {
"type": "http",
"url": "https://gitbook.usefulapi.io/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gitbook": {
"serverUrl": "https://gitbook.usefulapi.io/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gitbook": {
"type": "http",
"url": "https://gitbook.usefulapi.io/mcp"
}
}
}Tools this server provides (14)
Read directly from the server.
- gitbook_get_current_user
- Get the profile of the authenticated GitBook user. GitBook REST: GET /user.
- gitbook_list_organizations
- List the organizations the authenticated user belongs to. GitBook REST: GET /orgs.
- gitbook_list_spaces
- List all spaces in an organization. GitBook REST: GET /orgs/{organizationId}/spaces.
- gitbook_get_space
- Get full details of a space by its ID. GitBook REST: GET /spaces/{spaceId}.
- gitbook_list_pages
- List all pages in a space with their hierarchy and metadata. GitBook REST: GET /spaces/{spaceId}/content/pages.
- gitbook_get_page
- Get a single page's content from a space by its page ID. GitBook REST: GET /spaces/{spaceId}/content/page/{pageId}.
- gitbook_search_space
- Full-text search across all pages in a space. GitBook REST: GET /spaces/{spaceId}/search.
- gitbook_search_organization
- Search content across an entire organization. GitBook REST: GET /orgs/{organizationId}/search.
- gitbook_list_collections
- List all collections in an organization. GitBook REST: GET /orgs/{organizationId}/collections.
- gitbook_get_collection
- Get a collection by its ID. GitBook REST: GET /collections/{collectionId}.
- gitbook_list_change_requests
- List change requests for a space. GitBook REST: GET /spaces/{spaceId}/change-requests.
- gitbook_list_comments
- List top-level comments posted on a space. GitBook REST: GET /spaces/{spaceId}/comments.
- gitbook_create_change_request
- Create a new draft change request (branch) in a space. Safe: creates a draft; publishes nothing. GitBook REST: POST /spaces/{spaceId}/change-requests.
- gitbook_update_change_request
- Update a change request's subject or status. Edits draft metadata only. GitBook REST: PATCH /spaces/{spaceId}/change-requests/{changeRequestId}.
GitBook MCP by usefulapi FAQ
How do I add GitBook MCP by usefulapi to Claude Code?
Run this command in your terminal: claude mcp add --transport http gitbook https://gitbook.usefulapi.io/mcp