
rwb3n/obsidian-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
このプロジェクトは、Obsidian vault とやり取りするためのツールを公開するモデルコンテキストプロトコル(MCP)サーバーを提供します.
概要
このプロジェクトは、Obsidian vault とやり取りするためのツールを公開するモデルコンテキストプロトコル(MCP)サーバーを提供します。 MCP クライアント (AI アシスタントのような) を次のように許可します。 - メモの読み書き - メモのメタデータを管理する (フロントマッター) - リストのメモとフォルダ - コンテンツやメタデータでメモを検索 - 毎日のメモを管理 - 外部リンク、バックリンク、タグの取得 3. (依存症の競合を避けるために推奨): 4。 : * Windows PowerShellの場合: * Linux/macOSの場合:(端末プロンプトは先頭に表示する必要があります。) このサーバーは環境変数を使用して構成され、プロジェクトルートの .env ファイルを使用して便利に管理できます。 1。 (Windowsの場合、コピー.env.example .envを使う場合があります) 2. 新しく作成した.envファイルをテキストエディタで開きます。 3. これは唯一の変数です。 Obsidianボルトにアップデートしてください。 Windowsでも、パス用のフォワードスラッシュ(/)を使用します.
概要(AI 翻訳)
このプロジェクトは、Obsidian vault とやり取りするためのツールを公開するモデルコンテキストプロトコル(MCP)サーバーを提供します。
コンテンツの表
- 特徴
- インストール
- 構成
- 手動で動く(テスト/デバッグのために)
- クライアント構成(例:Claudeデスクトップ)
- 利用可能なMCPツール
- ロードマップ
- よくある質問(FAQ)
- 貢献 歓迎!
##特徴
MCP クライアント (AI アシスタントなど) を次のようになります。
- メモを読み書き
- メモメタデータを管理(フロントマッター)
- メモとフォルダのリスト
- コンテンツやメタデータでメモを検索する
- 毎日のメモを管理する
- リンク、バックリンク、タグの取得
インストール
1。 リポジトリのクローン(もしまだない場合):
2.プロジェクトディレクトリに移動:
3。** Python仮想環境を作成**(依存関係の競合を避けるために推奨):
4。仮想環境の活性化:
-
Windows PowerShellで:
-
Linux/macOSの場合:
(端末のプロンプトが[(.venv)]を先頭に表示する必要があります)
5。 パッケージとその依存関係をインストールします。
設定
このサーバは、プロジェクトルートの.envファイルを使用して、便利に管理できる環境変数を使用して構成されます。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Obsidian MCP Tool Server
This project provides a Model Context Protocol (MCP) server that exposes tools for interacting with an Obsidian vault.
Table of Contents
- Features
- Installation
- Configuration
- Running Manually (for Testing/Debugging)
- Client Configuration (Example: Claude Desktop)
- Available MCP Tools
- Roadmap
- Frequently Asked Questions (FAQ)
- Contributions Welcome!
Features
Allows MCP clients (like AI assistants) to:
- Read and write notes
- Manage note metadata (frontmatter)
- List notes and folders
- Search notes by content or metadata
- Manage daily notes
- Get outgoing links, backlinks, and tags
Installation
-
Clone the repository (if you haven’t already):
# git clone # cd OMCP -
Navigate to the project directory:
cd /path/to/your/OMCP -
Create a Python virtual environment (recommended to avoid dependency conflicts):
python -m venv .venv -
Activate the virtual environment:
- On Windows PowerShell:
.venv\Scripts\Activate.ps1 - On Linux/macOS:
source .venv/bin/activate
(Your terminal prompt should now show
(.venv)at the beginning) - On Windows PowerShell:
-
Install the package and its dependencies:
pip install .
Configuration
This server is configured using environment variables, which can be conveniently managed using a .env file in the project root.
-
Copy the example file:
# From the project root directory (OMCP/) cp .env.example .env(On Windows, you might use
copy .env.example .env) -
Edit the
.envfile: Open the newly created.envfile in a text editor. -
Set
OMCP_VAULT_PATH: This is the only required variable. Update it with the absolute path to your Obsidian vault. Use forward slashes (/) for paths, even on Windows.OMCP_VAULT_PATH="/path/to/your/Obsidian/Vault" -
Review Optional Settings: Adjust the other
OMCP_variables for daily notes, server port, or backup directory if needed. Read the comments in the file for explanations.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"obsidian_vault": {
"command": "C:\\path\\to\\your\\project\\OMCP\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\your\\project\\OMCP\\obsidian_mcp_server\\main.py"],
"env": {
"OMCP_VAULT_PATH": "C:/path/to/your/Obsidian/Vault",
"OMCP_DAILY_NOTE_LOCATION": "Journal/Daily"
}
}
}
}