# 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