feat(mcp): add remote + stdio mirror for loopover_get_upstream_ruleset - #7855
feat(mcp): add remote + stdio mirror for loopover_get_upstream_ruleset#7855bohdansolovie wants to merge 1 commit into
Conversation
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Expose GET /v1/upstream/ruleset through remote MCP and local stdio using the same public, no-argument shape as loopover_get_upstream_drift, including the upstream_ruleset_not_found result when no snapshot exists. Closes JSONbored#7807 Co-authored-by: Cursor <cursoragent@cursor.com>
3fe4960 to
1bf3d96
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7855 +/- ##
===========================================
- Coverage 91.37% 81.34% -10.03%
===========================================
Files 729 90 -639
Lines 74694 24351 -50343
Branches 22795 4685 -18110
===========================================
- Hits 68252 19809 -48443
+ Misses 5396 4342 -1054
+ Partials 1046 200 -846
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-21 15:25:08 UTC
Review summary Nits — 5 non-blocking
CI checks failing
Flagged checks (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.
|
|
LoopOver is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-tests-merge, codecov/patch)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
…set (#7921) Mirror loopover_get_upstream_drift on both the remote MCP server and local stdio wrapper. Cover found/not-found remotely and instrument the bin via the #7764 in-process exported-server pattern so codecov/patch sees the new lines (unlike bin-only #7855). Closes #7807 Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
loopover_get_upstream_rulesetas a remote MCP tool (utility, no input) that returnsgetLatestUpstreamRulesetSnapshot, including a normalupstream_ruleset_not_foundresult when empty.GET /v1/upstream/ruleset.Closes #7807
Scope
src/mcp/server.ts— remote tool + category + output schemapackages/loopover-mcp/bin/loopover-mcp.ts— stdio descriptor +apiGetproxyValidation
vitest run test/unit/mcp-upstream-ruleset.test.ts test/unit/mcp-cli-upstream-ruleset.test.ts test/unit/mcp-tool-rename-aliases.test.ts test/unit/mcp-output-schemas.test.tsSafety
Made with Cursor