Modern documentation platform with Git sync.
## Gitbook MCP Server: Documentation Platform The **Gitbook MCP Server** integrates GitBook's documentation platform into Google Antigravity, enabling developers to create, manage, and publish beautiful documentation through AI-assisted content workflows. ### Why Gitbook MCP? - **Git-Backed**: Version control for all documentation changes - **Beautiful Design**: Modern, clean documentation sites out of the box - **Collaboration**: Real-time editing with team members - **Integrations**: Connect with GitHub, Slack, and more - **API Documentation**: OpenAPI/Swagger support built-in ### Key Features #### 1. Content Management ```javascript // Create page const page = await gitbook.createPage({ spaceId: "space_123", title: "Getting Started", content: { markdown: "# Getting Started\n\nWelcome to our API documentation..." }, parentId: "parent_page_id" }); // Update page content await gitbook.updatePage({ spaceId: "space_123", pageId: page.id, content: { markdown: updatedContent } }); // Search documentation const results = await gitbook.search({ spaceId: "space_123", query: "authentication", limit: 10 }); ``` #### 2. Space and Publishing ```javascript // List spaces const spaces = await gitbook.listSpaces({ organizationId: "org_123" }); // Get space content const content = await gitbook.getSpaceContent({ spaceId: "space_123" }); // Publish changes await gitbook.publishSpace({ spaceId: "space_123", message: "Updated authentication docs" }); // Import from GitHub await gitbook.syncWithGitHub({ spaceId: "space_123", repo: "org/docs", branch: "main" }); ``` ### Configuration ```json { "mcpServers": { "gitbook": { "command": "npx", "args": ["-y", "@anthropic/mcp-gitbook"], "env": { "GITBOOK_API_TOKEN": "your-api-token", "GITBOOK_ORGANIZATION": "your-organization" } } } } ``` ### Use Cases **API Documentation**: Create and maintain developer-facing API documentation. **Product Docs**: Build comprehensive product documentation with versioning. **Knowledge Bases**: Create internal and external knowledge bases. The Gitbook MCP Server brings professional documentation to your development workflow.
{
"mcpServers": {
"gitbook": {}
}
}