MCP Obsidian
MCP オブシディアン
Obsidianとの統合のためのモデルコンテキストプロトコル(MCP)のサーバー実装。これにより、AIアシスタントがObsidian Vault内のメモを読み取り、作成、操作できるようになります。
特徴
Obsidianでアクティブファイルを読む
アクティブなファイルを削除する
特定の位置にコンテンツを挿入する(見出し、ブロック参照、前付)
ファイルにコンテンツを追加する
特定のファイルを開く
保管庫内のファイルを一覧表示する
メモを検索する
Related MCP server: Vault Cortex
前提条件
カーソルに追加
秘密を.envファイルに置く
コマンドMCPを選択し、このコマンドを入力します
bun __REPO_PATH__/src/index.tsインストール
このリポジトリをクローンします:
git clone https://github.com/gregkonush/mcp-obsidian.git cd mcp-obsidian依存関係をインストールします:
bun installサンプル環境ファイルをコピーして設定します。
cp .env.example .env
構成
特定の構成で.envファイルを編集します。
OBSIDIAN_BASE_URL=http://localhost:27123
OBSIDIAN_TOKEN=your_token_here
DEBUG=false使用法
MCP サーバーを起動します。
bun run src/index.tsサーバーが起動し、標準 I/O を介して MCP 互換の AI アシスタントと通信します。
利用可能なツール
この実装では、AI アシスタントに次のツールが提供されます。
get_active_file- 現在アクティブなファイルの内容を返しますdelete_active_file- 現在アクティブなファイルを削除しますinsert_active_file- 見出し、ブロック参照、またはfrontmatterフィールドを基準にしてコンテンツを変更しますappend_active_file- アクティブファイルの末尾にコンテンツを追加しますopen_file- Obsidianで特定のファイルを開くsearch_simple- テキストクエリに一致するドキュメントを検索しますlist_files- ボールトのルートディレクトリ内のファイルを一覧表示しますlist_directory_files- ボールト内の特定のディレクトリにあるファイルを一覧表示します
発達
プロジェクト構造
mcp-obsidian/
├── src/
│ ├── index.ts # Main server implementation
│ └── tools/ # Individual tool implementations
│ ├── get-active-file.ts
│ ├── delete-active-file.ts
│ └── ...
├── .env # Environment configuration
├── package.json # Project dependencies
└── tsconfig.json # TypeScript configuration新しいツールの追加
新しいツールを追加するには:
src/tools/ディレクトリに新しいファイルを作成するMCP SDKを使用してツールを実装する
src/index.tsにツールをインポートして登録します。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSE.mdファイルを参照してください。
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server that enables AI assistants to read, write, and manipulate notes in your Obsidian vault through a standardized interface.53,8604ISC
- AlicenseAqualityAmaintenanceMCP server for Obsidian vaults — search, memory, link graph, 23 tools, OAuth-protected. Runs locally via Docker or remotely with Obsidian Sync + OAuth 2.1.4301,06317MIT
- AlicenseAqualityFmaintenanceA Model Context Protocol (MCP) server that provides AI assistants with secure access to Obsidian vaults. Enables reading, writing, searching, and managing notes without requiring Obsidian to be running.502,472Apache 2.0
- FlicenseNot gradedqualityCmaintenanceMCP server that provides tools and resources for AI models to interact with an Obsidian vault, enabling file operations, search, and management via the Model Context Protocol.2
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gregkonush/mcp-obsidian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server