feat(mcp): register loopover_generate_contributor_issue_drafts as local stdio MCP tool#7989
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7989 +/- ##
==========================================
- Coverage 91.91% 82.01% -9.90%
==========================================
Files 739 95 -644
Lines 75845 24085 -51760
Branches 23016 4609 -18407
==========================================
- Hits 69712 19754 -49958
+ Misses 5041 4135 -906
+ Partials 1092 196 -896
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-22 01:46:16 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 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 LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
loopover_generate_contributor_issue_draftswas a remote MCP tool (src/mcp/server.ts) with amaintain generate-issue-draftsCLI mirror (MCP tool + CLI mirror for contributor-issue-drafts/generate #6757), but had no local stdio MCP tool registration.loopover_plan_repo_issues, calling the samePOST .../contributor-issue-drafts/generateendpoint the CLI already uses.Closes #7755
Change
packages/loopover-mcp/bin/loopover-mcp.ts): addedgenerateContributorIssueDraftsShape(owner/repo;dryRundefaulttrue;createdefaultfalse;limit1–20 default 5), mirroring the remote tool.loopover_generate_contributor_issue_draftswith a matchingSTDIO_TOOL_DESCRIPTORSentry (maintainercategory). Thin POST proxy; schema-defaulteddryRun/createforwarded verbatim so the route'sexplicit_create_requires_dry_run_falseguard stays exact. Fixed branch-free summary.mcp-tool-rename-aliases.test.ts(currentmainalready includes Register loopover_refresh_repo_docs as a local stdio MCP tool #7754 / Register loopover_get_repo_onboarding_pack as a local stdio MCP tool #7756).Tests
test/unit/mcp-cli-generate-contributor-issue-drafts.test.ts: in-processInMemoryTransportcoverage — dry-run default body{dryRun:true, create:false, limit:5}and explicit write{dryRun:false, create:true, limit:3}.Validation
git diff --checkclean;npm run build:mcpclean.coverage-final.json: all added statements/functions hit; zero branches on added lines.mainat 98 tools).