Add MCPJam as an installable workflow tool - #399
Merged
Conversation
`moshcode install mcpjam` runs `npm i -g @mcpjam/cli`, and `moshcode mcpjam …` / `/mcpjam` passes straight through to the native CLI. It is the companion to `moshcode mcp`: that registers an MCP server across engines, this one checks whether the server is healthy first. No upgrade key — `npm install -g` is idempotent, so toolUpgradeSpec falling back to install is the correct upgrade path. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ThreatCrush Security Scan97 finding(s) HIGH/CRITICAL: 5 | MEDIUM: 41 | LOW: 51
…and 47 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds MCPJam (
npm i -g @mcpjam/cli, binmcpjam, v3.22.0) to the workflow-tool roster: test, debug, and validate MCP servers — health checks, OAuth conformance, tool-surface diffing, and structured triage from the terminal or CI.It's the companion to
moshcode mcp:mcpregisters a server across your engines,mcpjamtells you whether that server is healthy before you do.Changes
src/tools.mjs— themcpjamTOOLS entry. Deliberately noupgradekey:npm install -gis idempotent, sotoolUpgradeSpecfalling back toinstallis the correct upgrade path (same reasoning asrailway/coral).src/commands.mjs—cliVerb("mcpjam", …), so.moshscripts can callmcpjam(args…).README.md— an "MCP server testing" subsection and the script-vocabulary table row.test/tools.test.mjs— resolution/list/upgrade-spec assertions plus a fake-npmtest provingmoshcode install mcpjamreally spawnsnpm install -g @mcpjam/cli.Everything else (
moshcode tools,install,upgrade, completions,/help, settings-sync, the pit dispatcher) derives fromTOOLSgenerically and picked the tool up with no further edits.Verification
node --test— 1739 pass, 0 fail, 229 skipped.moshcode toolslists○ mcpjamwith its description.moshcode mcpjam --helpon a box without it prints the actionablemcpjam isn't installed (`mcpjam`). run: moshcode install mcpjam.mcpjamis in the.moshvocabulary and appears in generated bash completion.🤖 Generated with Claude Code