Skip to main content
Glama
MCP Code Mode Gateway

MCP Code Mode Gateway

by Matsu132

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoGateway listener port.
BIND_HOSTNoGateway bind host.
AUDIT_PATHNoPath to the SQLite audit storage file.
STATE_PATHNoPath to the policy and settings state file.
CONFIG_PATHNoPath to the operator-managed bootstrap configuration file.
GATEWAY_URLNoThe admin UI server-side URL for the Gateway.
ALLOWED_HOSTNoExact allowed Host header value, required for reverse proxies.
OAUTH_CONFIGNoJSON configuration for authenticating via a trusted external JWT issuer, including issuer, jwks, resource, and users.
GATEWAY_TOKENNoRandom string of at least 32 characters for static single-identity authentication.
ADMIN_SUBJECTSNoComma-separated list of trusted OAuth subject IDs to bootstrap as administrators.
ALLOWED_ORIGINNoAllowed browser Origin value.
UPSTREAMS_PATHNoPath to the persisted active upstream server configuration.
UPSTREAM_OAUTH_KEYNoStable random 32-byte base64url key for encrypting upstream OAuth credentials.
UPSTREAM_OAUTH_PATHNoPath to the encrypted upstream OAuth credential vault.
AUDIT_RETENTION_DAYSNoNumber of days to retain audit events; defaults to 30.
EXECUTION_QUEUE_SIZENoDefault execution queue size; defaults to 8.
EXECUTION_TIMEOUT_MSNoDefault execution timeout in milliseconds; defaults to 15000.
UPSTREAM_CREDENTIALSNoJSON array of endpoint-bound Bearer credential variable bindings.
EXECUTION_CONCURRENCYNoDefault maximum concurrent executions; defaults to 4.
UPSTREAM_OAUTH_CONFIGNoJSON array of delegated upstream OAuth client bindings.
EXECUTION_QUEUE_WAIT_MSNoDefault queue wait timeout in milliseconds; defaults to 5000.
ADDITIONAL_ALLOWED_HOSTSNoAdditional allowed Host header values.
UPSTREAM_OAUTH_REDIRECT_URLNoExact administrator UI OAuth callback URL.

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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources