Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoTime zone used for determining 'today'.system
PORTNoPort on which the server listens on 127.0.0.1.8787
RG_PATHNoPath to the ripgrep executable.rg
DAILY_DIRNoFallback folder for daily notes when Obsidian's daily-notes settings omit it.
INBOX_DIRNoFolder for notes created with only a title.vault root
MCP_TOKENYesBearer token used for authentication. Must be at least 32 characters. Required.
SYNC_UNITNosystemd unit to check for sync status. Empty turns the check off.obsidian-sync
VAULT_DIRYesAbsolute path to the Obsidian vault. Required.
ACCESS_MODENoAccess mode: 'read' or 'write'. 'full' is reserved and the server refuses to start with it.read
STALE_HOURSNoAge of the newest vault change that triggers the stale warning.24
DAILY_FORMATNoFallback Moment.js format for daily notes when Obsidian's daily-notes settings omit it.YYYY-MM-DD
ALLOWED_HOSTSNoComma-separated accepted Host header names. Add your tunnel's public hostname if requests arrive with it.localhost,127.0.0.1
OB_CONFIG_DIRNoDirectory where obsidian-headless keeps its state, e.g. ~/.config/obsidian-headless on Linux.ob's default
READONLY_DIRSNoComma-separated vault-relative folders that are never written.
DAILY_TEMPLATENoFallback template for daily notes when Obsidian's daily-notes settings omit it.
READ_MAX_BYTESNoLargest note size the server reads.1048576
SYSTEMCTL_PATHNoPath to the systemctl executable.systemctl
IMAGE_MAX_BYTESNoLargest image size that read_image returns.5242880
WRITE_MAX_BYTESNoLargest note size the server writes.1048576
SEARCH_MAX_RESULTSNoCap on search results.200

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