RO

rwb3n/obsidian-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

37 stars 8 forks 품질 83 트렌드 14MIT

이 프로젝트는 Obsidian vault와 상호 작용하는 도구를 노출하는 Model Context Protocol (MCP) 서버를 제공합니다.

개요

이 프로젝트는 Obsidian vault와 상호 작용하는 도구를 노출하는 Model Context Protocol (MCP) 서버를 제공합니다. MCP 클라이언트 (AI 조수와 같은) 허용: - 읽기 및 쓰기 노트 - 메모 메타 데이터 관리 (frontmatter) - 메모 및 폴더 목록 - 콘텐츠 또는 메타 데이터로 메모 검색 - 매일 메모 관리 - 나가는 링크, 백 링크 및 태그 3. (비밀 분쟁을 피하기 위하여 개정하는): 4.: * Windows PowerShell에: * 리눅스/macOS에: (당신의 맨끝은 처음에 지금 쇼 (.venv)이어야 합니다) 이 서버는 프로젝트 루트의 .env 파일을 사용하여 편리하게 관리 할 수있는 환경 변수를 사용하여 구성됩니다. 1. (Windows에서는, 당신은 사본 .env.example .env를 사용할지도 모릅니다) 2. 텍스트 편집기에서 새로 만든 .env 파일을 엽니 다. 3. 이것은 단지 변수입니다. Obsidian vault에 업데이트하십시오. 경로 (/)를 사용, Windows에서도.

개요(AI 번역)

이 프로젝트는 Obsidian vault와 상호 작용하는 도구를 노출하는 Model Context Protocol (MCP) 서버를 제공합니다.

내용 표

  • 특징
  • 설치
  • 구성
  • 수동으로 실행 (테스트 / 디버깅 용)
  • 클라이언트 구성 (예 : Claude Desktop)
  • 사용 가능한 MCP 도구
  • 로드맵
  • 자주 묻는 질문 (FAQ)
  • 기여 환영!

특징

MCP 클라이언트 (AI 조수와 같은) 허용:

  • 읽기 및 쓰기 메모
  • 메타데이터 관리 (frontmatter)
  • 노트 및 폴더 목록
  • 콘텐츠 또는 메타데이터로 검색
  • 일일 메모 관리
  • 나가는 링크, 백링크 및 태그

설치

  1. ** 저장소 ** (당신은 이미하지 않은 경우):

  2. ** 프로젝트 디렉토리에 Navigate **:

  3. ** Python 가상 환경** (반응 충돌 방지 권장):

  4. ** 가상 환경 활성화 **:

  • Windows 전원에:

  • 리눅스/macOS에:

(당신의 터미널 프롬프트는 이제 (.venv)을 처음에 보여야 합니다)

  1. **패키지 ** 및 그것의 의존도:

구성

이 서버는 프로젝트 루트의 .env] 파일을 사용하여 편리하게 관리 할 수있는 환경 변수를 사용하여 구성됩니다.

  1. 명세.

이 페이지는 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

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

  1. Clone the repository (if you haven’t already):

    # git clone 
    # cd OMCP 
    
  2. Navigate to the project directory:

    cd /path/to/your/OMCP 
    
  3. Create a Python virtual environment (recommended to avoid dependency conflicts):

    python -m venv .venv 
    
  4. 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)

  5. 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.

  1. Copy the example file:

    # From the project root directory (OMCP/)
    cp .env.example .env 
    

    (On Windows, you might use copy .env.example .env)

  2. Edit the .env file: Open the newly created .env file in a text editor.

  3. 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" 
    
  4. 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.

GitHub에서 전체 README 보기

설치

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" } } } }