GitBook
JSON →Access and manage GitBook spaces and content using the GitBook API.
Install
npx gitbook-mcp`. Tools · 12
- list_organizations Lists all accessible GitBook organizations.
- list_spaces Lists spaces, optionally filtered by organization.
- get_space Retrieves detailed information about a specific space.
- get_space_content Retrieves the content structure and pages of a space.
- search_content Searches for content within a space using full-text search.
- get_page_content Retrieves the content of a specific page.
- get_page_by_path Retrieves page content using the page path.
- get_space_files Lists all files in a space.
- get_file Retrieves details of a specific file.
- list_collections Lists all accessible collections.
- get_collection Retrieves details of a specific collection.
- get_collection_spaces Lists all spaces within a collection.
Environment variables
GITBOOK_API_TOKENGITBOOK_ORGANIZATION_IDGITBOOK_SPACE_ID
Links
★ 25 GitHub stars