Skip to main content
Glama

palace-mcp

Obsidian 볼트를 AI 어시스턴트에게 Local REST API 플러그인을 통해 노출하는 MCP 서버입니다.

FastMCP로 구축되었습니다. 에이전트는 노트를 나열, 읽기, 쓰기, 검색, 삭제할 수 있습니다 — 그리고 Obsidian에서 현재 열려 있는 노트를 읽을 수도 있습니다.

사전 요구 사항

  • ObsidianLocal REST API 플러그인이 설치되어 실행 중이어야 합니다.

  • Python 3.12+

  • uv (권장) 또는 pip

계속하기 전에 Obsidian의 플러그인 설정에서 API 키를 복사하세요.

Related MCP server: obsidian-local-mcp

설치

git clone <repo-url> palace-mcp
cd palace-mcp
uv sync

구성

변수

필수

기본값

설명

OBSIDIAN_API_KEY

Local REST API 플러그인의 Bearer 토큰

OBSIDIAN_HOST

아니요

127.0.0.1

Obsidian REST API가 수신 대기하는 호스트

OBSIDIAN_PORT

아니요

27123

REST API 포트

OBSIDIAN_PROTOCOL

아니요

http

http 또는 https

PALACE_APPEND_DENY

아니요

/Context/,/System/,Index.md

append_note가 차단되는 쉼표로 구분된 경로

플러그인의 자체 서명 인증서로 HTTPS를 사용하는 경우, 인증서 검증은 자동으로 건너뜁니다.

실행

stdio를 통해 서버를 시작합니다(MCP 클라이언트의 기본 전송 방식):

export OBSIDIAN_API_KEY="your-api-key"
uv run python server.py

또는 FastMCP를 통해:

uv run fastmcp run server.py

Cursor 설정

MCP 구성에 추가합니다(예: ~/.cursor/mcp.json):

{
  "mcpServers": {
    "obsidian-palace": {
      "command": "uv",
      "args": ["run", "python", "server.py"],
      "cwd": "/path/to/palace-mcp",
      "env": {
        "OBSIDIAN_API_KEY": "your-api-key-here"
      }
    }
  }
}

저장 후 Cursor를 다시 시작하거나 MCP 서버를 다시 로드하세요.

도구

도구

설명

list_notes

파일과 폴더를 나열합니다. 하위 디렉터리 경로를 전달하거나, 보관소 루트를 사용하려면 비워 두세요.

read_note

보관소 기준 상대 경로(예: People/Alice.md)로 노트의 전체 내용을 읽습니다.

write_note

새 노트를 만들거나 기존 노트를 덮어씁니다.

append_note

노트 끝에 텍스트를 추가합니다. 노트가 없으면 생성합니다.

search_notes

전체 텍스트 검색; 관련성 순으로 정렬된 일치하는 파일 이름을 반환합니다.

active_note

Obsidian에서 현재 열려 있는 노트의 내용을 반환합니다.

delete_note

노트를 영구적으로 삭제합니다. 되돌릴 수 없으므로 주의해서 사용하세요.

추가 보호

일부 보관소 경로는 덮어쓰기 전용으로 취급됩니다. 해당 경로에 추가하면 단일 노트 안에 중복 콘텐츠가 조용히 쌓일 수 있으며, 나중에 감지하기 어렵습니다.

기본적으로 append_note는 다음 패턴과 일치하는 경로에서 거부됩니다:

  • /Context/ (Context 폴더 아래의 모든 노트)

  • /System/ (System 폴더 아래의 모든 노트)

  • Index.md (Index.md라는 이름의 모든 파일)

대신 write_note를 사용하여 해당 노트를 교체하세요. 차단 목록은 PALACE_APPEND_DENY 환경 변수로 재정의할 수 있습니다.

라이선스

MIT

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    D
    maintenance
    Provides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.
    36
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.
    2
  • A
    license
    -
    quality
    D
    maintenance
    A lightweight MCP server that enables AI assistants to securely read, create, and modify notes in an Obsidian vault, with support for semantic search and web scraping.
    2,472
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • An MCP server that gives your AI access to the source code and docs of all public github repos

View all MCP Connectors

Latest Blog Posts

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/anis-meliti/palace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server