Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAZA_MCP_MODENoauto / rpc / indexer / demo; auto serves whichever of node and indexer is configured.auto
MAZA_MCP_AUDITNoOne JSON line per call, redacted; 0 turns it off.1
MAZA_MCP_DEBUGNoRaise errors instead of encoding them.0
MAZA_MCP_PRICENoFreiExchange + CMC (mainnet only, fail-closed); a dollar limit is converted at it.1
MAZA_MCP_NETWORKNomain / test / regtest.main
MAZA_MCP_RPC_URLNomazad JSON-RPC; required in rpc mode (e.g. http://127.0.0.1:12832). Or set MAZA_MCP_RPC_PORT=<n> for http://127.0.0.1:<n>. Read in rpc mode, and in auto mode when it is set.
MAZA_MCP_ALLOW_TONoComma-separated payee allowlist for send. Bounds where send may pay; broadcast_tx does not consult it.
MAZA_MCP_RPC_PORTNoPort for mazad JSON-RPC on 127.0.0.1; alternative to MAZA_MCP_RPC_URL.
MAZA_MCP_RPC_USERNomazad JSON-RPC username; use with MAZA_MCP_RPC_PASSWORD, or use MAZA_MCP_RPC_COOKIE instead.
MAZA_MCP_STATE_DIRNoCaps ledger, stored limits and audit log (0700).~/.maza-mcp
MAZA_MCP_ALLOW_SENDNoSpending needs an explicit yes.0
MAZA_MCP_RPC_COOKIENoPath to mazad's .cookie file; alternative to MAZA_MCP_RPC_USER and MAZA_MCP_RPC_PASSWORD.
MAZA_MCP_SPEND_FROMNoSpend only the coins of these addresses (comma-separated).
MAZA_MCP_ALLOW_ADMINNoDiagnostics, backup, allowlisted RPC (rpc mode only).0
MAZA_MCP_INDEXER_URLNoRead-only chain data; no default endpoint is hardcoded — point it at your indexer. Required in indexer mode; read in auto mode when it is set.
MAZA_MCP_CONFIRM_SENDNoAdditionally require the preview token for send.0
MAZA_MCP_EXPLORER_URLNoYour own explorer for links.
MAZA_MCP_MAX_SEND_USDNoPer-transaction cap in dollars (mainnet; needs the price feed).
MAZA_MCP_RPC_PASSWORDNomazad JSON-RPC password; use with MAZA_MCP_RPC_USER, or use MAZA_MCP_RPC_COOKIE instead.
MAZA_MCP_MAX_DAILY_USDNoPer-UTC-day cap in dollars, converted at the held MAZA price when a payment is checked, rounded down; a limit that buys no satoshi at that price is refused amount_below_one_satoshi.
MAZA_MCP_MAX_SEND_MAZANoPer-transaction cap in coins (any network).
MAZA_MCP_CHANGE_ADDRESSNoFixed change address (needs MAZA_MCP_SPEND_FROM); checked for validity and network.
MAZA_MCP_MAX_DAILY_MAZANoPer-UTC-day cap in coins. One unit per server.
MAZA_MCP_ALLOW_BROADCASTNoRaw-tx broadcast: relays a transaction signed elsewhere. Outputs capped like a payment; both caps must be set; payee list does not apply; no preview step.0

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