Back to Home
smith-and-web icon

obsidian-mcp-server

Verified Safe

by smith-and-web

Overview

Enables AI assistants to interact with and manage an Obsidian markdown vault via the Model Context Protocol (MCP).

Installation

Run Command
VAULT_PATH=/path/to/your/vault npx @smith-and-web/obsidian-mcp-server

Environment Variables

  • PORT
  • VAULT_PATH
  • COMPACT_RESPONSES
  • API_KEY

Security Notes

The server performs extensive file system operations (read, write, delete, move) on the configured VAULT_PATH. While path manipulation is mitigated by `path.join` and deletion includes a `confirm` safety check, the API_KEY for authentication is optional. Deploying without an API_KEY makes the server publicly accessible, which is a critical security risk given its file access capabilities. CORS is also open by default ('*'), posing another risk if not restricted in production. The server grants full read/write access to the mounted vault.

Similar Servers

Stats

Interest Score51
Security Score6
Cost ClassMedium
Avg Tokens1000
Stars6
Forks1
Last Update2026-01-19

Tags

ObsidianMCPAI AssistantVault ManagementMarkdown