Obsidian MCP Server
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行)
Related MCP server: MCP Server
ディレクトリ構造
obsidian-mcp/
├── .codegpt/
│ └── head
├── src/
│ ├── api-client.ts
│ ├── index.ts
│ ├── resource-handlers.ts
│ ├── server.ts
│ └── tool-handlers.ts
├── .SourceSageignore
├── package.json
├── README.md
└── tsconfig.json特徴
リソース
obsidian://server-infoURI 経由で 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 環境変数として設定)
設定
# Install dependencies
npm install
# Build the server
npm run build
# Start development server with auto-rebuild
npm run watchインストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"obsidian-mcp": {
"command": "/path/to/obsidian-mcp/build/index.js",
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here"
}
}
}
}デバッグ
MCP Inspector の使用をお勧めします。
npm run inspectorインスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
依存関係
ランタイム
@modelcontextprotocol/sdk: MCP サーバーの実装
axios: API通信用のHTTPクライアント
発達
@types/node: Node.js 用の TypeScript 定義
typescript: TypeScriptコンパイラ
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 gradedqualityNot gradedmaintenanceThis TypeScript-based MCP server enables users to manage a simple notes system with capabilities to create and summarize notes through structured prompts and resources.1
- AlicenseNot gradedqualityDmaintenanceThis TypeScript-based MCP server allows users to manage a simple notes system through creating and summarizing text notes using Model Context Protocol (MCP).1,2848MIT
- AlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.125563MIT
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.23
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
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/Sunwood-ai-labs/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server