Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port when using HTTP transport.3000
KAVITA_URLYesRequired. Self-hosted Kavita origin, http or https, no userinfo, query, or hash. Hosts on kavitareader.com and its subdomains are refused. There is no default base URL.
MCP_TRANSPORTNoTransport mode: stdio or http. --http overrides this.
KAVITA_API_KEYNoAuth Key from User Settings. Sent as the x-api-key header. Can be used instead of KAVITA_USERNAME and KAVITA_PASSWORD.
KAVITA_CONTACTNoContact token in the User-Agent. Must not contain the key or password.
KAVITA_PASSWORDNoPassword for the KAVITA_USERNAME login. The connector posts /api/Account/login once and refreshes the JWT once after a 401.
KAVITA_TOOLSETSNoComma list of toolsets, or all. Default is the read-focused set.
KAVITA_USERNAMENoOptional login username. Set together with KAVITA_PASSWORD when no Auth Key is set.
KAVITA_PER_MINUTENoLocal request budget. Cache hits do not spend it.30
KAVITA_TIMEOUT_MSNoUpstream timeout in milliseconds.20000
KAVITA_ALLOW_WRITESNoMust be the literal true before a confirmed write is sent. The string "true" is rejected.
KAVITA_CACHE_TTL_SECNoRead cache TTL in seconds. Writes clear the cache.60

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