Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BIND_HOSTNoBind address. The tunnel reaches it on localhost. Do not bind 0.0.0.0 unless you understand the implications.127.0.0.1
BIND_PORTNoPort.8765
LOG_LEVELNoDEBUG enables prompt-body logging.INFO
HERMES_MODELNoModel identifier sent to `/v1/chat/completions`.hermes-agent
HERMES_API_KEYYesBearer token for the local Hermes gateway's OpenAI-compatible API (the `API_SERVER_KEY` from `~/.hermes/.env`).
HERMES_API_URLNoBase URL of the running Hermes gateway.http://127.0.0.1:8642
OAUTH_CLIENT_IDYesStatic OAuth 2.1 client ID. Generate with `hermes-mcp mint-client`.
MCP_BEARER_TOKENNoOptional static bearer token (32+ chars). When set, the server accepts `Authorization: Bearer <token>` directly at `/mcp`, in addition to OAuth.
OAUTH_ISSUER_URLYesPublic HTTPS URL where the server is reachable (your tunnel hostname).
MCP_ALLOWED_HOSTSNoComma-separated additional Host header values to accept (typically your public tunnel hostname).
OAUTH_CLIENT_SECRETYesStatic OAuth 2.1 client secret (≥32 chars). Generate with `hermes-mcp mint-client`.
HERMES_REQUEST_TIMEOUT_SECONDSNoMax wall-clock per `hermes_ask` call.300
OAUTH_ALLOWED_REDIRECT_SCHEMESNoComma-separated OAuth redirect-URI custom schemes to accept. `https` and `http`-on-localhost always allowed.claude,claudeai,cursor

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/mlennie/hermes-mcp'

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