gocloak-mcp
Officialby Nerzal
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KEYCLOAK_URL | Yes | HTTPS Keycloak base URL (a `/auth` prefix is allowed); loopback HTTP is allowed for local development. | |
| MCP_HTTP_ADDR | No | Listen address when `MCP_TRANSPORT=http`. | 127.0.0.1:8080 |
| MCP_TRANSPORT | No | Transport mode: `stdio` or `http` (Streamable HTTP). | stdio |
| KEYCLOAK_REALM | Yes | Default target realm and token-issuing realm. | |
| KEYCLOAK_CLIENT_ID | Yes | Service-account client ID. | |
| MCP_HTTP_BEARER_TOKEN | No | Optional on loopback; required (min 32 chars) when `MCP_HTTP_ADDR` binds to a non-loopback address. | |
| KEYCLOAK_CLIENT_SECRET | Yes | Service-account client secret. | |
| KEYCLOAK_ALLOWED_REALMS | No | Comma-separated allowlist of realms tools may query (`KEYCLOAK_REALM` is always included). | KEYCLOAK_REALM |
| KEYCLOAK_REQUEST_TIMEOUT | No | Per-request timeout; valid range is `> 0` and `<= 2m`. | 15s |
| MCP_HTTP_ALLOWED_ORIGINS | No | Comma-separated additional `Origin` allowlist for browser clients on Streamable HTTP (DNS rebinding protection). | Loopback only |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
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 | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues