Obsidian MCP Server Enhanced

MCP文档知识

提供方 labeveryday

文档知识 未标注 OAuth 授权 社区 / 第三方 ClaudeCursorGemini CLICodex
查看接入方式

This project provides a Model Context Protocol (MCP) server for interacting with Obsidian vaults through AI assistants.

一句话选型结论

按资料字段整理

Obsidian MCP Server Enhanced 属于文档知识类 MCP 服务器,传输方式未标注,OAuth 授权,可直接接入 Claude、Cursor、Gemini CLI 等,有可直接执行的安装命令。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类文档知识 传输方式未标注 鉴权OAuth 授权 部署方式未标注
GitHub 星标 未标注 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

文档知识
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

ai assistant

安装与配置

未标注 OAuth 授权
上游未给出传输方式
uv --directory /path/to/mcp-obsidian-enhanced run run_server.py

这条命令只是入口,具体启动参数请按官方文档补齐,不要直接照搬到别的服务器。

  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
文档检索问答

在你的文档库里按问题找答案。

知识库读写

把新资料写进知识库,随用随取。

内容整理

把零散资料归纳成结构化笔记。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已适配 Claude、Cursor、Gemini CLI,换客户端不用重新研究配置。

先想清楚的地方

  • 使用前要准备好OAuth 授权对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在文档知识场景里让模型直接调用外部能力的人。
  • 已经在用 Claude、Cursor 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Obsidian MCP Server Enhanced当前 未标注 未标注 未标注 有 未标注
dify 未标注 stdio · 本地进程 本地部署 有 2026-04-11
open-webui 未标注 stdio · 本地进程 本地部署 有 2026-04-11
JeecgBoot 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Cherry Studio 未标注 未标注 未标注 无 2026-05-17
mempalace 未标注 stdio · 本地进程 本地部署 有 2026-04-11

服务器档案

文档知识
字段来自项目仓库与公开索引,中文说明由本站标注
提供方labeveryday上游标注的维护方 labeveryday
分类文档知识本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式OAuth 授权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · python本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验未标注上游最后核验时间

详细介绍

7.1 KB
来自项目仓库与上游目录的原文,未做删改

Obsidian MCP Server Enhanced

A Model Context Protocol (MCP) server for integrating Amazon Q with Obsidian.

Project Overview

This MCP server allows Amazon Q to interact with Obsidian vaults without requiring the Obsidian application to be open. It leverages the Obsidian Local REST API plugin to provide functionality for note management, search, and knowledge management.

Current Status

  • Phase 1 (Core Infrastructure): Complete
  • Basic file operations, search, and note templates are fully implemented
  • Built with FastMCP for seamless integration with Amazon Q
  • Uses decorator-based approach for prompt registration
  • Ready to begin Phase 2: Essential Features

Features

Currently Implemented

  • File Operations: Read, create, update, append to, and delete notes
  • Basic Folder Management: List files in folders
  • Search: Basic search functionality for notes
  • Daily Notes: Create daily notes with predefined sections
  • Meeting Notes: Create meeting notes with structured templates

Planned Features

  • Advanced Folder Management: Create, delete, rename, and move folders
  • Organization & Metadata: Manage tags, frontmatter, and file organization
  • Advanced Search & Discovery: Enhanced search by content, tags, and other criteria
  • Knowledge Management: Extract highlights, compile notes, and more
  • Search and Compile: Search for notes and compile information into a single note
  • Note Organization: Organize notes on specific topics with AI assistance

Getting Started

Prerequisites

  1. Obsidian: Install Obsidian and create a vault
  2. Local REST API Plugin: Install the Local REST API plugin in Obsidian
  3. Python 3.10+: Make sure you have Python 3.10 or newer installed

Installation

  1. Clone this repository:bash git clone https://github.com/yourusername/mcp-obsidian-enhanced.git cd mcp-obsidian-enhanced

  2. Create a virtual environment:bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate

  3. Install dependencies:bash pip install -e ".[dev]"

  4. Create a .env file with your Obsidian API configuration:OBSIDIAN_API_KEY=your_api_key_from_local_rest_api_plugin OBSIDIAN_HOST=127.0.0.1 OBSIDIAN_PORT=27124

Integration with Amazon Q CLI

To integrate this MCP server with Amazon Q CLI, configure the MCP server in your AWS configuration:

  1. Create or update the file at ~/.aws/amazonq/mcp.json:```json
    {
    "mcpServers": {
    "obsidian-mcp-server": {
    "command": "uv",
    "args": ["--directory", "/path/to/mcp-obsidian-enhanced", "run", "run_server.py"],
    "env": {},
    "disabled": false,
    "autoApprove": []
    }
    }
    }

2. Replace `/path/to/mcp-obsidian-enhanced` with the actual path to your repository.

### Running the Server

Run the server with:```bash
python run_server.py

