feat(mcp-cli): add tools command listing stdio tool descriptors - #4225
Conversation
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-08 15:35:00 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4225 +/- ##
=======================================
Coverage 93.76% 93.76%
=======================================
Files 390 390
Lines 36553 36553
Branches 13389 13389
=======================================
Hits 34274 34274
Misses 1623 1623
Partials 656 656 🚀 New features to boost your workflow:
|
Summary
gittensory-mcp tools [--json]so contributors can list every local stdio MCP tool name + one-line description without starting--stdioand speaking MCP.STDIO_TOOL_DESCRIPTORSas the single source of truth used by bothserver.registerTooland the new command (behavior unchanged).toolsintoCLI_COMMAND_SPEC(shell completion),printHelp(), and the package README; assert CLI tool count/descriptions match the live registered stdio tools.Closes #2233.
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
packages/gittensory-mcp/**+test/unit/mcp-cli-*.test.ts(Codecov ignorespackages/**andtest/**). Ran focused MCP CLI tests (mcp-cli-tools,mcp-cli-basics) andnpm run build:mcpafter rebasing onto currentmain. Remaining full-gate jobs left to CI path filters /validate.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
N/A — CLI/MCP packaging change only; no visible UI.
Notes
review-evasion). This PR stays ready-for-review.