Skip to content

v0.4.2 - Fix MCP Server Startup

Choose a tag to compare

@sourjya sourjya released this 19 Apr 10:19
· 357 commits to main since this release

Critical fix: npx -y @viewgraph/core now correctly starts the MCP server.

v0.4.1 had a broken install path - npx couldn't find the server executable because the bin field only had utility scripts. This adds a viewgraph bin entry pointing to server/index.js.

What was broken

{ "command": "npx", "args": ["-y", "@viewgraph/core"] }

Failed with 'initialize response' error on all MCP clients.

Fix

Added viewgraph as the primary bin entry with proper shebang. 7 installer regression tests added.

Upgrade: npm cache clean --force && npx -y @viewgraph/core@0.4.2 or just restart your agent.