Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KEPLER_MCP_HOST | No | Server bind host | 0.0.0.0 |
| KEPLER_MCP_PORT | No | Server bind port | 8000 |
| KEPLER_MCP_APP_NAME | No | Application name | Kepler MCP GitLab Server |
| KEPLER_MCP_LOG_LEVEL | No | Log level | INFO |
| KEPLER_MCP_GITLAB_URL | Yes | GitLab instance URL | https://gitlab.com |
| KEPLER_MCP_ENVIRONMENT | No | Environment (local/dev/stage/prod) | local |
| KEPLER_MCP_OAUTH_SCOPE | No | OAuth scopes (e.g., 'api read_user read_repository') | |
| KEPLER_MCP_TRANSPORT_MODE | No | Transport (stdio/sse) | stdio |
| KEPLER_MCP_OAUTH_CLIENT_ID | No | OAuth Client ID (Application ID from GitLab) | |
| KEPLER_MCP_OAUTH_TOKEN_URL | No | OAuth token endpoint (e.g., https://gitlab.com/oauth/token) | |
| KEPLER_MCP_RATE_LIMIT_BURST | No | Burst size | 10 |
| KEPLER_MCP_TOKEN_STORE_PATH | No | Path for token persistence (e.g., /var/lib/kepler-mcp/tokens.json) | |
| KEPLER_MCP_OAUTH_REDIRECT_URI | No | OAuth callback URL (must match the Redirect URI registered in GitLab) | |
| KEPLER_MCP_OAUTH_USERINFO_URL | No | User info endpoint (e.g., https://gitlab.com/api/v4/user) | |
| KEPLER_MCP_OAUTH_CLIENT_SECRET | No | OAuth Client Secret (Secret from GitLab OAuth application) | |
| KEPLER_MCP_TOKEN_ENCRYPTION_KEY | No | Fernet key for token encryption (generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())") | |
| KEPLER_MCP_OAUTH_AUTHORIZATION_URL | No | OAuth authorize endpoint (e.g., https://gitlab.com/oauth/authorize) | |
| KEPLER_MCP_OAUTH_USER_AUTH_ENABLED | No | Enable OAuth | false |
| KEPLER_MCP_RATE_LIMIT_REQUESTS_PER_MINUTE | No | Max requests per minute | 60 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |