Obsidian MCP Plugin MCP Server

Allow an AI to interact with your vault's notes through a self-contained MCP server

Local serverstdioTypeScript

What is the Obsidian MCP Plugin MCP server?

If you already use Obsidian MCP Plugin, the obsidian mcp plugin mcp server is the piece that lets your assistant work with it directly. Allow an AI to interact with your vault's notes through a self-contained MCP server.

What the server does

This Obsidian plugin embeds an MCP (Model Context Protocol) server directly within Obsidian, providing a streamlined way for applications to interact with your vault.

  • Embedded MCP Server: — Hosts the MCP server within Obsidian itself as a plugin, simplifying setup and improving performance
  • Vault Access via MCP: — Exposes your vault through standardized tools
  • Structured Data Support: — Define custom schemas for structured note creation and validation
  • File Operations: —
  • Read and write files
  • Fuzzy search across your vault

Installation

The server ships on npm as pnpm, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • obsidian-mcp-read-file — Get file contents
  • obsidian-mcp-diff-edit-file — Edit files using simplified udiff (see below)
  • obsidian-mcp-search-contents — Fuzzy search across the contents of all files in your vault
  • obsidian-mcp-search-filenames — Fuzzy search across all file names in your vault
  • obsidian-mcp-list-files — List files and directories in your vault with customizable depth and result limits
  • obsidian-mcp-upsert-file — Create or update files
  • obsidian-mcp-rollback-edit — Roll back the last edit to a markdown file (reverts the last change made by supported tools)
  • Schemas — Each schema has two sections: 1. metadata Defines file naming and storage details 2. fields Defines the structure of your data (used to generate the
  • Prerequisites — A nix flake is provided to create a standardized development environment

Credentials and setup notes

  • Basic knowledge of TypeScript and Obsidian API A nix flake is provided to create a standardized development environment.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Obsidian MCP Plugin.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the planning and project tracking group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Obsidian MCP Plugin's toolset — obsidian-mcp-read-file, obsidian-mcp-diff-edit-file, obsidian-mcp-search-contents and 6 more — is a fair guide to whether it matches your workflow. It is maintained by jlevere; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Obsidian MCP Plugin's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
obsidian-mcp-read-fileGet file contents
obsidian-mcp-diff-edit-fileEdit files using simplified udiff (see [below](#obsidian-mcp-diff-edit-file))
obsidian-mcp-search-contentsFuzzy search across the contents of all files in your vault
obsidian-mcp-search-filenamesFuzzy search across all file names in your vault
obsidian-mcp-list-filesList files and directories in your vault with customizable depth and result limits
obsidian-mcp-upsert-fileCreate or update files
obsidian-mcp-rollback-editRoll back the last edit to a markdown file (reverts the last change made by supported tools)
SchemasEach schema has two sections: 1. metadata Defines file naming and storage details 2. fields Defines the structure of your data (used to generate the Zod tool)
PrerequisitesA nix flake is provided to create a standardized development environment.

How to install the Obsidian MCP Plugin MCP server

{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": ["mcp-remote", "http://localhost:<your_server_port>/sse"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Basic knowledge of TypeScript and Obsidian API A nix flake is provided to create a standardized development environment.

Example prompts to try

  • Use Obsidian MCP Plugin to obsidian-mcp-read-file.
  • Use Obsidian MCP Plugin to obsidian-mcp-diff-edit-file.
  • Use Obsidian MCP Plugin to obsidian-mcp-search-contents.

Frequently asked questions

It connects Obsidian MCP Plugin to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (obsidian-mcp-read-file, obsidian-mcp-diff-edit-file, obsidian-mcp-search-contents, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Obsidian MCP Plugin directly.