Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind host.127.0.0.1
PORTNoBind port.8081
KB_DIRNoFolder of markdown to expose.
MCP_TOKENYesThe access key (64 hex). Required.
KB_CACHE_TTLNoCache lifetime (3 s).
KB_INBOX_DIRNoThe one folder submit_doc may write to (default inbox).inbox
KB_INBOX_TYPENoFrontmatter type written into submissions (default omitted).
KB_WRITE_MODENooff (default — strictly read-only) or inbox (expose submit_doc).off
MCP_SHARE_SLUGNoSeparate throwaway key for /s/<slug>/mcp URL-embedded access.
KB_EXCLUDE_DIRSNoKeep credential-shaped documents out of the index even though they live in KB_DIR.
KB_INBOX_SOURCENoFrontmatter source written into submissions (default mcp).mcp
KB_INBOX_STATUSNoFrontmatter status written into submissions (default raw).raw
MCP_OAUTH_STATENoWhere clients/refresh tokens are stored (chmod 600).
MCP_PUBLIC_BASENoPublic https origin; enables the OAuth shim.
KB_EXCLUDE_GLOBSNoGlob patterns to exclude from the index.
KB_MAX_DOC_BYTESNoIndex size cap (2 MiB).
MCP_ALLOWED_HOSTSNoHost allow-list (e.g. mcp.example.com, *.example.com).
MCP_CF_ACCESS_AUDNoEnable keyless Cloudflare-Access consent (audience tag).
KB_MAX_WRITE_BYTESNoWrite size cap (512 KiB).
MCP_CF_ACCESS_TEAMNoEnable keyless Cloudflare-Access consent (team name).

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