To test with MCP Inspector:```bash
npx @modelcontextprotocol/inspector uv --directory ./ "run" "run_server.py"


## Available Tools

| Tool Name | Description |
|-----------|-------------|
| `obsidian_read_note` | Get content of a note from your Obsidian vault |
| `obsidian_create_note` | Create a new note in your Obsidian vault |
| `obsidian_update_note` | Update an existing note in your Obsidian vault |
| `obsidian_append_note` | Append content to an existing note |
| `obsidian_delete_note` | Delete a note from your Obsidian vault |
| `obsidian_list_files` | List files and folders in your Obsidian vault |
| `obsidian_get_active_file` | Get the currently active file in Obsidian |
| `obsidian_create_daily_note` | Create a daily note with predefined sections |

### Planned Tools (Phase 2)

| Tool Name | Description |
|-----------|-------------|
| `obsidian_search` | Search for notes in your Obsidian vault |
| `obsidian_summarize_note` | Summarize the content of a note |
| `obsidian_search_and_compile` | Search for notes and compile information |
| `obsidian_organize_notes` | Organize notes on a specific topic |

## Available Prompts

The server provides prompt templates using the decorator-based approach:

### Meeting Notes```python
@mcp.prompt("meeting-notes")
async def meeting_notes_prompt(
    title: str,
    date: str = "",
    participants: str = "",
    folder: str = "Meetings",
    tags: List[str] = None
) -> Dict[str, Any]:
    """Create a meeting note with the given details."""
    # Implementation...

Create Note```python

@mcp.prompt("create-note")
async def create_note_prompt(
title: str,
content: str,
folder: str = "",
tags: List[str] = None
) -> Dict[str, Any]:
"""Create a new note with the given details."""
# Implementation...


### Organize Notes```python
@mcp.prompt("organize-notes")
async def organize_notes_prompt(
    topic: str,
    folder: str = ""
) -> Dict[str, Any]:
    """Organize notes related to a specific topic."""
    # Implementation...

Configuration Options

Environment Variable Description Default
OBSIDIAN_API_KEY API key from Local REST API plugin (Required)
OBSIDIAN_HOST Host where Obsidian is running 127.0.0.1
OBSIDIAN_PORT Port for the API 27124
OBSIDIAN_PROTOCOL Protocol to use https
OBSIDIAN_VERIFY_SSL Whether to verify SSL certificates false
OBSIDIAN_TIMEOUT Connection timeout in seconds 10
LOG_LEVEL Logging level (INFO, DEBUG, etc.) INFO

Implementation Roadmap

Phase 1: Core Infrastructure (Complete)

  • ✅ Basic server setup with FastMCP
  • ✅ Configuration management
  • ✅ Obsidian API client
  • ✅ Basic file operations
  • ✅ Basic folder management tools

Phase 2: Essential Features (Planned)

  • Advanced search functionality
  • Metadata management
  • Improved templates
  • Note organization capabilities
  • Search and compile functionality
  • Note summarization

Phase 3: Advanced Features (Planned)

  • Knowledge management tools
  • Bulk operations
  • Advanced search capabilities

Phase 4: Optimization & Polish (Planned)

  • Performance optimizations
  • Enhanced error handling
  • Comprehensive logging
  • Detailed documentation

Testing the API Directly

You can test the Obsidian Local REST API endpoints directly using curl:

List Files in a Folder```bash

curl -X GET "http://127.0.0.1:27124/vault/FolderName?list=true" \
-H "Authorization: Bearer YOUR_API_KEY"


### Read a Note```bash
curl -X GET "http://127.0.0.1:27124/vault/path/to/note.md" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create/Update a Note```bash

curl -X PUT "http://127.0.0.1:27124/vault/path/to/note.md" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: text/markdown" \
-d "# Note Title\n\nNote content here."


### Search Notes```bash
curl -X POST "http://127.0.0.1:27124/search/simple" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "query=search_term"

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
Obsidian MCP Server Enhanced 怎么安装?

在客户端按下面的安装命令接入:uv --directory /path/to/mcp-obsidian-enhanced run run_server.py。装完在客户端配置里引用同一个包或端点。

Obsidian MCP Server Enhanced 怎么在 Claude、Cursor、Gemini CLI 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Obsidian MCP Server Enhanced 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Obsidian MCP Server Enhanced 需要 API Key 吗?

资料标注需要OAuth 授权认证,使用前准备好对应凭据,并按最小权限配置。

Obsidian MCP Server Enhanced 支持哪些客户端?

资料标注支持 Claude、Cursor、Gemini CLI、Codex、Zed;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Obsidian MCP Server Enhanced 能提供哪些能力?

资料显示能力标签包括 ai assistant。具体工具清单以官方文档为准。

Obsidian MCP Server Enhanced 需要什么运行环境?

运行时为 python。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 未标注。