feat(mcp): register loopover_get_repo_onboarding_pack as a local #7977
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-22 01:15:27 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_get_repo_onboarding_packwas a remote MCP tool (src/mcp/server.ts) with amaintain onboarding-packCLI mirror (CLI mirror for loopover_get_repo_onboarding_pack #6738), but had no local stdio MCP tool registration.GET .../onboarding-pack/previewendpoint the CLI already uses (refresh: true→?refresh=true).Closes #7756
Change
packages/loopover-mcp/bin/loopover-mcp.ts): addedrepoOnboardingPackShape(owner/repo required,refreshoptional boolean).loopover_get_repo_onboarding_packwith a matchingSTDIO_TOOL_DESCRIPTORSentry (maintainercategory). Thin GET proxy of{repoBase}/onboarding-pack/preview;refresh === trueforwards?refresh=trueexactly as the CLI does.mcp-tool-rename-aliases.test.ts(currentmainalready includes Register loopover_get_agent_audit_feed as a local stdio MCP tool #7757 agent-audit-feed).Tests
test/unit/mcp-cli-get-repo-onboarding-pack.test.ts: in-processInMemoryTransportcoverage — both arms of therefresh === trueternary (omitted → no query;refresh: true→?refresh=true). Fixture already served bymcp-cli-harness.Validation
git diff --checkclean;npm run build:mcpclean.coverage-final.json: all added statements/functions hit;refreshternary arms are[1,1].mainat 96 tools).UI Evidence
N/A — local stdio MCP tool only; no UI surface changed.