@masaki39/obsidian-mcp
v0.0.3
Published
MCP server exposing the active Obsidian file (path and content) via Local REST API
Readme
obsidian-mcp
Simple MCP server that provides the active Obsidian file (path and content) to your LLM via the Obsidian Local REST API.
Prerequisites
Configuration
- Install the community plugin Obsidian Local REST API plugin in Obsidian.
- Open the plugin settings, enable HTTP, and copy the API key.
MCP client configuration
{
"mcpServers": {
"obsidian-mcp": {
"command": "npx",
"args": ["-y", "@masaki39/obsidian-mcp@latest"],
"env": {
"OBSIDIAN_API_KEY": "your_api_key_here",
"OBSIDIAN_VAULT_PATH": "/absolute/path/to/your/vault"
}
}
}
}OBSIDIAN_VAULT_PATH is optional; omit it if you prefer the relative paths returned by the plugin.
