AI Skill Hub 强烈推荐:Obsidian MCP连接器 是一款优质的MCP工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Obsidian MCP连接器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Obsidian MCP连接器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/istefox/obsidian-mcp-connector
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"obsidian-mcp---": {
"command": "npx",
"args": ["-y", "obsidian-mcp-connector"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Obsidian MCP连接器 执行以下任务... Claude: [自动调用 Obsidian MCP连接器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"obsidian_mcp___": {
"command": "npx",
"args": ["-y", "obsidian-mcp-connector"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Features | Installation | Quick setup for clients | Migration from 0.3.x | Prompts | Command execution | Troubleshooting | Security | Development | Support
MCP Connector lets AI applications like Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf, and VS Code securely access and work with your Obsidian vault through the Model Context Protocol. [^2]
When connected to an MCP-compatible client, this plugin enables:
get_vault_file, create_vault_file, patch_vault_file, rename_vault_file, rename_heading, list_vault_files, create_vault_directory, delete_vault_directory, …) with native binary content for images and audio. Missing parent directories on a create/append path are auto-created. rename_vault_file preserves link integrity across the vault via app.fileManager.renameFile; rename_heading renames a heading in place and rewrites every wikilink / markdown link / subheading-path reference pointing at it across the vault.search_vault_smart over an on-device embedding index. Four providers available on demand: native MiniLM-L6-v2 (~25 MB, default), Gemma 300M (768d, recommended for non-Latin vaults), Multilingual-E5-Base (768d), and Smart Connections (if installed). Providers download once and swap live without restart; the vault is re-indexed in the background while the previous provider continues serving. A startup banner suggests the best provider based on your vault's character distribution.search_vault_simple (text + context windows) and search_vault (DQL / JsonLogic via Local REST API). execute_dataview_query runs Dataview DQL in-process via the plugin API — returns typed results (table / list / task / calendar) without requiring Local REST API.get_or_create_daily_note, get_or_create_periodic_note (daily / weekly / monthly / quarterly / yearly), and append_to_periodic_note. Each call auto-creates the note with your configured template if it doesn't exist yet. Works with both the native Daily Notes plugin and the Periodic Notes community plugin.get_vault_file_partial (frontmatter field, heading section, block range, or document outline — context-efficient partial read), list_tags (all vault tags with usage counts), get_files_by_tag (files by tag, hierarchical matching), get_recent_files (recently modified files ordered by mtime), get_outgoing_links (all links emanating from a note: wikilinks, markdown links, embeds, frontmatter links), get_backlinks (files that link to a given note).find_broken_links (all wikilink, markdown, embed, and frontmatter link targets that don't resolve, with source file + line number), find_orphaned_notes (notes with zero incoming resolved links), search_and_replace (regex find-and-replace across vault or scoped paths, dry_run:"true" by default for safe preview), get_note_outline (heading TOC with level, text, line number, and anchor slug), list_bookmarks (full native Obsidian bookmark hierarchy: files, folders, searches, headings, blocks, groups).Prompts/ folder. No plugins required — the in-process renderer handles everything. See Using prompts below.editor:toggle-bold, graph:open) from a per-vault allowlist. Disabled by default; every invocation is audited. See Command execution below.fetch tool retrieves arbitrary URLs and returns Markdown via Turndown, with pagination for long pages.43 MCP tools in total. Full list in the plugin's settings → Tools available section.
Prompts (capital P) at the root of your vault. That's it — no additional plugins required. The prompt renderer runs in-process inside the plugin.If you use other Templater expressions in the prompt body (e.g. <% tp.date.now() %>), they are passed through verbatim — the MCP server does not evaluate them. Only <% tp.mcpTools.prompt(…) %> declarations and {{arg}} placeholders are processed.
mise.toml)MCP Connector is available in the Obsidian community plugin store and via BRAT — use either.
The plugin settings expose three Copy config buttons — one per supported client family. Each button copies a ready-to-paste JSON snippet to the clipboard.
Once configured, your client should expose 43 MCP tools from this server, plus any prompts you have tagged with #mcp-tools-prompt in a Prompts/ folder at your vault root.
To verify the connection works end-to-end, ask the agent to call get_server_info. A successful response confirms the client can reach the in-process server and the bearer token is correct. For deeper inspection (request/response logs, tool schema inspection without an LLM in the loop), use @modelcontextprotocol/inspector:
```bash npx -y @modelcontextprotocol/inspector
MCP mcp-tools-istefox: Server disconnected; its logs show ECONNREFUSED 127.0.0.1:<port>.claude_desktop_config.json may point at an old walked port while 0.4.9 now correctly binds the default. 0.4.9 fixes the walk; the stale config is a one-time leftover from the old build, not a recurring issue.claude_desktop_config.json at launch; closing the window or an in-app restart is not enough. With auto-write on (the default) the plugin keeps the config in sync afterward.claude_desktop_config.json (http://127.0.0.1:<port>/mcp) matches the port the plugin logs on start (Settings → Open Logs), ensure only one Obsidian vault has the plugin enabled (two instances contend for the port), then fully restart Claude Desktop again.bun install # Install workspace dependencies
bun run check # Type-check every package
bun run dev # Watch all packages
bun run build # Production build
The plugin's main.js is written at the package root (packages/obsidian-plugin/main.js); Obsidian expects that path. Do not move it.
execute_template tool. The prompt library works without it.search_vault tool (DQL / JsonLogic queries). All other tools work without it. [^4]Prefer the latest build, or the store entry hasn't propagated to your client yet? Install via BRAT:
istefox/obsidian-mcp-connector.That's it. No binary to install, no separate download. The MCP server starts as soon as you enable the plugin.
Under the Advanced disclosure you can override the soft rate-limit warning threshold (default: 30 calls/minute). When the agent exceeds this rate, the confirmation modal surfaces a red banner so you can spot a runaway loop. The threshold is informational only — the in-process MCP server's hard limit of 100/minute is enforced server-side and is not configurable from the UI.
This section covers the 90% case. For the complete contract (folder naming, frontmatter schema, parameter parsing rules, execution flow, known limitations), see docs/features/prompt-system.md.
app.vault and app.workspace APIs (Obsidian's permission model applies).Click Copy config for streamable-http clients. The snippet uses the generic streamable-http payload shape these clients accept; consult each client's own docs for the exact config-file location and any wrapping keys.
If you encounter issues:
高质量的Obsidian MCP连接器,扩展了Obsidian的功能
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Obsidian MCP连接器 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | obsidian-mcp-connector |
| Topics | obsidianmcptypescript |
| GitHub | https://github.com/istefox/obsidian-mcp-connector |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-01 · 更新时间:2026-06-01 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端