Turbovault 标志

Turbovault

组织
Epistates

Markdown and OFM SDK w/ MCP server that transforms your Obsidian vault into an intelligent knowledge system

发布者Epistates
代码仓库turbovault
语言Rust
复刻数
29
星标数
155
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Turbovault 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 155 个星标和 29 个复刻。

TurboVault

Crates.io Docs.rs License Rust 1.90+ Ask DeepWiki

  • MCP Registry name: mcp-name: io.github.epistates/turbovault

TurboVault is an MCP server that gives AI agents safe, fast access to Obsidian vaults, and a set of Rust crates for working with Obsidian Flavored Markdown. It's a single binary with no runtime dependencies.

  • Writes you can trust. Every change goes through one write path: atomic renames with hash preconditions on a plain folder, or one Git commit per write (or per batch) on a Git-backed vault. Moving a note rewrites the wikilinks, Markdown links, reference links and canvas cards that point at it in the same change.
  • An index that can't miss an edit. Before serving search, graph or similarity results, TurboVault compares the vault against what it last indexed and applies what changed, so edits from Obsidian, a sync client or git pull are always seen, even on network and cloud-synced vaults where file watchers report nothing.
  • Knowledge-aware tools. Full-text search, link graph analysis, similarity, health scoring, Obsidian Bases, canvases, tasks and periodic notes, plus SQL over frontmatter.
  • Built for agents. Every tool has parameter descriptions, annotations, a typed output schema, paged results and errors that say what to do next. Notes are MCP resources you can subscribe to, and destructive calls ask the user first when the client supports it.
  • Safe by default. Vault registration is confined, protected folders (.obsidian, .git) are unreachable, and network transports require authentication.

Install

Prebuilt binaries. Each GitHub release has archives for Linux (x86_64 and aarch64, glibc and musl), macOS (Intel and Apple silicon) and Windows (x86_64), built with every feature. Each archive has a .sha256 file and a signed build provenance attestation:

bash
gh attestation verify turbovault-x86_64-unknown-linux-gnu.tar.gz --repo Epistates/turbovault

From crates.io:

bash
cargo install turbovault                       # stdio only, all you need for Claude Desktop and Claude Code
cargo install turbovault --features release    # what the prebuilt binaries have

Other features: http, websocket, tcp, full (all cross-platform transports), unix, sql (SQL over frontmatter) and vector-search (the vector search plugin).

Docker: ghcr.io/epistates/turbovault:<version> (amd64 and arm64). Mount the vault at /var/obsidian-vault:

bash
docker run -i --rm -v "$HOME/Documents/Vault:/var/obsidian-vault" ghcr.io/epistates/turbovault:4.0.0

MCP Registry: listed as io.github.epistates/turbovault, with cargo and OCI packages.

Quick start

Claude Code:

bash
claude mcp add turbovault -- turbovault --vault ~/Documents/Vault

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

json
{
  "mcpServers": {
    "turbovault": {
      "command": "/path/to/turbovault",
      "args": ["--vault", "/path/to/your/vault", "--profile", "production"]
    }
  }
}

Leave out --vault to start with no vault and let the agent register one with add_vault. Runtime-registered vaults are remembered across restarts. For several vaults, a Git backend or per-vault settings, use a config file: see config.example.yaml and the configuration guide.

A good first call is get_vault_context: it returns the registered vaults, the active vault's counts and health, and the tools grouped by task.

Tools

tools/list shows the core tools by default. The ones marked (advanced) are callable by name all the same, and listed with --show-advanced-tools (see the configuration guide). Every tool that works inside a vault takes an optional vault argument naming the registered vault to run against; without it, the active vault. Coming from 3.x, docs/migration/4.0.md maps every old tool name to its replacement.

Notes (9)

  • get_vault_context: Start here: vault status, health, the markdown dialect and the tools by task
  • read_note: Note content (whole, or by lines and sections) with the hash for conflict detection
  • write_note: Create, overwrite, append or prepend (auto-creates directories)
  • edit_note: Surgical edits via SEARCH/REPLACE blocks
  • delete_note: Delete a note, refusing while other notes link to it (or striking their links through)
  • move_note: Rename or relocate a note; Git-backed vaults atomically rewrite incoming wikilinks, Markdown links and canvas references
  • get_notes_info: Existence, size, modified time, chosen frontmatter values and tags for several notes at once
  • move_file (advanced): Move or rename any file, such as an image or PDF
  • diff_notes (advanced): Unified diff between two notes, or between a note and an audited version

Batch & Git Fanout (3)

  • batch_execute: One all-or-nothing commit with write_backend: git; direct stays sequential
  • fanout (advanced): begin, commit or abandon an isolated Git worktree for long or parallel work
  • list_orphan_fanouts (advanced): Worktrees left behind by interrupted sessions

