obsidian-mcp-server/start.bat
helm 37df28e159 Initial commit: Obsidian MCP Server
StreamableHTTP MCP server exposing Obsidian vaults as tools.
- 8 tools: list_vault, get_vaults, get_vault_document, search_vault,
  get_recent_changes, get_backlinks, create_document, edit_document
- FastMCP framework with path traversal prevention
- Cross-OS transport (WSL2->Windows via HTTP)
2026-07-04 10:10:30 -04:00

26 lines
No EOL
651 B
Batchfile

@echo off
REM Obsidian MCP Server Launcher
REM Edit VAULTS_ROOT below to match your setup, or set OBSIDIAN_VAULTS_ROOT env var.
setlocal
REM ── Adjust this to your Obsidian vaults folder ──
set VAULTS_ROOT=D:\Obsidian
REM ── Restart if it crashes (basic resilience) ──
:loop
echo.
echo ============================================
echo Obsidian MCP Server
echo Vaults: %VAULTS_ROOT%
echo Port: 8765
echo Ctrl+C to stop
echo ============================================
echo.
python server.py --vaults-root "%VAULTS_ROOT%" --port 8765
echo.
echo Server stopped. Restarting in 5 seconds...
timeout /t 5 /nobreak >nul
goto loop