Skip to content

feat(prompts): finish prompt surfaces — rug-pull approve ops + F9 tool arg - #1011

Merged
Dumbris merged 1 commit into
mainfrom
feat/finish-prompts
Aug 19, 2026
Merged

feat(prompts): finish prompt surfaces — rug-pull approve ops + F9 tool arg#1011
Dumbris merged 1 commit into
mainfrom
feat/finish-prompts

Conversation

@Dumbris

@Dumbris Dumbris commented Aug 19, 2026

Copy link
Copy Markdown
Member

Completes the prompt-aggregation feature at the MCP/REST level, so it's ready for release. Every finding from the original #973 multi-model review is now shipped and reachable.

What's here

  • Rug-pull approve surface (spec 100 FR-7) — quarantine_security gains inspect_prompts, approve_prompt, approve_all_prompts, delegating to the ApprovePrompt/ApproveAllPrompts mutators shipped in the MVP. A held (pending/changed) prompt is now approvable by an agent or operator via any MCP client, not just programmatically or by flipping the server to trust: auto.
  • F9 — the upstream_servers MCP tool gains the expose_prompts arg (add/patch), so the per-server override is reachable from the tool, not only the REST PATCH that shipped in feat(prompts): polish for upstream prompt aggregation (F6/F7, F9, F14, F15) #1006.
  • Goldens — regenerated the three frozen tool-surface baselines for both schema additions (merge-base via the write env hook; pre099 via a byte-preserving splice; prefeature via a map update).
  • Docssecurity-quarantine.md now documents the prompt rug-pull baseline and the new operations.

Tests

quarantine_security prompt op handlers (inspect / approve / approve-all + missing-arg error) and the F9 patch-builder expose_prompts mapping. Both editions build; v2 lint clean.

Fast-follow (Web UI only)

A per-server expose_prompts toggle and a rug-pull "N prompts need approval" banner in ServerDetail.vue (the banner needs REST approve twins). The feature is fully usable via MCP + REST today; this is operator-UI polish, deliberately out of the release-blocking path.

🤖 Generated with Claude Code

…l arg

Completes the prompt-aggregation feature at the MCP/REST level for release.

- Rug-pull approve surface (spec 100 FR-7): quarantine_security gains
  inspect_prompts, approve_prompt, approve_all_prompts operations, delegating to
  the ApprovePrompt/ApproveAllPrompts mutators. A held (pending/changed) prompt
  is now approvable by an agent/operator via any MCP client instead of only
  programmatically or by flipping the server to trust:auto.
- F9: the upstream_servers MCP tool gains the expose_prompts arg (add/patch), so
  the per-server prompt-aggregation override is reachable from the tool, not just
  the REST PATCH shipped in #1006.
- Regenerated the three frozen tool-surface goldens for both schema additions
  (merge-base via the write-goldens env hook; pre099 via byte-preserving splice;
  prefeature via map update).
- Docs: security-quarantine.md documents the prompt rug-pull baseline and the new
  quarantine_security prompt operations.

Tests: quarantine_security prompt op handlers (inspect/approve/approve-all +
missing-arg error) and the F9 patch-builder expose_prompts mapping.

Fast-follow (Web UI): a per-server expose_prompts toggle and a rug-pull "N
prompts need approval" banner in ServerDetail.vue (the latter needs REST twins).
The feature is complete via MCP + REST; the operator UI is polish.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H7J8Yv5zr4tMQZaY3ot3Za
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7e94984
Status: ✅  Deploy successful!
Preview URL: https://4b5195af.mcpproxy-docs.pages.dev
Branch Preview URL: https://feat-finish-prompts.mcpproxy-docs.pages.dev

View logs

@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

❌ Patch coverage is 61.84211% with 29 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/server/prompt_quarantine.go 64.70% 10 Missing and 8 partials ⚠️
internal/server/mcp.go 56.00% 9 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

📦 Build Artifacts

Workflow Run: View Run
Branch: feat/finish-prompts

Available Artifacts

  • archive-darwin-amd64 (29 MB)
  • archive-darwin-arm64 (26 MB)
  • archive-linux-amd64 (17 MB)
  • archive-linux-arm64 (15 MB)
  • archive-windows-amd64 (29 MB)
  • archive-windows-arm64 (25 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (23 MB)
  • installer-dmg-darwin-arm64 (20 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 32279939896 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris
Dumbris merged commit 472314b into main Aug 19, 2026
40 checks passed
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