Links & Graph (5)

  • get_links: A note's backlinks (incoming, canvases included) or outgoing links
  • get_related_notes: Multi-hop graph traversal
  • graph_report: One list about the graph: hubs, centrality, dead_ends, isolated_clusters, cycles or broken_links
  • vault_health: 0-100 health score with counts; depth: full adds dead-end and hub counts
  • explain_vault: Holistic overview of structure, health, hubs and next actions

Search & Similarity (6)

  • search: BM25 search by keyword, narrowed by tags, frontmatter and folders, or related_to a note
  • find_similar: Notes about a topic or like a given note, by TF-IDF meaning rather than exact words
  • query_metadata: One frontmatter condition (equals, contains, >, <), with each match's frontmatter
  • find_duplicates (advanced): Near-duplicate pairs across the vault
  • compare_notes (advanced): How alike two notes are and how strongly the graph links them
  • suggest_links (advanced): Notes a note could link to, with reasons

Frontmatter & Tags (4)

  • update_frontmatter: Patch frontmatter fields (merge or replace)
  • manage_tags: Add or remove frontmatter tags
  • inspect_frontmatter (advanced): Frontmatter as SQL columns (feature: sql)
  • query_frontmatter_sql (advanced): Read-only SQL over frontmatter, tags and links via GlueSQL (feature: sql)

Canvases, Bases, Tasks & Periodic Notes (5)

  • read_canvas: Read a .canvas (JSON Canvas 1.0): nodes, edges and the notes it points at
  • write_canvas: Create or replace a canvas, validated against the spec and written the way Obsidian writes it
  • query_base: Run a .base file's filters, formulas, sort, grouping and limit over the vault's notes
  • query_tasks: Find tasks by status, due and scheduled dates, tag, folder, priority and text (Tasks plugin emoji and Dataview fields)
  • get_periodic_note: Find or create the daily, weekly, monthly, quarterly or yearly note, using the vault's Daily notes or Periodic Notes settings

Quality & Open Knowledge Format (8)

  • validate_vault: Problems Obsidian would trip on (pre-1.9 tags/aliases, bad frontmatter, broken links), by note and severity, for one note or the vault
  • note_quality (advanced): Quality score for one note, or the vault-wide report
  • find_stale_notes (advanced): Notes not modified within a threshold of days
  • analyze_grounding (advanced): A note's claims and citations for an external judge, or the vault's uncited notes
  • okf_validate (advanced): Validate the vault as an OKF v0.1 bundle; usable as a CI gate
  • generate_index (advanced): Generate or refresh index.md files for progressive disclosure (idempotent)
  • append_log_entry (advanced): Append a dated entry to a folder's log.md (OKF section 7)
  • visualize (advanced): Render the graph as a self-contained HTML file

Templates & OFM (4)

  • list_templates: Available templates with their fields, or one by template_id
  • create_from_template: Render and write a templated note
  • find_notes_from_template (advanced): Notes created from a template
  • get_ofm_guide: The Obsidian Flavored Markdown quick_ref, full syntax guide or an example note

Vaults (4)

  • list_vaults: Registered vaults and the active one; with name, that vault's full configuration
  • add_vault: Register a vault folder at runtime, or create: true to create it first
  • set_active_vault: The vault tools use when a call names none
  • remove_vault (advanced): Unregister a vault (its files are untouched)

Audit & Export (4)

  • audit_log (advanced): Change log with operation ids, or summary: true for statistics and the hash-chain check
  • rollback_preview (advanced): What a rollback would change (read-only)
  • rollback_note (advanced): Undo a change by operation id (audited, itself undoable)
  • export (advanced): A health, broken_links, stats or analysis report as JSON or CSV

Resources, prompts and confirmation

  • Notes as resources. Every note is obsidian://note/{vault}/{path}: listed, read as markdown, and subscribable. Subscribers hear when a note changes, whether TurboVault or another editor changed it.
  • Prompts. triage_vault, repair_broken_links, review_period, summarize_note and ground_draft, with completion for their arguments.
  • Progress and cancellation. Slow tools report progress, and a cancelled call stops before it writes anything.
  • Confirmation. delete_note, a move_note that replaces a note, a forced rollback_note, a batch_execute that deletes or replaces notes, and add_vault ask the user to confirm when the client supports elicitation. --no-confirm-destructive turns this off.

Writes and Git

On the default (direct) backend, each write is a temp file and an atomic rename, held to the note's expected_hash so an edit made since the last read is never lost. A batch applies in order and reports exactly what landed if it stops partway.

