Skip to content

Give each routing endpoint its own focused tool set#335

Merged
Dumbris merged 7 commits intomainfrom
fix-routing-endpoint-tools
Mar 11, 2026
Merged

Give each routing endpoint its own focused tool set#335
Dumbris merged 7 commits intomainfrom
fix-routing-endpoint-tools

Conversation

@Dumbris
Copy link
Contributor

@Dumbris Dumbris commented Mar 10, 2026

Summary

  • Web UI: Replace single "Proxy" copy button with dropdown showing all 4 MCP endpoints (/mcp, /mcp/call, /mcp/all, /mcp/code) with descriptions and per-endpoint copy buttons
  • CLI: mcpproxy status now shows MCP Endpoints section with all URLs
  • Version: MCP server instances report actual build version (e.g., v0.20.2) instead of hardcoded 1.0.0
  • Management tools: upstream_servers, quarantine_security, search_servers, list_registries now available on all routing endpoints (not just default)
  • Docs: Routing modes docs updated with pros/cons, comparison table, and "Choosing the Right Mode" matrix

/mcp/code tools

code_execution, retrieve_tools (instructs to use code_execution), upstream_servers, quarantine_security, search_servers, list_registries

/mcp/call tools

retrieve_tools (instructs to use call_tool_*), call_tool_read/write/destructive, read_cache, upstream_servers, quarantine_security, search_servers, list_registries

CLI output

MCP Endpoints
  /mcp             http://127.0.0.1:8090/mcp  (default, retrieve_tools mode)
  /mcp/call        http://127.0.0.1:8090/mcp/call  (retrieve + call tools)
  /mcp/all         http://127.0.0.1:8090/mcp/all  (all tools, direct access)
  /mcp/code        http://127.0.0.1:8090/mcp/code  (code execution)

Test plan

  • go build ./cmd/mcpproxy passes
  • TestGetMCPServerForMode updated and passing
  • Manual: /mcp/code tools/list returns 6 tools (including management)
  • Manual: /mcp/call tools/list returns 9 tools (including management)
  • Manual: MCP initialize returns "version": "v0.20.2" (not 1.0.0)
  • Manual: mcpproxy status shows MCP Endpoints section
  • Manual: retrieve_tools descriptions are mode-appropriate

🤖 Generated with Claude Code

/mcp/code now only exposes code_execution + retrieve_tools (with
instructions to use code_execution, not call_tool_*).

/mcp/call now has a dedicated server with retrieve_tools (with
instructions to use call_tool_read/write/destructive) + the three
call_tool variants + read_cache. No code_execution, upstream_servers,
or other tools that don't belong.

Previously /mcp/call served the full default server with all tools.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 10, 2026

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b64e0b
Status: ✅  Deploy successful!
Preview URL: https://abfb8ac3.mcpproxy-docs.pages.dev
Branch Preview URL: https://fix-routing-endpoint-tools.mcpproxy-docs.pages.dev

View logs

claude added 5 commits March 10, 2026 22:00
Web UI:
- Replace single "Proxy" copy button with dropdown showing all 4 MCP
  endpoints (/mcp, /mcp/call, /mcp/all, /mcp/code) with descriptions
  and per-endpoint copy buttons

CLI:
- `mcpproxy status` now shows MCP Endpoints section with all URLs

Backend:
- MCP server instances now report actual build version (not "1.0.0")
- Management tools (upstream_servers, quarantine_security, search_servers,
  list_registries) are now available on all routing endpoints
- Extract buildManagementTools() for sharing across routing modes

Docs:
- Add pros/cons and comparison table for each routing mode
- Add "Choosing the Right Mode" decision matrix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ping

Remove overflow-x-hidden from header and inner div that was causing
the absolutely-positioned dropdown to be clipped. Replace DaisyUI
focus-based dropdown with Vue-controlled v-if dropdown for reliable
click behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove bloated tool catalog from code_execution description on /mcp/code
  (was embedding ALL upstream tool names, now references retrieve_tools)
- Add code_execution tool to /mcp/call mode (user requested)
- Extract buildCodeExecutionTool() helper shared by both routing modes
- retrieve_tools on /mcp/call still encourages call_tool_* workflow
- retrieve_tools on /mcp/code still encourages code_execution workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Redundant with retrieve_tools which provides the same BM25 search
with richer results (annotations, call_with, inputSchema).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix 3 quarantine tests that expected "pending" but got "approved":
  add Quarantined: true to server config since auto-approve is now
  the default for non-quarantined servers
- Fix broken Docusaurus link: remove .md extension from cross-doc
  link (Docusaurus uses path slugs, not filenames)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 10, 2026

📦 Build Artifacts

Workflow Run: View Run
Branch: fix-routing-endpoint-tools

Available Artifacts

  • archive-darwin-amd64 (25 MB)
  • archive-darwin-arm64 (23 MB)
  • archive-linux-amd64 (14 MB)
  • archive-linux-arm64 (13 MB)
  • archive-windows-amd64 (25 MB)
  • archive-windows-arm64 (22 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (28 MB)
  • installer-dmg-darwin-arm64 (25 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 22935982635 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

The code_execution/ directory is not included in the website build,
so cross-references to it break the Docusaurus build. Replace with
a plain text reference to the repo path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Dumbris Dumbris merged commit b15bfc9 into main Mar 11, 2026
40 checks passed
@Dumbris Dumbris deleted the fix-routing-endpoint-tools branch March 11, 2026 05:04
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