Obsidian MCP REST Server
Obsidian MCP REST サーバー
ローカルREST APIを介してObsidian Vaultへのアクセスを提供するMCP(Model Context Protocol)サーバー実装。このサーバーにより、AIアシスタントは標準化されたインターフェースを介してObsidianノートを操作し、Vaultのコンテンツを管理できるようになります。
特徴
MCP を通じて Obsidian Vault のコンテンツにアクセスします
メモを読んだり書いたりする
保管庫の内容を一覧表示する
検索機能
安全なローカルREST API統合
Claude Desktopやその他のAIアシスタントと互換性があります
Related MCP server: Obsidian MCP Server
前提条件
Node.js 16以上
ローカル REST API プラグインがインストールおよび構成された Obsidian
ローカルREST APIが有効になっているObsidian Vault
インストール
パッケージをグローバルにインストールします。
npm install -g PublikPrinciple/obsidian-mcp-restまたは、特定のバージョン/ブランチを使用する場合は、次のようにします。
npm install -g PublikPrinciple/obsidian-mcp-rest#main構成
まず、Obsidian Local REST API プラグインを構成します。
ObsidianにローカルREST APIプラグインをインストールする
APIポートを設定します(デフォルト: 27123)
APIキーを生成して保存する
設定ファイル
config.jsonを作成します。
{
"obsidian": {
"apiKey": "your-api-key-here",
"port": 27123,
"host": "localhost"
},
"server": {
"name": "obsidian-mcp",
"version": "1.0.0"
}
}使用法
サーバーを起動します。
obsidian-mcp-rest --config path/to/config.jsonサーバーが起動し、stdin/stdout 経由で MCP 要求をリッスンします。
Claude Desktopでの使用
この MCP サーバーを使用するように Claude Desktop を構成します。
Claudeデスクトップの設定を開く
MCPセクションに移動する
新しいサーバー構成を追加します:
{ "name": "obsidian-mcp", "command": "obsidian-mcp-rest", "args": ["--config", "path/to/config.json"] }
Claude は次のようなコマンドを使用して Obsidian Vault にアクセスできるようになりました。
Read note "Projects/MyProject.md" List all notes in "Projects" folder Search for notes containing "typescript"
利用可能なツール
listNotes: 保管庫または特定のフォルダ内のすべてのメモを一覧表示しますreadNote: 特定のメモの内容を読むwriteNote: メモを作成または更新するsearchNotes: クエリ文字列を使用してノートを検索するgetMetadata: 特定のノートのメタデータを取得する
安全
サーバーはローカルでのみ実行され、stdin/stdoutを介して通信します。
Obsidian REST APIへのすべてのリクエストはAPIキーで認証されます
外部ネットワークアクセスは不要
データはマシンのローカルに保存されます
発達
リポジトリをクローンします。
git clone https://github.com/PublikPrinciple/obsidian-mcp-rest.git
cd obsidian-mcp-rest依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run buildテストを実行します:
npm testトラブルシューティング
インストールの問題
インストールで問題が発生した場合は、次の代替方法を試してください。
クローンを作成してローカルにインストールします。
git clone https://github.com/PublikPrinciple/obsidian-mcp-rest.git
cd obsidian-mcp-rest
npm install
npm run build
npm install -g .TypeScript 関連のエラーが表示される場合は、TypeScript がグローバルにインストールされていることを確認してください。
npm install -g typescript貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。大きな変更については、まずIssueを開いて、変更したい点について議論してください。
ライセンス
MITライセンス - 詳細はLICENSEファイルを参照
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
- AlicenseNot gradedqualityDmaintenanceAllows AI models to interact with Obsidian notes through the Local REST API, enabling creation, reading, updating, searching of notes, and Git-based automatic backups.2,4721MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Obsidian notes via local REST API, supporting file CRUD, search, commands, and periodic notes.2,4727Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search, read, and analyze Obsidian notes via the Local REST API.2216ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Obsidian vaults via the local REST API, supporting CRUD operations, batch processing, templates, and vault analytics.MIT
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
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/PublikPrinciple/obsidian-mcp-rest'
If you have feedback or need assistance with the MCP directory API, please join our Discord server