Skip to main content
Glama
cyanheads

uk-legislation-mcp-server

by cyanheads

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGS_DIRNoDirectory for log files (Node.js only).<app-root>/logs
OTEL_ENABLEDNoEnable OpenTelemetry.false
MCP_AUTH_MODENoAuthentication: `none`, `jwt`, or `oauth`.none
MCP_HTTP_HOSTNoHTTP server host.127.0.0.1
MCP_HTTP_PORTNoHTTP server port.3010
MCP_LOG_LEVELNoLog level (`debug`, `info`, `warning`, `error`, etc.).info
MCP_SESSION_MODENoHTTP session mode: `stateless`, `stateful`, or `auto`. `.env.example` and the Docker image set `stateless`.auto
MCP_TRANSPORT_TYPENoTransport: `stdio` or `http`.stdio
UK_LEGISLATION_CONTACTNoEmail or URL appended to the User-Agent so legislation.gov.uk can reach the operator. Set it on shared deployments.
UK_LEGISLATION_CACHE_MAX_MBNoResponse cache size bound, in MB (`8`–`1024`).64
UK_LEGISLATION_MIN_REQUEST_GAP_MSNoMinimum gap between upstream request starts, in ms, across the process; `250` at least. A longer robots.txt crawl delay for this server's User-Agent raises it. Replicas sharing one User-Agent divide the fair use limit, so use at least 250 ms × replica count.1000

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