Back to Home
duncanchiu409 icon

mcp-obsidian-sse

by duncanchiu409

Overview

This server provides a Server-Sent Events (SSE) endpoint to expose programmatic access to an Obsidian vault, enabling integration with automation tools like n8n or AI agents via the MCP framework.

Installation

Run Command
uv --directory mcp-obsidian-sse uvicorn main:app --reload

Environment Variables

  • OBSIDIAN_API_KEY
  • OBSIDIAN_API_URL
  • OBSIDIAN_URL

Security Notes

The `Obsidian` class defaults `verify_ssl` to `False` if not explicitly set by environment variables (OBSIDIAN_API_URL/OBSIDIAN_URL). This disables SSL certificate verification for requests to the Obsidian API, making the connection vulnerable to Man-in-the-Middle (MITM) attacks if not overridden to `True` in a production environment. User inputs for filepaths, queries, and content are passed to the Obsidian API, relying on the API itself for sanitization. The `OBSIDIAN_API_KEY` is correctly loaded from environment variables, preventing hardcoded secrets.

Similar Servers

Stats

Interest Score30
Security Score6
Cost ClassHigh
Avg Tokens750
Stars1
Forks2
Last Update2025-12-02

Tags

ObsidianSSEMCPAPIAutomation