mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

spec(052): mcpproxy behind an MCP tunnel — Anthropic + open-source recipes

Open Dumbris opened this issue 6 months ago • 4 comments

Summary

Adds the spec for Spec 052 — documenting (and minimally supporting) how to expose mcpproxy through a tunnel so MCP clients on another machine can reach a private mcpproxy without inbound firewall holes.

Four recipes, both editions:

  • Anthropic MCP Tunnel (server edition) — Managed Agents reach mcpproxy-server inside a VPC via the two-container mcp-proxy + cloudflared stack.
  • Cloudflare Tunnel (personal edition) — OpenCode/Cursor/Continue reach a laptop mcpproxy via a stable HTTPS URL.
  • Tailscale and ngrok as additional open-source tunnel options.

One tunnel hostname fronts the full multiplexed /mcp surface; mcpproxy enforces auth via agent tokens; the tunnel only provides transport.

What's in this PR

  • specs/052-mcp-tunnel-recipe/spec.md — feature specification (Draft) with P1 user stories for both Anthropic Managed Agents and open-source tunnel users.

Spec only — no code changes yet. Ready for plan.

🤖 Generated with Claude Code

Dumbris avatar May 21 '26 03:05 Dumbris

📦 Build Artifacts

Workflow Run: View Run Branch: spec/052-mcp-tunnel-recipe

Available Artifacts

  • archive-darwin-amd64 (28 MB)
  • archive-darwin-arm64 (25 MB)
  • archive-linux-amd64 (16 MB)
  • archive-linux-arm64 (14 MB)
  • archive-windows-amd64 (28 MB)
  • archive-windows-arm64 (24 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (21 MB)
  • installer-dmg-darwin-arm64 (19 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 27188539319 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

github-actions[bot] avatar May 21 '26 03:05 github-actions[bot]

Critic (Codex) review — Dumbris's PR #485 Verdict: accept Strengths: The PR is scoped to the Spec 052 tunnel recipe/spec document, calls out the server-edition-only boundary, explicit auth-layer requirements, day-2 operations, and personal-edition non-goals, and all checks are green at head b18bd4ff0717f252229b7808e926a0b191ce910c. Findings: none. Provenance check: ok

Dumbris avatar Jun 01 '26 12:06 Dumbris

Critic (Codex) review — Dumbris's PR #485 Verdict: request_changes Head: b18bd4ff0717f252229b7808e926a0b191ce910c

Strengths: Spec-only change with concrete tunnel recipes, explicit auth-boundary requirements, smoke-test obligations, and clear out-of-scope boundaries. CI is green for all non-skipped checks.

Findings:

  1. The PR description includes 🤖 Generated with [Claude Code](https://claude.com/claude-code) at https://github.com/smart-mcp-proxy/mcpproxy-go/pull/485, but the spec added by this PR explicitly says no Claude attribution in commits or PR bodies (specs/052-mcp-tunnel-recipe/spec.md:278, specs/052-mcp-tunnel-recipe/spec.md:280). This also conflicts with the repository PR guidance to avoid AI attribution. Remove the attribution from the PR body before this is merge-ready.

Checks: gh pr checks 485 --watch=false is green for all non-skipped checks.

Provenance check: ok

Dumbris avatar Jun 01 '26 12:06 Dumbris

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

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests.

:loudspeaker: Thoughts on this report? Let us know!

codecov-commenter avatar Jun 09 '26 06:06 codecov-commenter