MCP.so
登录
G

Gitbook MCP

@rickysullivan

关于 Gitbook MCP

The GitBook MCP server enables programmatic access to GitBook Organizations, Spaces, Collections, and Content through a standardized MCP interface. It provides 12 tools for content operations and 6 AI-powered prompts for documentation workflows.

基本信息

分类

记忆与知识

传输方式

stdio

发布者

rickysullivan

提交者

Ricky Sullivan

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "gitbook-mcp": {
      "command": "npx",
      "args": [
        "gitbook-mcp",
        "--organization-id=your_organization_id"
      ],
      "env": {
        "GITBOOK_API_TOKEN": "gb_api_your_token_here"
      }
    }
  }
}

工具

12

List all GitBook organizations accessible with the current API token

List all spaces in a GitBook organization, optionally filtered by organization ID

Get detailed information about a specific GitBook space

Get the complete content structure and page hierarchy of a GitBook space

Retrieve the content of a specific page from a GitBook space, with options for format and metadata

Retrieve a page from a GitBook space using its path instead of page ID

Search for content within a GitBook space using a text query

List all files (images, documents, etc.) uploaded to a GitBook space

Get detailed information about a specific file uploaded to a GitBook space

List all collections in a GitBook organization, optionally filtered by organization ID

Get detailed information about a specific GitBook collection

List all spaces that belong to a specific GitBook collection

概览

What is Gitbook MCP?

A Model Context Protocol server that provides access to GitBook's API for AI assistants and LLM applications. It enables programmatic access to GitBook Organizations, Spaces, Collections, and Content through 12 tools and 6 AI-powered prompts for documentation workflows.

How to use Gitbook MCP?

Install via npx gitbook-mcp. Configure with a GitBook API token and optional organization/space ID. Set up the server in your MCP client (VS Code, Claude Desktop, JetBrains) by adding the JSON configuration shown in the README. Use CLI arguments or environment variables for credentials.

Key features of Gitbook MCP

  • 12 read-only, idempotent tools for content operations
  • 6 AI-powered prompts for documentation workflows
  • Search and retrieve GitBook content programmatically
  • Supports integration with multiple IDEs and AI assistants
  • Organization discovery, space management, and file retrieval

Use cases of Gitbook MCP

  • Automating documentation retrieval and analysis in AI assistants
  • Identifying content gaps and performing quality audits
  • Generating structured summaries and optimizing content for SEO
  • Integrating GitBook content into custom LLM-based workflows

FAQ from Gitbook MCP

What credentials are required to use Gitbook MCP?

A GitBook API token (obtainable from https://app.gitbook.com/account/developer) is required. An organization ID is optional but recommended.

How do I configure Gitbook MCP in my AI assistant?

Add the server definition to your MCP client’s configuration file using the JSON examples provided in the README for VS Code, Claude Desktop, or JetBrains IDEs.

Can I use .env files for configuration?

.env files are only supported when running the server locally for development, not when using npx gitbook-mcp.

Does Gitbook MCP modify any content?

No. All 12 tools are labeled read-only and idempotent; they only retrieve or search data without making changes.

评论

记忆与知识 分类下的更多 MCP 服务器