Skip to content

[FEATURE] Relay MCP URL elicitations to the user #3499

Description

@QuentinBisson

📋 Prerequisites

📝 Feature Summary

Relay an MCP server's URL mode elicitation to the user as a HITL request.

❓ Problem Statement / Motivation

When an MCP server answers a tool call with a URL mode elicitation (e.g. "sign in here first"), kagent's runtimes drop it and the link never reaches the user.

💡 Proposed Solution

Park the task at input-required with a url_elicitation_request in the HITL payload, and resume it with accept or decline, like the other HITL requests. On accept the runtime retries the tool call.

One PR per runtime: Go ADK first, then Claude and Codex on top of the snapshot-based suspension.

🔄 Alternatives Considered

No response

🎯 Affected Service(s)

App Service

📚 Additional Context

Related: #2326

🙋 Are you willing to contribute?

  • I am willing to submit a PR for this feature

Activity

  1. QuentinBisson commented on Nov 3, 2026

    @QuentinBisson
    ContributorAuthor

    Follow-ups after #3500 (Go ADK + contract):

    • Claude and Codex runtimes: relay URL elicitations on top of the snapshot-based suspension.
    • UI: render url_elicitation_request with a link and accept/decline, and answer with url_elicitation_response. Until then the UI shows the message and the link as text, with no way to answer.
    • Subagents: forward a child's URL elicitation through RemoteHitlState, as nested tool approvals and ask_user already are. Today it fails the parent's remote-agent call with an explicit error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions