
jimprosser/obsidian-web-mcp 是从 https://github.com/jimprosser/obsidian-web-mcp. 导入的 MCP 服务器候选
概览
jimprosser/obsidian-web-mcp 是从 https://github.com/jimprosser/obsidian-web-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一台安全、远程访问的MCP服务器,允许LLM从任何地方读写你的Obsidian Vault——无论是你的台式机、手机还是酒店Wi-Fi网络。与仅本地的Obsidian MCP服务器不同,这台服务器通过HTTPS(HTTPS)运行并实现真实认证,因此无论你是否在办公桌前,Claude(或任何MCP客户端)都能访问你的vault。
它能读写磁盘上的标记文件,解析YAML frontmatter,维护内存中的Frontmatter索引以供快速查询,并处理全文搜索——所有这些都依赖OAuth 2.0认证和Cloudflare隧道,从不直接暴露你的机器到互联网。
为什么会有这样的存在
Obsidian MCP 服务器有很多。大多数是本地 stdio 服务器——当 Claude Code 运行在和你的保险库同一台机器上时,它们是正常工作的。这很有用,但意味着:
- ** Claude.ai(网页)无法访问您的保险库。** 基于浏览器的 Claude 无法连接到本地的 stdio 服务器。
- 你手机上的Claude无法访问你的保险库。 同样的问题。
- 如果你使用Obsidian Sync,本地MCP服务器可能会损坏文件。 非原子写入会生成部分文件,Sync会传播到每个设备。
这个服务器解决了这三个问题。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
obsidian-web-mcp
A secure, remote-accessible MCP server that gives LLMs read/write access to your Obsidian vault from anywhere – your desktop, your phone, a hotel Wi-Fi network. Unlike local-only Obsidian MCP servers, this one runs over HTTPS with real authentication, so Claude (or any MCP client) can reach your vault whether you’re at your desk or not.
It reads and writes markdown files on disk, parses YAML frontmatter, maintains an in-memory frontmatter index for fast queries, and handles full-text search – all behind OAuth 2.0 authentication and a Cloudflare Tunnel that never exposes your machine directly to the internet.
Why This Exists
There are many Obsidian MCP servers. Most are local stdio servers – they work when Claude Code is running on the same machine as your vault. That’s useful, but it means:
- Claude.ai (web) can’t reach your vault. The browser-based Claude has no way to connect to a local stdio server.
- Claude on your phone can’t reach your vault. Same problem.
- If you use Obsidian Sync, local MCP servers can corrupt files. Non-atomic writes create partial files that Sync propagates to every device.
This server solves all three. It runs as a persistent HTTP service on the machine where your vault lives, tunneled securely through Cloudflare, and authenticates via OAuth 2.0 – the same protocol Claude uses for Gmail, Google Calendar, and other integrations. The result: your vault becomes a first-class MCP connector available everywhere Claude is.
Architecture
+----------+ +------------+ +-----------------+ +------------------+
| Obsidian | | Filesystem | | obsidian-web-mcp| | Cloudflare |
| (app) | | (*.md) | | (MCP over HTTPS)| | Tunnel |
+----------+ +------------+ +-----------------+ +------------------+
|
+------+-------+
| Claude |
| (web/desktop/|
| mobile) |
+--------------+
Your vault files never leave your machine. Cloudflare Tunnel creates an outbound-only connection from your server to Cloudflare’s edge – no inbound ports opened, no public IP exposed, no port forwarding. Claude connects to the Cloudflare edge, which relays requests through the tunnel to your server.
Obsidian and the MCP server both operate on the same directory of markdown files. The server uses atomic writes (write-to-temp-then-rename) so Obsidian Sync and the server never conflict.
Security Model
This is a server that provides network access to your personal notes. Security is not optional.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →