feat(mcp): expose repo registration readiness as a read-only MCP tool - #5906
Merged
Conversation
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
JSONbored
marked this pull request as draft
July 14, 2026 22:27
Contributor
|
Warning LoopOver found maintainer review notesScoped related-work signals were found for this PR. They are advisory unless the gate reports a blocker. Readiness score: 57/100
Signal definitions
Review context
Maintainer notes
Contributor next steps
💰 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. |
This was referenced Jul 14, 2026
nghetienhiep
force-pushed
the
fix/issue-5824
branch
from
July 14, 2026 22:48
33d80d1 to
47d9992
Compare
JSONbored
force-pushed
the
fix/issue-5824
branch
from
July 15, 2026 00:19
47d9992 to
ccd777d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5906 +/- ##
=======================================
Coverage 95.15% 95.15%
=======================================
Files 589 589
Lines 46695 46703 +8
Branches 14902 14903 +1
=======================================
+ Hits 44434 44442 +8
Misses 1511 1511
Partials 750 750
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Add loopover_get_registration_readiness, wrapping the existing buildRegistrationReadinessResponse route handler so MCP clients can pull a repo's registration-readiness report without direct REST access. Wire it into the repo-owner-intake profile's recommendedTools, which already named the readiness prompt but had no backing tool. Closes JSONbored#5824
JSONbored
force-pushed
the
fix/issue-5824
branch
from
July 15, 2026 02:04
ccd777d to
f7266c4
Compare
JSONbored
marked this pull request as ready for review
July 15, 2026 04:26
JSONbored
approved these changes
Jul 15, 2026
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.
Summary
loopover_get_registration_readiness, a read-only MCP tool that wraps the existingbuildRegistrationReadinessResponseroute handler (GET /v1/repos/:owner/:repo/registration-readiness) so MCP clients can pull a repo's registration-readiness report without direct REST access.loopover_get_repo_onboarding_packpattern next to it:ownerRepoShapeinput, a structured output schema, and the same genericrequireRepoAccessauth tier asloopover_get_repo_context(no extra session-only gate, matching the underlying HTTP route).repo-owner-intakeMCP client profile'srecommendedTools, which already names the readiness prompt but had no backing tool.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:
Safety
UI Evidencesection below with screenshots. — N/A, no visible UI change; this is a backend/MCP-only PR.UI Evidence
N/A — no UI, frontend, or docs changes in this PR.
Notes
buildRegistrationReadinessResponseis exported fromsrc/api/routes.ts(previously module-private) so the MCP tool can call it directly instead of round-tripping through HTTP, per the issue's explicit requirement not to reimplementbuildRegistrationReadiness's signal logic.Closes #5824