Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCPAY_TARGETNoThe upstream MCP server URL that the gateway proxies to (e.g., https://your-mcp-server.example).
MCPAY_MCP_PATHNoThe MCP endpoint path on the upstream server (default is /mcp).
MCPAY_SERVER_IDNoThe server identifier issued by the MCPay dashboard (e.g., srv_example).
MCPAY_USAGE_APINoThe usage records API endpoint (e.g., https://api.example/v1/usage-records).
MCPAY_STATE_FILENoPath to a persistent state file for the gateway (e.g., ./mcpay-gateway.db).
MCPAY_ENVIRONMENTNoThe environment name (e.g., beta).
MCPAY_TOKEN_ISSUERNoThe token issuer identifier (e.g., mcpay.beta).
MCPAY_NONCE_CLAIM_APINoThe nonce claim API endpoint (e.g., https://api.example/v1/gateway/nonces/claim).
MCPAY_USAGE_API_TOKENNoAPI token for the usage records endpoint. Provided as $MCPAY_GATEWAY_API_TOKEN in the README.
MCPAY_CONTROL_PLANE_APINoThe control-plane API URL for fetching gateway configuration (e.g., https://api.example/v1/gateway/servers/srv_example).
MCPAY_VERIFICATION_KEYSNoVerification keys for token signature validation, used when no control-plane API is provided.

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