Skip to content

Elicitation support #13405

Open
Open

Description

@theg1239

What variant of Codex are you using?

CLI 0.107.0

What feature would you like to see?

When using MCP servers that require per-tool approval via form elicitation, Codex currently cannot complete the tool call. It would be good to have the Codex MCP client support tool approval via elicitation.

Additional information

No response

Activity

  1. added
    enhancement
    on Mar 3, 2026
  2. added
    CLI
    mcp
    tool-calls
    on Mar 3, 2026
  3. github-actions commented on Mar 3, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. removed
    CLI
    tool-calls
    on Mar 3, 2026
  5. theg1239 commented on Mar 3, 2026

    @theg1239
    ContributorAuthor

    This does not seem like a duplicate of #11816.

    #11816 is a server-side bug in codex mcp-server: when approval requires elicitation and the client never answers, the server can hang indefinitely.

    This issue is different. In my case there was no hang. The MCP server returned a clear error immediately:

    This MCP server requires a client with form elicitation support so each tool call can be explicitly approved.

    So the server behaved correctly. The missing piece is client-side support, the Codex MCP client currently does not implement the MCPcorm elicitation flow needed to surface the approval UI and send the user’s response back to the server.

    That makes this a feature request for Codex clients to support MCP form elicitation, not a report about the indefinite-hang bug in #11816.

  6. chardin1 commented on Mar 5, 2026

    @chardin1

    I'd also like to see this. My understanding is this is a blocker to using GitHub MCP remotely via OAuth github/github-mcp-server#132

  7. SamMorrowDrums commented on Mar 5, 2026

    @SamMorrowDrums

    The ask for GitHub MCP is URL Elicitation, not form mode however, as we are hoping to improve security by providing STDIO Oauth and we want to provide the interactive oauth login via secure URL Elicitation.

    We have a fallback of form Elicitation for the device code if interactive oauth fails, but the strong desire is for MCP clients generally to support Elicitation fully.

  8. etraut-openai commented on Apr 3, 2026

    @etraut-openai
    Contributor

    This feature request hasn't received enough upvotes, so closing.

  9. SamMorrowDrums commented on Apr 3, 2026

    @SamMorrowDrums

    @etraut-openai does OAI require issue upvotes to implement standard parts of the MCP spec?

  10. Kludex commented on Apr 3, 2026

    @Kludex

    Can we reopen this, please? The reason we are not leveraging elicitation on our side is because codex doesn't support it.

    Maybe change the title of the issue to "Elicitation support", and add "upvote police" in the issue template?

  11. changed the title [-]Add form elicitation support for MCP servers that require explicit tool approval[/-] [+]Elicitation support[/+] on Apr 3, 2026
  12. etraut-openai commented on Apr 3, 2026

    @etraut-openai
    Contributor

    @Kludex, this feature request didn't receive enough upvotes for us to consider investing in it. If you'd like to open a new feature request, you're welcome to. Sometimes the title or description are not sufficiently compelling to attract upvotes from other Codex users. You could try rephrasing in a new feature request.

  13. SamMorrowDrums commented on Apr 3, 2026

    @SamMorrowDrums

    @etraut-openai I shared this on the MCP official discord client developers channel, https://discord.com/channels/1358869848138059966/1399982845144989786/1489592059773059103

    Being spec compliant with MCP is not really a sensible thumbs up contest, if you really want I am sure I could send loads of fellow sever authors this direction, but you can’t really be expecting end users to realise it is due to lack of MCP Spec feature implementation. What they do instead is open up issues on MCP servers complaining they don’t work, misunderstanding that it’s the client.

  14. added
    bug
    and removed
    enhancement
    on Apr 3, 2026
  15. etraut-openai commented on Apr 3, 2026

    @etraut-openai
    Contributor

    Since this is a spec compliance issue, I'm going to change it from a feature request to a bug report.

  16. SamMorrowDrums commented on Apr 4, 2026

    @SamMorrowDrums

    Thank you, appreciate it! I understand you’ll have to prioritise. Just happy to have it tracked! 🙏

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

    bugmcp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions