허치패드
← MCP

obsidian-mcp-server

io.github.cyanheads/obsidian-mcp-server

용도 · 방식문서·글로컬 설치

저장소 별 707개 · 저장소 마지막 갱신 2026-11-11

용도
문서·글
방식
로컬 설치
저장소 별
707개
저장소 마지막 갱신
2026-11-11
라이선스
Apache-2.0
레지스트리 최신판
3.9.0

남이 만든 프로그램입니다. 설치하기 전에 이 저장소의 코드와 요구하는 권한을 확인하세요. 설치 전 안내

소개

Obsidian 노트, 태그, 프런트매터를 읽고 쓰고 검색하고 부분 수정합니다.

붙이는 법

  1. 먼저 읽기

    저장소의 코드와 설명을 열어 이 서버가 무엇을 하고 어떤 권한을 달라고 하는지 확인합니다. 저장소 열기 →

  2. 클로드 코드에 붙이기

    로컬 · npm 패키지 obsidian-mcp-server

    claude mcp add --env "OBSIDIAN_API_KEY=<OBSIDIAN_API_KEY>" --transport stdio obsidian-mcp-server -- npx -y obsidian-mcp-server

    로컬 · npm 패키지 obsidian-mcp-server

    표준 입출력(stdio)이 아닌 방식입니다. 저장소 설명을 따르세요.

    터미널에 붙여 넣습니다. 바로 뒤에 claude mcp list로 연결 상태를 볼 수 있고, 클로드 코드 안에서는 /mcp로 봅니다. 뺄 때는 claude mcp remove obsidian-mcp-server입니다.

    <…> 자리는 직접 채울 값입니다. 꺾쇠(< >)까지 지우고 실제 값을 넣습니다.

    이 명령은 레지스트리에 적힌 값으로 만든 것이라 낡았을 수 있습니다. 저장소 README의 최신 설치법과 다르면 README가 우선입니다.

  3. 다른 AI 도구에 붙일 때

    위의 주소나 패키지 이름이 그대로 필요합니다. 넣는 화면은 도구마다 달라서, 그 도구의 MCP 설정 문서를 따릅니다.

필요한 설정

레지스트리에 적힌 항목이고, 설명 칸은 레지스트리 원문(영어) 그대로입니다. 값은 그 서비스에서 직접 받아야 하고, 남에게 보이는 곳에 적으면 안 됩니다. 키가 든 서버는 위 명령 그대로(내 컴퓨터에만 저장되는 기본 방식) 붙입니다. --scope project를 붙이면 설정이 프로젝트의 .mcp.json에 써지는데, 클로드 코드 문서는 이 파일을 저장소에 함께 올리라고 안내하니 키를 넣으면 같이 올라갑니다.

이름종류필수설명
OBSIDIAN_API_KEY환경변수필수Bearer token for the Obsidian Local REST API plugin (Settings → Community Plugins → Local REST API).
OBSIDIAN_BASE_URL환경변수선택Base URL of the Obsidian Local REST API. Default: http://127.0.0.1:27123 (enable "Non-encrypted (HTTP) Server" in plugin settings). Use https://127.0.0.1:27124 for the always-on HTTPS port (self-signed cert; pair with OBSIDIAN_VERIFY_SSL=false).
OBSIDIAN_VERIFY_SSL환경변수선택Whether to verify the TLS certificate on the Obsidian endpoint. Default false because the plugin uses a self-signed cert.
OBSIDIAN_REQUEST_TIMEOUT_MS환경변수선택Milliseconds one request attempt (headers and body) may take before it fails with obsidian_timeout. GET, PUT, and DELETE retry a timed-out attempt; all the requests of one tool call share a 45 s budget, or this value when it is longer.
OBSIDIAN_ENABLE_COMMANDS환경변수선택Opt-in flag for the command-palette pair (obsidian_list_commands + obsidian_execute_command). Off by default — Obsidian commands are opaque and can be destructive.
OBSIDIAN_READ_PATHS환경변수선택Optional comma-separated vault-relative folder allowlist for reads. Prefix-based with implicit recursion; case-insensitive; backslashes read as slashes, repeated and trailing slashes and '.' segments dropped, and names normalized to Unicode NFC; an entry naming the vault root ('.') is rejected at startup. Unset = full vault. Write paths are implicitly readable. Example: 'public/,projects/'.
OBSIDIAN_WRITE_PATHS환경변수선택Optional comma-separated vault-relative folder allowlist for writes. Same syntax as OBSIDIAN_READ_PATHS. Unset = full vault, or the read scope when reads are restricted; paths in OBSIDIAN_DENY_PATHS stay denied. Example: 'projects/,scratch/'.
OBSIDIAN_DENY_PATHS환경변수선택Optional comma-separated vault-relative paths withheld from reads and writes. Same syntax as OBSIDIAN_READ_PATHS. Wins over both allowlists; denied paths are left out of listings, search results, and tag counts. Unset = nothing denied. Example: 'private/,journal/therapy/'.
OBSIDIAN_READ_ONLY환경변수선택Global read-only kill switch. When true, every write is denied regardless of OBSIDIAN_WRITE_PATHS, and the command-palette pair is suppressed (commands can mutate). Useful for shared or public-facing deployments.
OBSIDIAN_DELETE_ELICITATION환경변수선택Opt-in delete confirmation. When true, obsidian_delete_note asks the user to confirm each delete through an elicitation round (the client must support elicitation), and HTTP startup requires a stateful session unless OBSIDIAN_READ_ONLY=true disables the tool. Off by default — the delete runs on the first call, bounded by OBSIDIAN_WRITE_PATHS and OBSIDIAN_READ_ONLY.
OBSIDIAN_OMNISEARCH_URL환경변수선택Override URL for the Omnisearch plugin HTTP server. Unset derives from OBSIDIAN_BASE_URL host with port 51361. Required only if the Omnisearch plugin is not on the default port. Under OBSIDIAN_READ_PATHS or OBSIDIAN_DENY_PATHS the URL is never called and the omnisearch search mode is withheld.
MCP_LOG_LEVEL환경변수선택Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_TRANSPORT_TYPE환경변수선택Selects the HTTP transport.
MCP_HTTP_HOST환경변수선택The hostname for the HTTP server.
MCP_HTTP_PORT환경변수선택The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATH환경변수선택The endpoint path for the MCP server.
MCP_AUTH_MODE환경변수선택Authentication mode to use: 'none', 'jwt', or 'oauth'.

링크

출처 · MCP 공식 레지스트리 · 별 수 GitHub · 매주 갱신