Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CORPUS_DBNoIndex file (derived; can be rebuilt)/var/lib/corpus-mcp/corpus.db
CORPUS_HOSTNoHTTP listen address0.0.0.0
CORPUS_PORTNoHTTP listen port8000
CORPUS_DATA_DBNoPrimary data such as pinned citekeys (never rebuilt)/var/lib/corpus-mcp/data.db
CORPUS_LIBRARIESNoComma-separated library folders to indexmain
CORPUS_ACCESS_AUDNoCloudflare Access audience (AUD) used to verify identities for admin writes
CORPUS_BACKUP_DIRNoWhere corpus-mcp backup writes daily copies of data.db (14 kept)/var/lib/corpus-mcp/backups
CORPUS_BOOKS_ROOTNoDirectory containing one folder per Calibre library/srv/corpus/books
CORPUS_VOCABULARYNoPath to the vocabulary JSON file (corpus-vocabulary/1) that the server reads and reloads when it changes/var/lib/corpus-mcp/vocabulary.json
CORPUS_EXCLUDE_TAGSNoCalibre tags that keep a book out of the indexprivate
CORPUS_CITEKEY_PRESETNoPreset used to build proposed citekeys; author-year-word (the default) or bbt-defaultauthor-year-word
CORPUS_ACCESS_TEAM_DOMAINNoCloudflare Access team domain used to verify identities for admin writes

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