obsidian-kb
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@obsidian-kbsearch for notes about MCP"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ObsidianKB MCP Server
Git-backed MCP server for creating and maintaining an Obsidian-style markdown knowledge base.
Implemented Scope
Full MCP toolset:
kb_create,kb_search,kb_get,kb_update,kb_list,kb_delete,kb_syncSeven skills and templates: bug report, API doc, component doc, changelog, ADR, guide, runbook
Frontmatter-aware markdown read/write and path safety checks
MiniSearch indexing with filters and field boosting
Git pull/commit/push workflow
obsidian-kb-mcp init [path]scaffold commandCI workflow (
.github/workflows/validate.yml)
Related MCP server: md-graph
Requirements
Node.js 20+
Git installed and configured
Installation
npm install
npm run buildUsage
Run as MCP server (stdio transport):
node dist/index.jsInitialize a vault scaffold:
node dist/index.js init ./my-kbConfiguration
Create obsidian-kb.config.json in the runtime working directory:
{
"vault_path": "/absolute/path/to/obsidian-kb",
"remote": "origin",
"default_branch": "main",
"auto_pull_before_read": true,
"auto_push_after_write": true,
"default_author": "your-github-username",
"commit_prefix": "[kb]",
"search": {
"boost": {
"title": 3,
"tags": 2,
"body": 1
},
"fuzzy": 0.2
}
}Environment overrides:
OBSIDIAN_KB_VAULT_PATHOBSIDIAN_KB_AUTHOROBSIDIAN_KB_AUTO_PUSH
Scripts
npm run dev- run server in tsxnpm run build- bundle with tsupnpm run lint- biome checknpm run format- biome formatnpm test- vitest
MCP client example (Cursor)
{
"mcpServers": {
"obsidian-kb": {
"command": "node",
"args": ["/absolute/path/to/obsidianKB/dist/index.js"],
"env": {
"OBSIDIAN_KB_VAULT_PATH": "/absolute/path/to/obsidian-vault",
"OBSIDIAN_KB_AUTHOR": "your-github-username"
}
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/sanieni6/obsidianKB'
If you have feedback or need assistance with the MCP directory API, please join our Discord server