Skip to main content
Glama
pvliesdonk

markdown-vault-mcp

by pvliesdonk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OLLAMA_HOSTNoOllama server URL (not MARKDOWN_VAULT_MCP_-prefixed)http://localhost:11434
OPENAI_API_KEYNoOpenAI API key for the OpenAI embedding provider
OPENAI_BASE_URLNoOpenAI-compatible API base URL for embeddings (alternative)https://api.openai.com/v1
FASTMCP_LOG_LEVELNoLog level for FastMCP internalsINFO
OPENAI_EMBEDDING_MODELNoOpenAI-compatible embedding model name (alternative)text-embedding-3-small
MARKDOWN_VAULT_MCP_EXCLUDENoComma-separated glob patterns to exclude from scanning
MARKDOWN_VAULT_MCP_GIT_LFSNoEnable Git LFStrue
FASTMCP_ENABLE_RICH_LOGGINGNoRich key=value text by default; set to 'false' for one-JSON-object-per-record outputtrue
MARKDOWN_VAULT_MCP_BASE_URLNoPublic base URL of the server (e.g. https://mcp.example.com)
MARKDOWN_VAULT_MCP_GIT_TOKENNoToken/password for HTTPS auth (GIT_ASKPASS)
MARKDOWN_VAULT_MCP_HTTP_PATHNoHTTP endpoint path for streamable HTTP transport/mcp
MARKDOWN_VAULT_MCP_READ_ONLYNoSet to 'false' to enable write operationstrue
MARKDOWN_VAULT_MCP_APP_DOMAINNoOverride the Claude app domain used for MCP Apps iframe sandboxing
MARKDOWN_VAULT_MCP_INDEX_PATHNoPath to the SQLite FTS5 index file; set for persistence across restartsin-memory
MARKDOWN_VAULT_MCP_SOURCE_DIRYesPath to the markdown vault directory
MARKDOWN_VAULT_MCP_STATE_PATHNoPath to the change-tracking state file{SOURCE_DIR}/.markdown_vault_mcp/state.json
MARKDOWN_VAULT_MCP_SERVER_NAMENoMCP server name shown to clientsmarkdown-vault-mcp
MARKDOWN_VAULT_MCP_BEARER_TOKENNoStatic bearer token; any non-empty string enables auth
MARKDOWN_VAULT_MCP_FILE_WATCHERNoEnable filesystem-event watcher for external changestrue
MARKDOWN_VAULT_MCP_GIT_REPO_URLNoHTTPS remote URL for managed mode; enables clone/remote validation on startup
MARKDOWN_VAULT_MCP_GIT_USERNAMENoUsername for HTTPS auth promptsx-access-token
MARKDOWN_VAULT_MCP_INSTRUCTIONSNoSystem-level instructions injected into LLM context; defaults to a description that reflects read-only vs read-write state
MARKDOWN_VAULT_MCP_KV_STORE_URLNoUnified key-value backend for HTTP session persistencefile:///data/state
MARKDOWN_VAULT_MCP_OLLAMA_MODELNoOllama embedding model namenomic-embed-text
MARKDOWN_VAULT_MCP_OIDC_AUDIENCENoExpected JWT audience claim
MARKDOWN_VAULT_MCP_SNIPPET_WORDSNoWidth of the snippet window (words) in search results200
MARKDOWN_VAULT_MCP_INDEXED_FIELDSNoComma-separated frontmatter fields to promote to the tag index for structured filtering
MARKDOWN_VAULT_MCP_OIDC_CLIENT_IDNoOIDC client ID registered with your provider
MARKDOWN_VAULT_MCP_PROMPTS_FOLDERNoPath to a directory of .md prompt files that extend or override built-in prompts
MARKDOWN_VAULT_MCP_BUILD_TIMEOUT_SNoMaximum seconds a relational/FTS-backed tool or resource waits for the index to become queryable during a cold-start background build60
MARKDOWN_VAULT_MCP_CHUNKS_PER_FILENoMaximum chunks returned per document in search results2
MARKDOWN_VAULT_MCP_DRAIN_TIMEOUT_SNoMaximum seconds an index-querying read tool waits for the IndexWriter to drain60
MARKDOWN_VAULT_MCP_EMBEDDINGS_PATHNoPath to the numpy embeddings file; required to enable semantic searchdisabled
MARKDOWN_VAULT_MCP_EVENT_STORE_URLNoLegacy alias for KV_STORE_URL; honoured only when KV_STORE_URL is unset
MARKDOWN_VAULT_MCP_FASTEMBED_MODELNoFastEmbed model nameBAAI/bge-small-en-v1.5
MARKDOWN_VAULT_MCP_GIT_COMMIT_NAMENoGit committer name for auto-commitsmarkdown-vault-mcp
MARKDOWN_VAULT_MCP_MAX_CHUNK_CHARSNoCharacter cap the chunker enforces alongside MAX_CHUNK_WORDS
MARKDOWN_VAULT_MCP_MAX_CHUNK_WORDSNoWord cap per chunk400
MARKDOWN_VAULT_MCP_OIDC_CONFIG_URLNoOIDC discovery endpoint
MARKDOWN_VAULT_MCP_OLLAMA_CPU_ONLYNoForce Ollama to use CPU onlyfalse
MARKDOWN_VAULT_MCP_OPENAI_BASE_URLNoOpenAI-compatible API base URL for embeddings
MARKDOWN_VAULT_MCP_REQUIRED_FIELDSNoComma-separated frontmatter fields required on every document
MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAILNoGit committer email for auto-commitsnoreply@markdown-vault-mcp
MARKDOWN_VAULT_MCP_GIT_PUSH_DELAY_SNoSeconds of write-idle time before pushing30
MARKDOWN_VAULT_MCP_TEMPLATES_FOLDERNoRelative folder path where note templates live_templates
MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDERNoEmbedding provider: openai, ollama, or fastembedauto-detect
MARKDOWN_VAULT_MCP_OIDC_CLIENT_SECRETNoOIDC client secret
MARKDOWN_VAULT_MCP_TRANSFER_TTL_MAX_SNoMaximum permitted TTL for transfer links86400
MARKDOWN_VAULT_MCP_FASTEMBED_CACHE_DIRNoFastEmbed model cache directory
MARKDOWN_VAULT_MCP_GIT_PULL_INTERVAL_SNoSeconds between git fetch + ff-only update attempts600
MARKDOWN_VAULT_MCP_MAX_NOTE_READ_BYTESNoMaximum bytes returned by full-document read() for .md files262144
MARKDOWN_VAULT_MCP_OIDC_JWT_SIGNING_KEYNoJWT signing key; required on Linux/Docker
MARKDOWN_VAULT_MCP_OIDC_REQUIRED_SCOPESNoComma-separated required scopesopenid
MARKDOWN_VAULT_MCP_ATTACHMENT_EXTENSIONSNoComma-separated allowed extensions without dot; use '*' to allow all non-.md files
MARKDOWN_VAULT_MCP_GITHUB_WEBHOOK_SECRETNoShared secret for GitHub push-event webhook
MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME_CLAIMNoOIDC claim key to use as the commit author name
MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL_CLAIMNoOIDC claim key to use as the commit author e-mail
MARKDOWN_VAULT_MCP_MAX_ATTACHMENT_SIZE_MBNoMaximum attachment size in MB returned by read() / accepted by write()1.0
MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODELNoOpenAI-compatible embedding model nametext-embedding-3-small
MARKDOWN_VAULT_MCP_TRANSFER_TTL_DEFAULT_SNoDefault token lifetime (seconds) for transfer links3600
MARKDOWN_VAULT_MCP_FILE_WATCHER_DEBOUNCE_SNoSeconds of quiet after the last event before triggering reindex2.0
MARKDOWN_VAULT_MCP_LENGTH_DOWNWEIGHT_ALPHANoDown-weights longer chunks in ranking0.25
MARKDOWN_VAULT_MCP_OIDC_VERIFY_ACCESS_TOKENNoSet 'true' to verify the upstream access token as a JWT
MARKDOWN_VAULT_MCP_TRANSFER_MAX_UPLOAD_BYTESNoPer-upload size cap for transfer links104857600

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/pvliesdonk/markdown-vault-mcp'

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