On a Git-backed vault (write_backend: git), every write is one commit and every batch is one all-or-nothing commit, with compare-and-swap on the branch so concurrent processes can't interleave. TurboVault refuses to overwrite files with uncommitted changes, and if writing out a commit is interrupted, the next write or the next start finishes it. fanout gives an agent a private worktree for long or parallel work, merged back or thrown away as a unit.

Every change is recorded in a hash-chained audit trail under .turbovault/ (or as Git history), and rollback_note undoes one, refusing to discard a later edit unless forced.

Security

  • Vault registration is confined. add_vault never accepts a filesystem root, the home directory, hidden or application-data directories under it, or system directories. --allowed-vault-roots limits it to chosen directories; on network transports it's off unless roots are set.
  • Protected folders. .obsidian, .git, node_modules and TurboVault's own .turbovault are unreachable through the note tools on both backends. A vault can protect more folders, never fewer.
  • Network transports. HTTP takes bearer tokens or OAuth JWTs (--auth-mode), with per-client rate limiting, and won't listen beyond loopback without authentication. WebSocket and TCP stay on loopback. The Unix socket lives in a private directory.
  • Read-only. --profile read-only refuses every mutating tool; allowed_operations: read makes one vault read-only.
  • Bounds. Files over 10 MiB (configurable) aren't read, written or scanned; every result count is capped; query_frontmatter_sql runs only SELECT, for at most 10 seconds and 1000 rows.
  • No shell execution anywhere.

Report vulnerabilities through GitHub private vulnerability reporting.

Observability

Logs go to stderr as JSON on stdio (RUST_LOG overrides the profile's level). --otlp-endpoint exports traces over OTLP, --metrics-port serves Prometheus metrics on 127.0.0.1, and every tool call is a span with the tool, vault, outcome and duration, never its arguments or note content.

Performance

Measured on synthetic vaults with a release build over MCP stdio:

10k notes50k notes
Startup0.5 s2.5 s
Memory after startup213 MB0.93 GB
read_note0.5 ms0.9 ms
search (warm)3.5-8 ms3.5 ms
Search after a restart61 ms258 ms
vault_health1 ms16 ms
explain_vault30 ms179 ms
write_note14-31 ms

The search index persists in TurboVault's cache directory, so a restart re-indexes only notes that changed.

Obsidian Flavored Markdown

Wikilinks ([[note]], [[note|alias]], [[note#heading]], [[note#^block]], and the table-escaped \|), embeds, Markdown links (inline, reference-style and percent-encoded), tags (#tag, #parent/child), tasks (including Tasks plugin emoji and Dataview fields), callouts, YAML frontmatter as Obsidian 1.9 reads it, properties with links, headings, JSON Canvas 1.0 and Bases.

Use the crates

CratePurpose
turbovault-coreModels, configuration, errors, multi-vault management
turbovault-parserObsidian Flavored Markdown and JSON Canvas parsing
turbovault-graphLink graph, health and centrality
turbovault-vaultVaultManager: the note cache, the freshness gate and the write path
turbovault-gitThe Git write substrate
turbovault-auditAudit trail, snapshots, rollback
turbovault-batchBatch operation types and validation
turbovault-exportJSON and CSV reports
turbovault-sqlSQL over frontmatter (GlueSQL)
turbovault-toolsThe logic behind the MCP tools
turbovault-plugin-apiThe contract for compiled-in plugins
turbovault-vectorHybrid dense and BM25 search
turbovaultThe MCP server

Build from source

bash
git clone https://github.com/epistates/turbovault.git
cd turbovault
cargo build --release          # ./target/release/turbovault
cargo test --workspace --all-features

Rust 1.90 builds the crates; the test suite needs 1.93.1 or later. See CONTRIBUTING.md and the development guide.

Migrating from 3.x

4.0 consolidates 79 tools into 52, adds the per-call vault argument and hides the advanced tools from tools/list by default. docs/migration/4.0.md maps every old tool and parameter to its replacement, and the changelog lists every library API change.

License

MIT. See LICENSE.

Links

安装

TypingMind
{
  "mcpServers": {
    "turbovault": {
      "command": "turbovault",
      "args": [
        "--vault",
        "/path/to/your/vault",
        "--profile",
        "production"
      ]
    }
  }
}

将 Turbovault MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Turbovault 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Turbovault 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Turbovault MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "turbovault": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Turbovault MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Turbovault MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Turbovault 帮我完成这项任务吗?
Turbovault
当然,我看过了。
以下是我使用 Turbovault 得到的结果。

常见问题

Turbovault MCP 服务器有什么用途?

Turbovault 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Turbovault MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Turbovault。

为什么在 TypingMind 中使用 Turbovault MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Turbovault 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Turbovault MCP 连接到 TypingMind?

Turbovault 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Turbovault MCP 在 TypingMind 中提供哪些工具?

Turbovault 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Turbovault MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Turbovault 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