Start the Tandem development servers and verify everything is connected.
-
Run the doctor first — it diagnoses Node version, .mcp.json, server health, and ports before anything else:
npm run doctor
If you pulled since the last dev-server run, also refresh dependencies (they drift):
npm install
-
Check if servers are already running:
curl -s http://127.0.0.1:3479/health 2>/dev/null && echo "Server already running" || echo "Server not running"
-
If the server is NOT running but something still holds :5173, it's an orphaned Vite from a previous dev:standalone. Kill it first — strictPort: true means the new Vite will otherwise fail to start with Port 5173 is already in use instead of picking another port.
Windows (git-bash) — note the PID in the last column:
netstat -ano | grep ":5173" | grep LISTENING
taskkill //PID <pid> //F
macOS/Linux:
lsof -ti tcp:5173 | xargs -r kill
-
If not running, start the standalone dev environment (server + client):
npm run dev:standalone
This starts:
- Hocuspocus WebSocket server on
:3478
- MCP HTTP server on
:3479
- Vite dev server on
:5173
-
Wait for both servers to be ready:
for i in {1..15}; do curl -sf http://127.0.0.1:3479/health && break || sleep 1; done
-
Verify MCP connection works by running /mcp in Claude Code if needed.
-
Open the editor at http://127.0.0.1:5173 in the browser.