
publikprinciple/obsidian-mcp-rest
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
publikprinciple/obsidian-mcp-rest는 MCP 서버 후보자는 https://github.com/publikprinciple/obsidian-mcp-rest.에서 수입했습니다
개요
publikprinciple/obsidian-mcp-rest는 MCP 서버 후보자는 https://github.com/publikprinciple/obsidian-mcp-rest.에서 수입했습니다
개요(AI 번역)
MCP (Model Context Protocol) 서버 구현은 로컬 REST API를 통해 Obsidian vaults에 대한 액세스를 제공합니다. 이 서버는 AI 조수가 Obsidian 메모와 상호 작용하고 표준화 된 인터페이스를 통해 vault 콘텐츠를 관리 할 수 있습니다.
특징
- MCP를 통한 Obsidian vault 콘텐츠 액세스
- 읽기 및 쓰기 메모
- 목록 vault 내용
- 검색 기능
- 안전한 로컬 REST API 통합
- Claude 데스크탑 및 기타 AI 조수와 호환
필수품
- Node.js 16 이상
- 로컬 REST API 플러그인이 설치된 Obsidian 및 구성
- 로컬 REST API를 사용한 Obsidian vault
설치
전세계 패키지 설치:
또는 특정 버전 / 브레이크를 사용하는 경우 :
구성
- 첫째로, Obsidian 국부적으로 REST API 플러그인을 구성하십시오:
- Obsidian의 로컬 REST API 플러그인 설치
- API 포트 구성 (기본값: 27123)
- API 키 생성 및 저장
- 구성 파일 생성
config.json:
사용법
-
서버 시작:
-
서버는 stdin/stdout를 통해 MCP 요청을 시작하고 듣습니다.
Claude 데스크탑 사용
- Claude 데스크톱을 구성하여 MCP 서버를 사용합니다.
- Open Claude 데스크탑 설정
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Obsidian MCP REST Server
An MCP (Model Context Protocol) server implementation that provides access to Obsidian vaults through a local REST API. This server allows AI assistants to interact with Obsidian notes and manage vault content through a standardized interface.
Features
- Access Obsidian vault contents through MCP
- Read and write notes
- List vault contents
- Search functionality
- Secure local REST API integration
- Compatible with Claude Desktop and other AI assistants
Prerequisites
- Node.js 16 or higher
- Obsidian with Local REST API plugin installed and configured
- An Obsidian vault with Local REST API enabled
Installation
Install the package globally:
npm install -g PublikPrinciple/obsidian-mcp-rest
Or if you prefer using a specific version/branch:
npm install -g PublikPrinciple/obsidian-mcp-rest#main
Configuration
-
First, configure Obsidian Local REST API plugin:
- Install the Local REST API plugin in Obsidian
- Configure the API port (default: 27123)
- Generate and save an API key
-
Create a configuration file
config.json:
{
"obsidian": {
"apiKey": "your-api-key-here",
"port": 27123,
"host": "localhost"
},
"server": {
"name": "obsidian-mcp",
"version": "1.0.0"
}
}
Usage
- Start the server:
obsidian-mcp-rest --config path/to/config.json
- The server will start and listen for MCP requests via stdin/stdout.
Using with Claude Desktop
-
Configure Claude Desktop to use this MCP server:
- Open Claude Desktop settings
- Navigate to the MCP section
- Add new server configuration:
{ "name": "obsidian-mcp", "command": "obsidian-mcp-rest", "args": ["--config", "path/to/config.json"] }
-
Claude can now access your Obsidian vault through commands like:
Read note "Projects/MyProject.md" List all notes in "Projects" folder Search for notes containing "typescript"
Available Tools
listNotes: List all notes in the vault or a specific folderreadNote: Read the contents of a specific notewriteNote: Create or update a notesearchNotes: Search for notes using a query stringgetMetadata: Get metadata for a specific note
Security
- The server only runs locally and communicates through stdin/stdout
- All requests to Obsidian REST API are authenticated with your API key
- No external network access is required
- Data remains local to your machine
Development
- Clone the repository:
git clone https://github.com/PublikPrinciple/obsidian-mcp-rest.git
cd obsidian-mcp-rest
- Install dependencies:
npm install
- Build the project:
npm run build
- Run tests:
npm test
Troubleshooting
Installation Issues
If you encounter any installation issues, try these alternatives:
- Clone and install locally:
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →