apm icon indicating copy to clipboard operation
apm copied to clipboard

[FEATURE] Offer Official MCP Registry fallback when GitHub catalog misses an exact server name

Open koko3tallah opened this issue 3 months ago • 5 comments

Is your feature request related to a problem? Please describe.

APM 0.27.0 defaults MCP resolution to https://api.mcp.github.com. That catalog is curated and can lag the Official MCP Registry, so an exact, valid registry name may fail with Server(s) not found in registry even though the same entry installs correctly when the official registry is selected.

Concrete reproduction:

apm init -y --target codex
apm install --mcp com.outagedeck/outagedeck-status --transport http
# Server(s) not found in registry: com.outagedeck/outagedeck-status

apm install --mcp com.outagedeck/outagedeck-status --transport http \
  --registry https://registry.modelcontextprotocol.io
# succeeds and configures https://outagedeck.com/api/mcp

The APIs show the same gap: the GitHub catalog returns no exact match while the Official MCP Registry returns the active server record.

Describe the solution you'd like

For an exact-name miss in the default GitHub catalog, either:

  1. Offer a clearly labeled retry against the Official MCP Registry, preserving the selected registry in apm.yml; or
  2. Keep fail-closed behavior but include an actionable hint showing the --registry https://registry.modelcontextprotocol.io command.

The second option may be preferable if automatic cross-registry fallback would weaken registry trust policy.

Describe alternatives you've considered

  • Document the explicit --registry flag in each server's install guide. This works but gives every newly published official server a confusing default failure.
  • Persist the official endpoint with apm config set mcp_registry_url .... This is useful for experienced users but does not help the first install attempt.
  • Wait for the GitHub catalog to ingest the entry. Its ingestion criteria/timing are not exposed to the installer, so users cannot distinguish propagation delay from a bad server name.

Additional context

I maintain the example server and verified both code paths in a clean temporary APM project. The suggestion is intended to improve the UX for any server present in the Official MCP Registry but absent from the smaller default catalog.

koko3tallah avatar Aug 05 '26 00:08 koko3tallah

Triage Panel Verdict

Issue: [FEATURE] Offer Official MCP Registry fallback when GitHub catalog misses an exact server name

Thanks for the concrete reproduction and the balanced analysis of the two options, @koko3tallah. The fact that you maintain the example server and verified both code paths is appreciated.


Panel Assessment

DevX UX Expert

The first-install failure is a high-friction moment: a user follows an install guide, gets Server(s) not found in registry, and has no idea why a valid server name fails. Option 2 (actionable hint, no auto-fallback) is the right UX choice for a first iteration -- it closes the "what do I do next" gap without changing registry semantics. The hint should include the exact command to retry, not just the flag name.

Supply Chain Security Expert

Auto-fallback (Option 1) has registry-trust implications: it silently switches the user to a different registry authority mid-install, bypassing any registry pinning or policy controls. The reporter correctly flags this concern. Option 2 keeps trust decisions explicit and user-driven. If auto-fallback is added later, it should be opt-in with a clear scope (e.g., apm config set allow_registry_fallback true) and should not override an explicitly pinned registry.

CEO Arbiter -- Verdict: ACCEPT (Option 2 / hint variant)

Option 2 is the right first step: high UX value, zero trust-policy risk, bounded implementation. Option 1 (auto-fallback) is deferred pending a design decision on registry trust model -- it should not be added without a governance spec for cross-registry fallback scope and ordering. Priority low.


Decision

Dimension Value
Verdict ACCEPT (hint variant)
Type feature
Area distribution
Theme portability
Priority low
Suggested next action When apm install --mcp <name> returns Server(s) not found in registry from the default GitHub catalog, append an actionable hint: "Try: apm install --mcp (name) --registry (registry.modelcontextprotocol.io/redacted)". Auto-fallback (Option 1) deferred pending registry trust design.

Triage status: agentic proposal pending human ratification. Silence is approval. Maintainers can:

  • Override any label or milestone above by editing it directly -- human edits are authoritative and will not be reverted on subsequent runs.
  • Re-trigger triage by applying the status/needs-triage label, or by removing status/triaged to enroll the issue in the next daily sweep.

