技能潮 SkillTide 提交收录
官方说明开源项目7 天前
SarutobiSasuke8/obsidian-github-mcp

SarutobiSasuke8/obsidian-github-mcp

Permissioned MCP gateway for AI agent proposals to Obsidian vaults stored on GitHub
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
2 ★ · SarutobiSasuke8/obsidian-github-mcp · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-10 · 最近见到 2026-10-16 · 共见到 11 次 · 被 1 个来源列出
评分构成
综合分 103 · 2 ★ · 1 个来源 · repo
安装
npm install -g @sarutobi-sasuke/obsidian-github-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npm install -g @sarutobi-sasuke/obsidian-github-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 SarutobiSasuke8/obsidian-github-mcp;我们收录于 2026-10-10;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Obsidian GitHub MCP

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A white-label Model Context Protocol server that gives selected AI agents bounded, auditable access to propose changes to an Obsidian vault stored in GitHub.
Each agent receives its own expiring MCP bearer token. The GitHub credential remains server-side. Read and write paths, denials, protected surfaces, proposal branches, and token revocation are controlled by operator-owned YAML files.
> This is an independent open-source project. It is not affiliated with or endorsed by Obsidian or GitHub.
Why use it?
Giving an agent a general GitHub token is difficult to constrain and easy to misuse. This server creates a narrower boundary:
The service has no tools for deleting files, merging branches, pushing to main or master, changing repository settings, editing workflows, or exposing credentials.
Features
- Stateless MCP Streamable HTTP transport
- Unique, expiring bearer tokens stored as SHA-256 bindings
- Per-agent read, write, and deny path globs
- Separate Git broker allowlists and fixed proposal branches
- Configurable frontmatter requirements for shared or sensitive surfaces
- living, review-first, append-only, and immutable note handling
- Path-traversal prevention and file-extension/size allowlists
- Credential-shaped-content detection
- Repository-restricted GitHub App tokens with PAT fallback for local testing
- Content-free JSONL audit records
- Host/origin validation, security headers, rate limiting, and HTTP timeouts
- Docker, CI, tests, and deployment documentation
MCP tools
| Tool | Purpose |
|---|---|
| vault_whoami | Show the authenticated identity, broker, branch, and policy scopes. |
| vault_list_allowed_paths | Explain effective read/write/deny boundaries. |
| vault_explain_access | Dry run a single path. Report whether read, list, or write would be permitted and which policy rule decides it. No GitHub call. |
| vault_list_files | List an authorised directory while filtering denied children. |
| vault_read_file | Read an authorised UTF-8 vault file. |
| vault_create_file | Create a file on the identity's fixed proposal branch. |
| vault_update_file | Update a permitted file while respecting mutability. |
| vault_append_file | Append while preserving all existing bytes. |
Requirements
- Node.js 22+
- An Obsidian vault in a GitHub repository
- A dedicated non-default proposal branch for each broker
- A GitHub App installed only on the vault repository with Contents: read and write, or a fine-grained PAT for local testing
Quick start
Install from source (the current supported path):
Configure .env (specifying your repository and either a GITHUB_TOKEN or GitHub App credentials), replace the sample policy, and put only the generated token's SHA-256 in config/tokens.yaml. Give the raw bearer token to exactly one MCP client.
To verify a checkout before configuring a running service:
These checks use synthetic notes, mock GitHub responses and loopback transports.
They need no GitHub or MCP credentials. Note regressions cover Unicode/path
encoding, CRLF frontmatter, malformed metadata, UTF-8 size limits and append-only
来源
github · https://github.com/SarutobiSasuke8/obsidian-github-mcp
按领域浏览
开源项目
Traction
2 ★
收录于
昨天

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引