Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_SSE_HOSTNoListen host for SSE/remote MCP. Default: 0.0.0.0
MCP_SSE_PORTNoListen port for SSE/remote MCP. Default: 3100. Also settable via PORT.
MCP_AUTH_TOKENNoBearer token required for remote MCP clients.
MCP_CORS_ORIGINNoCORS origin for remote MCP. Defaults to * when MCP_AUTH_TOKEN is set, otherwise no CORS.
READING_HTTP_PORTNoPort for the reader HTTP server. Default: 8787 (when using http.js)
MCP_MAX_BODY_BYTESNoMax JSON-RPC POST body size. Default: 25000000
READING_MCP_DATA_DIRNoDirectory for storing books, annotations, progress, and cards. Default: ./data
READING_IMPORT_MAX_BYTESNoMax EPUB/TXT upload size. Default: 25000000
READING_TRASH_RETENTION_DAYSNoDays to retain trashed books. Default: 30

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/idleprocesscc/co-reading-mcp'

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