obsidian-git-sync-mcp
by jjsmackay
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VAULT_PATH | No | Path to the vault git working tree inside the container. | /vault |
| VAULT_MCP_HOST | No | Bind address. Must bind all interfaces inside a container. | 0.0.0.0 |
| VAULT_MCP_PORT | No | Port the MCP transport listens on. | 8420 |
| VAULT_GIT_STAMP | No | Frontmatter timestamp stamping. Falsey value ('0'/'false'/'no'/'off') disables. | |
| VAULT_HOST_PATH | No | Host path mapped to VAULT_PATH (Compose-only). | ./vault |
| VAULT_MCP_TOKEN | Yes | Bearer token MCP clients must present. Required; set a strong random value. | |
| VAULT_GIT_BRANCH | No | Branch to push. Empty = current branch. | |
| VAULT_GIT_REMOTE | No | Remote to push to. Empty = commit-only. | origin |
| VAULT_GIT_ENABLED | No | Master switch for git sync. 'true'/'1'/'yes'/'on' enables; anything else disables. | |
| VAULT_OAUTH_ENABLED | No | Enable OAuth authentication (see .env.example for details). | |
| VAULT_MCP_PUBLIC_URL | No | Canonical public origin advertised in OAuth discovery and auth challenges. | |
| VAULT_OAUTH_CLIENT_ID | No | OAuth client ID. | |
| VAULT_OAUTH_LOGIN_GATE | No | OAuth login gate. | |
| VAULT_GIT_HEARTBEAT_URL | No | Optional URL pinged after each successful push. | |
| VAULT_GIT_PUSH_DEBOUNCE | No | Seconds the event queue must be quiet before push. | 10 |
| VAULT_MCP_ALLOWED_HOSTS | No | Extra hostnames allowed through DNS-rebinding protection (comma-separated). | |
| VAULT_MCP_HEARTBEAT_URL | No | Upstream liveness heartbeat URL. | |
| VAULT_GIT_SWEEP_INTERVAL | No | Seconds between periodic full-tree sweeps. | 60 |
| VAULT_GIT_GIT_AUTHOR_NAME | No | Commit author name. Empty = git's configured identity. | |
| VAULT_OAUTH_CLIENT_SECRET | No | OAuth client secret. | |
| VAULT_OAUTH_REDIRECT_URIS | No | OAuth redirect URIs (comma-separated). | |
| VAULT_GIT_GIT_AUTHOR_EMAIL | No | Commit author email. Empty = git's configured identity. | |
| VAULT_GIT_PUSH_MAX_INTERVAL | No | Upper bound in seconds on time since last push. | 300 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jjsmackay/obsidian-git-sync-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server