MCPVault

active_file_get_path

MCP tool from Obsidian Local Rest Api by coddingtonbear

Return the vault path of the file currently open in Obsidian

How to use it

active_file_get_path is exposed by the Obsidian Local Rest Api MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the active_file_get_path tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Obsidian Local Rest Api

$npm install --save-dev obsidian-local-rest-api
FULL OBSIDIAN LOCAL REST API LISTING