Back to Home
OleksandrKucherenko icon

mcp-obsidian-via-rest

Verified Safe

by OleksandrKucherenko

Overview

An MCP server that enables AI assistants to read, search, and interact with Obsidian notes via its Local REST API, supporting multiple network transports and self-healing connections.

Installation

Run Command
bun run src/index.ts

Environment Variables

  • API_KEY
  • API_HOST
  • API_PORT
  • API_URLS
  • MCP_TRANSPORTS
  • MCP_HTTP_PORT
  • MCP_HTTP_HOST
  • MCP_HTTP_PATH
  • MCP_HTTP_TOKEN
  • API_TEST_TIMEOUT
  • API_RETRY_INTERVAL
  • DEBUG
  • NODE_ENV

Security Notes

The Obsidian API client uses `rejectUnauthorized: false` for HTTPS connections, which is a significant security risk in general but might be a practical necessity for local, self-signed Obsidian REST APIs. The HTTP transport defaults to binding on `0.0.0.0` (all interfaces), requiring external firewall configuration (as advised in documentation) to prevent unauthorized access. Test secrets (API keys, VNC passwords) are present in test-specific Docker Compose files, which is acceptable for non-production code. Authentication for the HTTP transport is implemented via Bearer tokens, which is a good practice when enabled.

Similar Servers

Stats

Interest Score36
Security Score7
Cost ClassLow
Avg Tokens1000
Stars7
Forks0
Last Update2026-01-18

Tags

MCPObsidianREST APIAINotesSelf-healingDockerBunTypeScript