Obsidian統合のためのモデルコンテキストプロトコルサーバー
これはTypeScriptベースのMCPサーバーで、Obsidianとの統合を実装しています。以下の機能を提供することで、MCPのコアコンセプトを実証しています。
- Obsidian Vault の内容を表すリソース
- 金庫データにアクセスするためのツール
- ObsidianとのAPI統合
プロジェクト統計
- コードの総行数: 345
- メインファイル:
src/tool-handlers.ts
(76行)src/resource-handlers.ts
(45行)src/server.ts
(32行)src/api-client.ts
(25行)
ディレクトリ構造
特徴
リソース
obsidian://server-info
URI 経由で Obsidian サーバー情報にアクセスします。- メタデータを含む保管庫の内容を取得する
- 簡単に統合できるJSON形式
ツール
get_vault_contents
- Obsidian vault の内容を取得する- オプションパラメータとしてパスを受け取ります(デフォルト: ルートディレクトリ)
- 構造化されたJSONレスポンスを返す
API統合
- Obsidian API による安全な HTTPS 接続
- エラー処理機能を備えたカスタム axios クライアント
- Windows パス正規化のサポート
発達
前提条件
- Node.js v18+
- TypeScript 5.3以上
- Obsidian API キー (OBSIDIAN_API_KEY 環境変数として設定)
設定
インストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCP Inspector の使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
依存関係
ランタイム
- @modelcontextprotocol/sdk: MCP サーバーの実装
- axios: API通信用のHTTPクライアント
発達
- @types/node: Node.js 用の TypeScript 定義
- typescript: TypeScriptコンパイラ
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
この TypeScript ベースの MCP サーバーを使用すると、ユーザーはテキスト ノートを管理および要約することができ、ノート作成および要約プロンプト用のツールが提供されます。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThis TypeScript-based MCP server enables users to manage a simple notes system with capabilities to create and summarize notes through structured prompts and resources.Last updated -50TypeScriptMIT License
- AsecurityAlicenseAqualityThis TypeScript-based server implements a simple notes system using MCP concepts, enabling users to create, list, and summarize text notes through natural language prompts.Last updated -5198193JavaScriptMIT License
- AsecurityFlicenseAqualityA TypeScript-based MCP server that implements a simple notes system, enabling users to manage text notes with creation and summarization functionalities through structured prompts.Last updated -1289JavaScript
- AsecurityFlicenseAqualityA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.Last updated -121TypeScript