Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort number (default 3456).
VAULT_PATHNoAbsolute path to the vault root.
MCP_BASE_URLNoBase URL of the server (e.g., https://mcp.example.com) without /mcp.
MCP_CLIENT_IDNoClient ID for OAuth authentication.
VAULT_READ_ONLYNoSet to true to block write operations.
TOKEN_STORE_PATHNoPath to persist OAuth tokens (default ./tokens.json).
MCP_CLIENT_SECRETNoOptional client secret for OAuth token exchange.
OBSIDIAN_VAULT_IDNoVault ID when multiple vaults in obsidian.json.
VAULT_CONTEXT_PATHNoPath to the vault context note (default AGENTS.md).
VAULT_DISPLAY_NAMENoDisplay name for the vault in the OAuth approval page.
CORS_ALLOWED_ORIGINSNoComma-separated list of allowed CORS origins (default *).
MCP_STATIC_BEARER_TOKENNoStatic bearer token for non-browser clients.
DAILY_NOTE_PATH_TEMPLATENoPath template for daily notes (default Daily/{YYYY}-{MM}-{DD}.md).
MCP_ALLOWED_REDIRECT_URISNoComma-separated list of allowed OAuth redirect URIs.

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/nweii/obsidian-remote-mcp'

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