Skip to main content
Glama
ratio-mcp
by aaearon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RATIO_EMAILYesRatio account email address.
RATIO_MCP_HOSTNoHTTP bind address. Anything else exposes the server to the network.127.0.0.1
RATIO_MCP_PORTNoHTTP port.8000
RATIO_PASSWORDYesRatio account password.
RATIO_MCP_SECRETNoBearer secret required for HTTP mode. At least 32 characters from A-Za-z0-9_-; the server will not start in HTTP mode without it. Use openssl rand -hex 32.
RATIO_TOKEN_PATHNoWhere refreshed tokens are cached (file mode 0600). Defaults to $XDG_STATE_HOME/ratio-mcp/tokens.json, else ~/.local/state/ratio-mcp/tokens.json, and /data/ratio-tokens.json in Docker.
RATIO_MCP_ALLOWED_HOSTSNoComma-separated Host values to accept when behind a proxy, for example ratio.example.com. Defaults to loopback only.
RATIO_MCP_CONTROL_WARNINGNoFree text added to the server instructions and to the start/stop tool descriptions, for example to warn that another system also controls the charger.
RATIO_MCP_ALLOW_PATH_SECRETNoSet to 1, true, or yes to also accept https://<host>/<secret>/mcp for clients that cannot send headers.off

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