Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoAlternative to MCP_SSE_PORT for the listen port. Defaults to 3100 if used.
MCP_SSE_HOSTNoListen host for the remote MCP server. Defaults to 0.0.0.0.
MCP_SSE_PORTNoListen port for the remote MCP server. Defaults to 3100. Can also use PORT.
MCP_AUTH_TOKENNoBearer token required by remote clients. Also used for reader authentication. If set, the reader, static assets, API, and MCP endpoints require it. Defaults to no token (local-only mode).
MCP_CORS_ORIGINNoCORS origin for the remote server. When MCP_AUTH_TOKEN is set, defaults to '*'; when unset, defaults to no CORS headers (blocks cross-origin requests).
READING_HTTP_PORTNoPort for the bundled HTTP reader and REST API when using http.js. Defaults to 8787.
MCP_MAX_BODY_BYTESNoMaximum JSON-RPC POST body size in bytes. Defaults to 25000000.
READING_MCP_DATA_DIRNoDirectory where reading data is stored. Defaults to './data'.
READING_IMPORT_MAX_BYTESNoMaximum EPUB/TXT upload size in bytes. Defaults to 25000000.
READING_TRASH_RETENTION_DAYSNoNumber of days to keep items in trash before pruning. Defaults to 30. Set to 0 to keep trash forever.

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