Generated host configs target wrong npm identity and unsupported MCP commands
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 2
- Avg merge
- 40m
- Merged PRs (30d)
- 2
Description
Finding
Generated MCP registrations cannot resolve the maintained package or start the advertised command.
- Severity: Medium functionality, Low supply-chain exposure
- Confidence: High
- Estimated effort: 1–2 days
- Expected impact: restore the advertised MCP/agent integrations and prevent generated configuration from resolving an unintended npm identity.
Confirmed evidence
package.jsonpublishes the package and CLI asworldgraphs.- The README explicitly notes that the bare
worldgraphnpm name is unavailable. trust.jsonnevertheless authorizesnpm:worldgraph.- Eight registrations across these generated host files invoke
worldgraph@latest mcp startorworldgraph@latest mcp index:optional-mcps/worldgraph.json.claude/settings.json.codex/config.toml.opencode/opencode.json.openclaw/openclaw.json.vscode/mcp.json
bin/cli.jsimplements onlyinit,doctor, version, and help. Themcpcommand follows the unknown-command path and exits nonzero.__tests__/smoke.test.tsexplicitly asserts that unknown commands fail.- No matching WorldGraph issue or pull request was open when checked.
The upstream generator class is already tracked in ruvnet/metaharness#154; this issue is the repository-specific identity migration and generated-artifact repair.
Reproduction
- Inspect the package name/bin in
package.json. - Inspect each generated host registration listed above.
- Run
npx worldgraphs mcp start; the current CLI has nomcphandler and exits with status 2. - Independently note that the generated command uses
worldgraph@latest, not the maintainedworldgraphspackage.
Acceptance test
- Every distribution/package reference resolves
worldgraphs. - Either implement functioning stdio
mcp startandmcp indexcommands, or stop emitting registrations that invoke them. - Add a host-matrix process/handshake test covering all generated host configurations.
npm test, build, package dry-run, anddoctorpass.- Preserve the internal harness identifier
worldgraphwhere it is not an npm identity. - A repository-wide check finds zero unintended
npm:worldgraphorworldgraph@latestreferences.
Dream verdict
The defect is confirmed, but no runnable checkout was available to validate a patch.
INCONCLUSIVE
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with package.json and bin/cli.js, then inspect the generated registrations in optional-mcps/worldgraph.json, .claude/settings.json, .codex/config.toml, .opencode/opencode.json, .openclaw/openclaw.json, and .vscode/mcp.json. Run the listed npx command and tests/smoke.test.ts, then use the acceptance test as the completion checklist: consistent package identity, valid or removed MCP commands, host-matrix coverage, and passing npm test, build, package dry-run, and doctor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system, cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100