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

[Feature]: Forward upstream elicitation requests to the client

Open felipecrs opened this issue 2 weeks ago • 0 comments

Problem / motivation

Upstream servers can't ask the user anything mid-call through mcpproxy, because mcpproxy initializes upstreams with empty client capabilities (connection_lifecycle.go#L32) and doesn't relay elicitation/create.

For example, ssh-mcp asks for approval before destructive commands. Through mcpproxy, every such call is refused:

APPROVAL_UNAVAILABLE: ... Underlying error: Client does not support form elicitation.

My client (Claude Code) supports elicitation, so this would work if mcpproxy passed it through.

Proposed solution

Declare elicitation to upstreams and forward their elicitation/create requests to the client that made the tool call, returning its answer. When the caller can't answer (no elicitation support, REST API, CLI), decline right away.

Alternatives considered

Turning ssh-mcp's approval off (approvalMode = "auto"), which removes the safety check. The MRTR work in spec 058 / #532 only covers the 2026-07-28 protocol; upstreams on 2025-11-25 still use elicitation/create.

Which edition?

Personal

Pre-submission checklist

  • [x] I searched existing issues and discussions for a similar request

felipecrs avatar Nov 20 '26 22:11 felipecrs