Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port (when TRANSPORT=http)3402
NWC_URINoNostr Wallet Connect URI for autonomous Lightning payments
TOR_PROXYNoSOCKS5 proxy for .onion addresses (e.g. socks5h://127.0.0.1:9050)
TRANSPORTNoTransport mode: stdio or httpstdio
SOCKS_PROXYNoGeneric SOCKS5 proxy for all requests when set
CASHU_TOKENSNoPath to Cashu token store file
HNS_GATEWAY_URLNoHTTP gateway for Handshake (.hns) domains (e.g. https://hns.to)
CREDENTIAL_STORENoPersistent macaroon/credential storage~/.402-mcp/credentials.json
MAX_AUTO_PAY_SATSNoSafety cap; payments above this require human confirmation1000
TRANSPORT_PREFERENCENoPreferred transport order for multi-URL services (comma-separated)onion,hns,https,http

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgesworn/402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server