Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host address for HTTP/SSE transport | 127.0.0.1 |
| MCP_PORT | No | Port for HTTP/SSE transport (when set, enables HTTP transport instead of stdio, requires ENABLE_LOCAL_OAUTH=false) | |
| GITGUARDIAN_URL | No | GitGuardian instance URL | https://dashboard.gitguardian.com |
| ENABLE_LOCAL_OAUTH | No | Enable local OAuth flow (stdio mode only, cannot be used with MCP_PORT) | true |
| GITGUARDIAN_SCOPES | No | OAuth scopes to request (e.g., 'scan,incidents:read,sources:read,honeytokens:read,honeytokens:write') | |
| GITGUARDIAN_CLIENT_ID | No | OAuth client ID | ggshield_oauth |
| GITGUARDIAN_TOKEN_NAME | No | Name for the OAuth token (Auto-generated based on server type if not set) | |
| GITGUARDIAN_TOKEN_LIFETIME | No | Token lifetime in days (e.g., '30', '60', or 'never') | 30 |
| GITGUARDIAN_PERSONAL_ACCESS_TOKEN | No | Personal Access Token for authentication (alternative to OAuth) |
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 | |