Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CNKI_DATA_DIRNoSQLite database directory (tasks / download records / metadata cache)../data
CNKI_HEADLESSNoRecorded only; CNKI returns 403 in headless mode, so the code still launches headed.0
CNKI_LOG_LEVELNoLog level (output to stderr).INFO
CNKI_PROFILE_DIRNoEdge persistent directory (login/captcha cookies). Each client should use a different profile dir for concurrent multi-client use../profile
CNKI_DOWNLOAD_DIRNoDefault PDF save directory. Also used in the example client config env../downloads
CNKI_PDF_READ_ANYNoWhen set to 1, allows cnki_read_pdf to read arbitrary paths.0
CNKI_BROWSER_CHANNELNoBrowser channel; can be changed to chrome.msedge
CNKI_DOWNLOAD_DELAY_SNoThrottle delay in seconds between downloads during batch download.6
CNKI_DOWNLOAD_TIMEOUT_SNoPer-document download wait time in seconds.90

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