Posted by the Triage Panel workflow. See .apm/skills/apm-triage-panel for the panel skill.

Generated by Triage Panel · 95.2 AIC · ⌖ 7.06 AIC · ⊞ 9.2K · ◷

github-actions[bot] avatar Aug 05 '26 12:08 github-actions[bot]

At the lead maintainer's direction, the current acceptance of this item is withdrawn as part of APM's roadmap and contribution reset. Previous acceptance labels or comments must not be treated as approval to start or continue substantive implementation for inclusion in APM.

Thank you for the work and ideas already contributed. Our small maintainer team needs to agree supported scope and review capacity before inviting more implementation. This is not a rejection of the proposal or a judgment of your work, and it does not undo completed work or erase its history.

Please follow the contribution rules: a responsible human maintainer needs to record the bounded scope, acceptance criteria and review contact on the issue before substantive work resumes. Existing issue discussion, assignments and contributions remain available for that decision. Trivial typo and broken-link corrections retain their standing preapproval.

danielmeppiel avatar Sep 12 '26 00:09 danielmeppiel

@danielmeppiel @sergio-sisternes-epam could you confirm whether the hint-only scope for the existing PR #2803 is still wanted following the September 12 acceptance reset?

  • Scope: show an explicit Official MCP Registry retry after a direct default-catalog miss, preserving the requested version, targets and global scope.
  • Done when: copying the hint retains those options; the first attempt queries only the default catalog, and the retry queries only the selected registry. The PR includes regression coverage for these boundaries.
  • Out of scope: automatic fallback, registry-policy changes and changes to manifest-driven installs.

The reviewer's option-preservation feedback is addressed in the existing PR. Further implementation will wait for human scope confirmation. If this remains deferred, please let me know; otherwise, could a responsible maintainer record the scope and review contact on this issue?

VedanthB avatar Oct 15 '26 15:10 VedanthB

Decision: approve Area: project Scope: When a direct apm install --mcp NAME lookup finds no exact match in the configured MCP registry, print a neutral hint that names the registry URL that was searched, suggests apm mcp search NAME against that same registry, and explains how to choose another registry via --registry or apm config set mcp-registry-url with left as a placeholder, preserving the user's --mcp-version, --target and --global options in the example; add a short docs page "Choosing an MCP registry" that neutrally lists the default curated GitHub MCP Registry, the Official MCP Registry (open publishing, intended for downstream catalogs), other public catalogs and private or enterprise registries, stating which are curated and which are open. Done when: Tests show the hint names the configured registry (default and custom), never contains a concrete alternative registry URL, preserves the original options in the example, makes no second registry request, and is suppressed for unsafe names or option values; manifest-driven installs keep their existing guidance; the docs page exists and is linked from the hint and the MCP install docs; the apm-usage guide mentions it. Out of scope: Automatic fallback to any other registry; pointing users to a specific alternative registry in CLI output; changing the default registry; registry allow or deny policy; changes to manifest-driven installs. Review contact: @danielmeppiel

danielmeppiel avatar Nov 12 '26 10:11 danielmeppiel

The apm-scope:v1 record above was approved by @danielmeppiel on 2026-11-12.

Why neutral rather than pointing at the Official MCP Registry: the most common cause of a miss is a typo, and the Official Registry is an open-publishing catalog that its own FAQ says is intended for downstream catalogs rather than direct client use. A ready-to-paste retry against it would steer a mistyped name toward an uncurated source. The hint should therefore say which registry was searched, offer a search in that same registry, and explain how to choose another registry without endorsing one; the new docs page lists the options neutrally.

@VedanthB, thank you for #2803 and for asking for confirmation. Your option-preservation work fits this scope directly; could you reshape the PR to the neutral wording (placeholder <URL>, no concrete alternative registry) plus the docs page? If you are not able to, the maintainers will finish it with your authorship credited.


Posted with AI assistance on behalf of @danielmeppiel.

danielmeppiel avatar Nov 12 '26 10:11 danielmeppiel