Skip to main content
Glama
SquarePiSigma5

cloudflare-dns-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost interface to bind for HTTP transport.127.0.0.1
PORTNoPort to listen on for HTTP transport.8787
TRANSPORTNoTransport mode: 'http' (default) or 'stdio'.http
ADMIN_PORTNoPort for the gateway admin panel, bound to 127.0.0.1 only.8788
ADMIN_PASSWORDNoPassword for the gateway admin panel. If unset, a strong random one is generated and printed once at startup.
GATEWAY_ENABLENoSet to 'true' to enable multi-tenant gateway mode (HTTP transport only). When enabled, no global CLOUDFLARE_API_TOKEN is used.
MCP_AUTH_TOKENNoBearer token required to access the MCP endpoint over HTTP. Not needed for local stdio transport.
ALLOWED_ORIGINSNoComma-separated list of extra browser origins allowed for CORS (DNS-rebinding protection).
GATEWAY_DATA_DIRNoRequired in gateway mode: directory holding agents.json and encrypted secret store files.
GATEWAY_PUBLIC_URLNoOptional public base URL of this /mcp server (e.g. https://cf.example.com) used to fill in connector snippets.
CLOUDFLARE_API_TOKENNoYour Cloudflare API token. The server refuses to start without it in single-tenant mode. The token's scope defines what the server can do.
GATEWAY_SECRET_STORENoSecret store backend: 'file' forces encrypted-file backend; otherwise macOS keychain when available, falling back to file.
ALLOW_UNAUTHENTICATEDNoSet to 'true' to allow HTTP access without MCP_AUTH_TOKEN when authentication is terminated upstream (e.g. Cloudflare Access). Defaults to 'false'.false
CLOUDFLARE_ACCOUNT_IDNoOptional Cloudflare account ID for Workers tools. Falls back to the token's sole visible account; errors if multiple accounts exist.
GATEWAY_MASTER_PASSPHRASENoRequired when the file secret store is used: passphrase from which the AES-256 key is derived via scrypt.
CLOUDFLARE_API_PASSTHROUGHNoControls the raw API passthrough tool: 'read' (default), 'full' (writes require confirm=true), or 'off' (disabled).read
CLOUDFLARE_WORKERS_DEPLOY_ENABLENoSet to 'true' to enable the cloudflare_deploy_worker tool (each call also requires confirm=true).
CLOUDFLARE_WORKER_SECRET_ENV_ALLOWLISTNoComma-separated list of environment variable names that cloudflare_set_worker_secret_from_env may read. Exact, case-sensitive.
CLOUDFLARE_WORKER_SECRET_SCRIPT_ALLOWLISTNoComma-separated list of Worker script names allowed to receive env-sourced secrets. Exact, case-sensitive.

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