Skip to main content
Glama
.env.example840 B
# GitBook MCP Server Environment Variables # # SETUP INSTRUCTIONS: # 1. Copy this file: cp .env.example .env.local # 2. Get your API token from: https://app.gitbook.com/account/developer # 3. Edit .env.local with your actual values # # SECURITY NOTE: # - .env.local is ignored by git and won't be committed # - Never commit your actual API token to version control # Required: Your GitBook API Token GITBOOK_API_TOKEN=gb_api_your_token_here # Optional: Default Organization ID # Use the list_organizations tool to find your organization ID GITBOOK_ORGANIZATION_ID=your_organization_id_here # Optional: Default Space ID for single-space projects # Use the list_spaces tool to find your space ID # When set, tools can work without explicit spaceId parameters GITBOOK_SPACE_ID=your_space_id_here # Optional: Enable debug logging # DEBUG=1

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rickysullivan/gitbook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server