原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Obsidian MCP Secure

作者:dewtech-technologies版本 1.0.4i★ –i在你的电脑上运行
注册名称io.github.dewtech-technologies/obsidian-mcp-secure

安装

概览

作者提供的说明(英文原文)

Secure MCP server for Obsidian with OWASP Top 10 controls and full audit logging.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公
  • 你需要填写:OBSIDIAN_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: OBSIDIAN_API_KEY, OBSIDIAN_HOST, OBSIDIAN_PORT, LOG_DIR

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "obsidian-secure": {
      "command": "npx",
      "args": [
        "-y",
        "obsidian-mcp-secure"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "your-value",
        "OBSIDIAN_HOST": "your-value",
        "OBSIDIAN_PORT": "your-value",
        "LOG_DIR": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add obsidian-secure --env OBSIDIAN_API_KEY=your-value --env OBSIDIAN_HOST=your-value --env OBSIDIAN_PORT=your-value --env LOG_DIR=your-value -- npx -y obsidian-mcp-secure

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "obsidian-secure": {
      "command": "npx",
      "args": [
        "-y",
        "obsidian-mcp-secure"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "your-value",
        "OBSIDIAN_HOST": "your-value",
        "OBSIDIAN_PORT": "your-value",
        "LOG_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "obsidian-secure": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "obsidian-mcp-secure"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "your-value",
        "OBSIDIAN_HOST": "your-value",
        "OBSIDIAN_PORT": "your-value",
        "LOG_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • OBSIDIAN_API_KEY 机密 必填 env
    API Key generated by Obsidian's Local REST API plugin (Settings -> Local REST API -> API Key)
  • OBSIDIAN_HOST env
    Host of the Local REST API (default: http://127.0.0.1)
  • OBSIDIAN_PORT env
    Port of the Local REST API (default: 27123)
  • LOG_DIR env
    Directory for audit logs (default: ./logs)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 dewtech-technologies 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 2193 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2193 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 2193 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Obsidian MCP Secure 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:OBSIDIAN_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.4)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

在你的电脑上运行★ 4,276MIT6天前更新
安装

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

在你的电脑上运行★ 847MIT3天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

obsidian-mcp-secure

Secure Model Context Protocol server that turns your Obsidian vault into a reliable data source for any MCP-compatible AI client — built from scratch with OWASP Top 10 controls and full audit logging.

Listed on the official Anthropic MCP Registry as io.github.dewtech-technologies/obsidian-mcp-secure.


🧭 Positioning — this is NOT a plugin for Obsidian

It's the opposite: it's a bridge that lets Claude Desktop (or any MCP client) read and write inside Obsidian safely. Your AI assistant stays where it lives; your vault becomes a structured, auditable datasource it can reach.

┌─────────────────┐   MCP    ┌──────────────────────┐   HTTP   ┌────────────────────┐   FS   ┌─────────────┐

│ │ stdio │ │ :27123 │ │ │ │ │ Claude Desktop │ ───────▶ │ obsidian-mcp-secure │ ───────▶ │ Local REST API │ ─────▶ │ Vault .md │ │ (AI client) │ │ (this package) │ │ (Obsidian plugin) │ │ │ └─────────────────┘ └──────────────────────┘ └────────────────────┘ └─────────────┘

Role in the pipelineComponent
Where you talkClaude Desktop (or any MCP client)
Bridge / access control`obsidian-mcp-secure` (this package)
Data gateway inside ObsidianLocal REST API plugin (by Adam Coddington)
Your knowledge.md files in your vault

One-liner: *Claude is the brain, this MCP is the arm, Obsidian is the memory.*

Why another Obsidian + AI integration?

There are plugins that put Claude *inside* Obsidian. This is the inverse, and it exists because:

  • Your assistant is Claude Desktop — that's where the general-purpose conversations happen. Your notes become one of many contexts Claude can reach, alongside web, GitHub, filesystems, etc.
  • Security is a first-class concern — deliberate attack surface, no shell access, path traversal blocked, inputs validated with Zod, every call audited.
  • Zero build, zero account — npx obsidian-mcp-secure and done. Works on Windows, macOS, Linux the same way.
  • Composability — combine this MCP with fetch, filesystem, git, GitHub, etc., and Claude can cross-reference your vault with external sources in a single conversation.

🛠️ Available Tools

ToolPurpose
read_noteRead a note by path
list_notesList files/folders in the vault or a subdirectory
create_noteCreate a new .md note
edit_noteOverwrite an existing note (previous content goes to the audit log)
delete_noteDelete a note — requires `confirm: true` (Zod rejects otherwise)
search_notesFull-text / tag search using Obsidian's own search engine
find_note_by_nameFind notes by partial name — case-insensitive, no exact path needed
list_tagsEnumerate all tags in the vault with usage count; sortable by name or frequency
create_backlinksAdd [[wikilinks]] to a ## Relacionadas section in a note — explicit and auditable

🔒 Security — OWASP Top 10

ControlImplementation
A01 — Broken Access ControlPath traversal blocked (../, ..\\, encoded variants); .md extension enforced
A02 — Cryptographic FailuresAPI key read from .env or process env; never hardcoded, never logged
A03 — InjectionAll inputs validated with Zod schemas; no eval, no exec, no shell
A04 — Insecure Design512 KB max note size; 50-result cap on search; destructive ops require explicit confirm: true
A05 — Security MisconfigurationOnly 127.0.0.1 / localhost accepted as host
A09 — Logging & MonitoringFull audit log via winston with size-based rotation (5 MB / 10 files)

Every tool call emits an audit line with action, params (sanitized), success, error, and timestamp.


⚡ Installation

Prerequisites
  1. Obsidian Desktop with a vault open
  2. The Local REST API plugin (by Adam Coddington) — install from Community Plugins, enable it, and:
  • Turn on "Enable Non-encrypted (HTTP) Server" (simpler than HTTPS self-signed certs)
  • Copy the API Key shown in the plugin settings
  1. Node.js 18+
  2. Claude Desktop (or another MCP-compatible client)
Configure Claude Desktop

Open %APPDATA%\Claude\claude_desktop_config.json on Windows (or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add:

{

"mcpServers": { "obsidian-secure": { "command": "npx", "args": ["-y", "obsidian-mcp-secure"], "env": { "OBSIDIAN_API_KEY": "your-api-key-from-the-plugin", "OBSIDIAN_HOST": "http://127.0.0.1", "OBSIDIAN_PORT": "27123", "LOG_DIR": "C:/path/to/your/logs" } } } }

Windows tip: if npx fails silently, switch "command": "npx" to "command": "npx.cmd". Some Claude Desktop builds don't resolve bare npx on PATH.

Restart Claude Desktop (tray → Quit, then reopen) and the 9 tools will show up under obsidian-secure.


🤝 Recommended companions

The real power of MCPs is composability. To reproduce the *"read my note → fetch a URL → tell me if I'm applying it correctly"* workflow, add the official fetch MCP alongside this one:

{

"mcpServers": { "obsidian-secure": { "...": "as above" }, "fetch": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-fetch"] } } }

Now Claude has both your vault and the live web in a single conversation.


💬 Example prompts

With obsidian-secure + fetch enabled:

*"Read my note Projeto API Atendimento.md, then fetch https://developers.facebook.com/docs/whatsapp and tell me if my implementation matches the latest best practices."*

*"Search my vault for the tag #ideia and summarize the three ideas that appear most often. Then create a new note called Ideias recorrentes.md with the summary."*

*"Read Atomic Habits - Resumo.md, fetch https://jamesclear.com/atomic-habits, and point out where my notes drifted from the original."*

Claude will orchestrate the tool calls automatically — no manual chaining.


🧩 Comparison with in-Obsidian plugins

If your workflow lives inside Obsidian's sidebar, plugins like obsidian-claude-code are the right fit. This MCP targets a different shape:

Dimensionobsidian-claude-code (in-Obsidian)obsidian-mcp-secure (this)
Where the AI livesSidebar inside ObsidianClaude Desktop (or any MCP client)
Setupgit clone + bun buildnpx obsidian-mcp-secure
ToolsRead/Write/Edit + Bash + Grep + Glob + WebFetch9 purpose-built, Zod-validated tools
Security postureFull shell access to dev machineTight allowlist, audited, OWASP Top 10
DistributionManual clone, requires Bunnpm + official MCP Registry
Composability with other sourcesInside its own sandboxAny MCP-compatible client can mix it with fetch, GitHub, filesystem, etc.
Best forDev who lives in ObsidianProfessional whose main surface is Claude Desktop

Both are valid — they occupy different niches.


🔧 Environment variables

VariableRequiredDefaultDescription
OBSIDIAN_API_KEY✅—API key from the Local REST API plugin
OBSIDIAN_HOSThttp://127.0.0.1Host (only 127.0.0.1 and localhost are accepted)
OBSIDIAN_PORT27123Port of the plugin's HTTP server
LOG_DIR./logsDirectory for the audit log files

🗺️ Roadmap

✅ Shipped in v1.2.1
  • Bug fix: find_note_by_name searches full path (folder + filename)
  • Bug fix: list_tags normalizes all API response formats (object, array of strings, array of objects with tagCount/taggedFilesCount)
✅ Shipped in v1.2.0
  • DXT package for one-click install in Claude Desktop (npm run build:dxt)
✅ Shipped in v1.1.0
  • find_note_by_name — partial, case-insensitive name match across the entire vault
  • create_backlinks — connect related notes with [[wikilinks]] (explicit, auditable)
  • list_tags — enumerate all tags in the vault with usage count
  • Unit test suite (70 tests — utils, handlers, HTTP client) with Vitest
  • CI pipeline on every PR: tests + coverage + npm audit + static security analysis
🔜 Up next
  • Smithery listing
  • Read-only mode flag for shared / multi-user setups

Ideas and PRs welcome — see CONTRIBUTING.md.


📜 License

MIT — see LICENSE.

🙏 Credits


Security issues? See SECURITY.md for disclosure instructions.

问 PopNx