Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_CMDNoOverride the server command used by list-tools/call-tool (e.g. "node dist/src/server.js")
PDF_DIRNoDirectory containing source PDFs (overrides config.json pdfDir)
OCR_LANGNoOCR language(s) for ocrmypdf (e.g. eng+fra)eng
PDF_PATHNoPath to the PDF to indexdata/AGLC4.pdf
INDEX_DIRNoDirectory to store built indexes (overrides config.json indexDir)
OCR_FORCENoForce OCR even if a text layer exists (set to 1 to enable)
AUTO_INDEXNoScan and build missing/stale indexes on startup (overrides config.json autoIndex)
WATCH_INDEXNoWatch pdfDir for changes and auto-index (overrides config.json watch)

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

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/russellbrenner/pdfsearch-mcp'

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