.mcp.json hardcodes the checkout path (breaks on any other machine) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.mcp.json(commit09fbd6a, dev/jappel) registers the versapad MCP server with an absolute path:Works on this one machine's checkout, breaks for anyone else who clones the repo. Claude Code's
.mcp.jsondoesn't reliably support workspace-relative variables across environments (noted in the commit message itself), but a couple of options that would make it portable:.mcp.jsonas.mcp.json.exampleand let each user fill in their own path (matches the existing "claude mcp add -s user" fallback documented in README)command/argslevel via a wrapper script that finds its own directory (e.g. a tiny.cmd/.shnext toversapad_mcp_server.pyusing%~dp0/$(dirname "$0")) instead of hardcoding it in.mcp.jsonitselfHappy to send a PR for whichever direction you'd prefer.