Repository navigation
Conversation
Found on a clean-install walk-through of main (Spec 126 E3):
- catalog search prints reference ids that already carry the source
('reference/time'), but 'catalog add reference/time' failed with
'server not found in registry'; only 'reference/reference/time'
worked. FindServerByID now accepts the source-prefixed alias, matched
in the same listing (exact id wins, no extra fetch), so every add
surface resolves the id as printed.
- The add hint said 'approve with: mcpproxy upstream approve <name>',
which approves pending tools only: on a quarantined server it prints
'Approved 0 tools' and the server stays quarantined. It now names
'review show' and 'review approve --yes', like 'upstream add'; help
text and docs/features/registry-add.md follow.
- An install with no servers got only 'No results found' from
'upstream list'. Table output now prints next steps: one
credential-free reference server through the catalog door (time if
uvx is on PATH, else sequentialthinking if npx is, Spec 126 FR-002
order), a remote add, and catalog search. The hint adds, runs and
approves nothing; quarantine, trust mode and the scan are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dumbris
added a commit
that referenced
this pull request
Nov 19, 2026
Maps a clean-install walk-through of main 58a824e to FR-001..FR-017 (met / partly met / missing, with evidence), lists the in-product gaps left (starter G1, CLI second client G2, opaque refusal for client credentials G3), notes the FR-002 audited tool list is stale (mcp-server-time now also has get_time_ago), and records the sequencing: measurement first, #1939 held. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying mcpproxy-docs with
|
| Latest commit: |
43369d9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://44059037.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://fix-catalog-first-run-door.mcpproxy-docs.pages.dev |
- An empty 'upstream list --profile <p>' is that profile's servers, not an empty install: no first-server hint there. The --status guard was vacuous (the check runs before filtering) and is gone; the test now covers --profile. - 'access explain' told a quarantined-server target to run 'mcpproxy upstream approve <server>', which leaves it quarantined; it now says 'mcpproxy review approve <server>'. Tool targets keep 'upstream approve <server> <tool>'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- No daemon (config-file mode): the hint now starts with 'mcpproxy serve', since catalog add and review need the core. - An agent token in MCPPROXY_API_KEY sees only the servers it may see: an empty list is not an empty install and catalog add is not its operation, so no hint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
'upstream list' now takes the endpoint and key from daemonEndpoint and passes the key to runUpstreamListClientMode, so a socket connection (no key, administrator) gets the empty-install hint even with an agent token exported, and only an mcp_agt_ key the client really sends suppresses it. agentTokenInEnv is gone. A new test drives both list paths (config-file mode and client mode against an httptest daemon with no key, the admin key and an agent token). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… hint Review r4: the wiring in runUpstreamList (which key reaches runUpstreamListClientMode) was untested. The new test serves an empty server list on a unix socket, exports an agent token, and asserts the socket admin still gets the hint; passing the env-derived key instead fails it.
Review r5: use withTestRegistries so the package global is restored.
Contributor
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 44524634454 --repo smart-mcp-proxy/mcpproxy-go
|
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This branch has not been deployed
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
The smallest in-product first-run slice of Spec 126 (#1712). It makes the CLI catalog door work as printed, and gives an empty install a next step. Each item was found by walking a clean install on
main(58a824e, fresh data dir).catalog searchprints now resolves (closes the Spec 126 FR-003 door defect).reference/time). Somcpproxy catalog add reference/timefailed withserver not found in registry, and onlyreference/reference/timeworked.registries.FindServerByIDnow accepts the source-prefixed alias. An exact id wins. The alias is matched in the same listing, so there is no extra fetch, and it cannot match another source's entry. This is the shared resolution path, so REST and MCP adds get the fix too.approve with: mcpproxy upstream approve <name>. That command only approves pending tools: it printsApproved 0 tools, and the server stays quarantined.mcpproxy review show <name>and thenmcpproxy review approve <name> --yes, matchingupstream add.catalogandregistryhelp text anddocs/features/registry-add.mdare updated to match.upstream listgives a next step (Spec 126 US2 on the CLI; partly meets FR-008).--profile, and for a client that actually sends an agent-token key. Socket connections are administrator.mcpproxy serve.access explainpoints a quarantined server atmcpproxy review approve <server>instead ofupstream approve, which leaves the server quarantined.No results found.reference/timewhenuvxis on PATH, otherwisereference/sequentialthinkingwhennpxis (FR-002 order), and says so when neither is present.upstream add <name> <url>andcatalog search.--status-filtered empty lists are unchanged.Deliberately left out
review approve.Tests (failing first)
internal/registries:TestFindServerByID_AcceptsSourcePrefixedReferenceID;TestFindServerByIDInSource_ExactMatchWins.cmd/mcpproxy:TestRegistryAddMessage, extended to requirereview show/review approve --yesand to rejectupstream approve;TestFirstServerHint(uvx / npx only / no launcher);TestOutputServers_EmptyListPrintsFirstServerHint(also checks the filtered-empty and JSON cases).Each failed on main for the stated reason before the fix.
Gates:
golangci-lintv2 with.github/.golangci.yml, bare and--build-tags server: 0 issues;go test -race ./internal/registries/...: ok;go test ./cmd/mcpproxy/...: ok../scripts/test-api-e2e.sh(ports 18731/18732, at 557e164): 77 passed, 0 failed.Manual run, on a fresh data dir with the built binary: empty
upstream listhint →catalog add reference/time(as printed) → hint namingreview show/review approve --yes→review show time(clean, 3 tools) →review approve time --yes→time:get_current_timecalled over MCP successfully.Review
Each round was a fresh-context Claude Opus 5.5 reviewer, working read-only; most rounds also ran the tests and used a mutation check.
--profilelist got the hint; a vacuous--statustest. Same-class gap: theaccess explainhintserve; a scoped agent token got the hintrunUpstreamListwiring had no testKnown limit (existing behaviour, not caused by this PR):
review approve <name> --yesallows only read-only tools with a clean scan by default.mcp-server-timetools are annotated read-only, so the uvx route admits them.--alllets the user opt in.