Skip to content

docs(spec): 128 server outcomes on tool search and tool lists - #1944

Merged
Dumbris merged 6 commits into
mainfrom
128-server-list-outcomes
Nov 20, 2026
Merged

Dumbris merged 6 commits into
mainfrom
128-server-list-outcomes

Conversation

@Dumbris

@Dumbris Dumbris commented Nov 19, 2026

Copy link
Copy Markdown
Member

Spec only, no code.

retrieve_tools (and tools/list _meta on the direct and single-server surfaces) gains an unavailable_servers list naming the in-reach servers that could not be searched or listed. Each entry has a status from the existing display vocabulary (sign_in_required, connecting, needs_review, needs_secret, needs_config, error, disabled) and one fixed sentence. With this, an agent no longer reads "zero results" as "the capability does not exist" when the real cause is a server waiting for a sign-in.

  • Reach is a hard boundary. Nothing depends on servers outside serverInScope: no names, no counts. This is tested byte-for-byte on the Spec 118 fixture matrix.
  • Upstream error text is never copied into the list.
  • When every server is ready, responses are byte-identical to today's.
  • The list is capped at 20 entries.
  • It can be switched off with agent_server_outcomes: false.

Origin: idea 3 of the LiteLLM MCP Gateway comparison (LiteLLM's per-server list outcomes in _meta).

Spec: specs/128-server-list-outcomes/spec.md

Agents get a fixed-vocabulary list of in-reach servers that could not be
searched or listed (sign-in required, connecting, needs review, error,
disabled), so a missing tool is no longer mistaken for a missing capability.
Idea 3 of the LiteLLM MCP Gateway comparison.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9735080
Status: ✅  Deploy successful!
Preview URL: https://df2394c8.mcpproxy-docs.pages.dev
Branch Preview URL: https://128-server-list-outcomes.mcpproxy-docs.pages.dev

View logs

One eligibility predicate (final display Status != ready, disabled
included, calculator precedence authoritative); explicit discovery-
readiness fact for the connecting overlay; each surface passes its own
resolved scope; describe_tool answers describe the server only, identical
across tool names, direct surface and check:true unchanged.
Tool policy evaluated before any index-dependent describe fallback (no
existence oracle for denied tools); outcomes and the zero-result
sentence survive tool_response_limit truncation ahead of tool entries.
Server outcome is authoritative before index-dependent quarantine and
approval gates on the describe path; retrieve_tools server selector
confines outcome reach to the selected, authorized server.
Single-server scenario: no upstream tools, built-in describe_tool kept,
tools array unchanged.
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📦 Build Artifacts

Workflow Run: View Run
Branch: 128-server-list-outcomes

Available Artifacts

  • archive-darwin-amd64 (33 MB)
  • archive-darwin-arm64 (30 MB)
  • archive-linux-amd64 (20 MB)
  • archive-linux-arm64 (18 MB)
  • archive-windows-amd64 (33 MB)
  • archive-windows-arm64 (29 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (29 MB)
  • installer-dmg-darwin-arm64 (26 MB)
  • smart-mcp-proxymcpproxy-goQHPH1E.dockerbuild (0 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 44602781073 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

FR-009 on the single-server surface applies only where the built-in
describe_tool is registered; an upstream-owned describe_tool is preserved
and outcomes travel via tools/list _meta.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Dumbris
Dumbris merged commit d75684d into main Nov 20, 2026
75 of 76 checks passed
Dumbris added a commit that referenced this pull request Nov 20, 2026
`roadmap.yaml` had no epics after Spec 117. This PR adds them and
regenerates `ROADMAP.md`.

- **Shipped:** 118 auto-rescan (#1689), 118 pin visibility boundary
(#1684, #1688, #1821), 119 (#1740), 120 (#1781), 122 (#1818) and 123
(#1886, #1887, #1888, #1891).
- **In review:** 121 install surfaces (#1711). There is no `spec:` link
yet because its folder exists only on the PR branch.
- **In progress:** 124 (PR-1 #1918 done; PR-2 CLI and PR-3 Web UI to do)
and 125 (spec plus PR-1..3 done; PR-4 Web UI to do). Merged PRs are
listed as done child tasks, so `--check-github` doesn't flag a merged PR
under an in-progress epic.
- **Spec-only PRs:** 127 (#1943), 128 (#1944) and 129 (#1945).

Merge this after #1943, #1944 and #1945. Until then, `--check-github`
reports their `spec:` links as unresolved; `--check`, the pre-commit
hook, passes.

Not covered: Spec 126 (#1940, open) and the unsynced tasks.md checkboxes
for 123 and 124.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants