Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address ('127.0.0.1' to restrict to localhost)0.0.0.0
PORTNoHTTP port8787
BASE_URLNoPublic URL (for OAuth callbacks when using a tunnel)http://localhost:PORT
DATA_DIRNoDirectory for persisted data (metadata index, auth tokens)~/.obsidian-mcp
LOG_LEVELNoSet to 'debug' for verbose logging (library logs, change feed, index sync)
VAULT_NAMENoVault name (used for deep links and index storage)MyVault
VAULT_PATHNoPath to your Obsidian vault directory (required for filesystem mode)
COUCHDB_URLNoCouchDB server URL (required for CouchDB mode)
COUCHDB_USERNoCouchDB usernameadmin
MCP_AUTH_TOKENNoPassword for authentication
COUCHDB_DATABASENoCouchDB database nameobsidian
COUCHDB_PASSWORDNoCouchDB password (required for CouchDB mode)
MCP_REFRESH_DAYSNoDays before auth session expires14
COUCHDB_PASSPHRASENoLiveSync E2E encryption passphrase (must match plugin setting)
COUCHDB_OBFUSCATE_PROPERTIESNoSet to 'true' if 'Obfuscate Properties' is enabled in LiveSync (obfuscates file paths, sizes, dates in the database)false

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/es617/obsidian-sync-mcp'

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