Skip to content

[Feature Request] Native Elicitation support for MCP tools (Commit Message Refinement) #21231

Closed as not planned

Description

@blak0p

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Context
I am the developer of git-courer, a local MCP server that acts as a Git specialist to achieve Zero tokens spent on git operations. By delegating diff analysis and commit message generation to a local AI (Ollama), we significantly reduce cloud costs.
The Gap: Elicitation Support
Currently, Opencode's MCP implementation lacks a native Elicitation (Human-in-the-loop) flow. While tools like Claude Code have already set a standard by allowing users to refine and edit agent-proposed messages before persistence, Opencode currently follows a "fire-and-forget" model.
In git-courer, we have already implemented a UI port with an Edit method, but we cannot bridge this with the Opencode host.
The Problem
• Lack of Refinement: If the local AI generates a message that needs a minor tweak, the user has no UI hook in Opencode to edit it programmatically.
• Token Waste: Without elicitation, the Cloud Agent often wastes tokens re-explaining or re-thinking changes that a simple manual edit would solve instantly.
• Market Competitiveness: As elicitation becomes a standard for professional AI agents to ensure safety and precision, its absence in Opencode limits the potential of specialized local tools.
Proposed Feature
Implement Elicitation hooks in the MCP protocol to allow tools to return a "draft" state. This should trigger an editable text buffer in the UI, enabling the user to confirm or modify the content (e.g., a commit message) before final execution.
Impact
This would allow git-courer and similar tools to provide a professional-grade Developer Experience (DX) while maximizing Token Savings.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 6, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 6, 2026
  3. github-actions commented on Apr 6, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The title should start with [FEATURE]: (e.g., [FEATURE]: Native Elicitation support for MCP tools) — the current prefix [Feature Request] does not match the required template format.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    • Add MCP elicitation support #8251: Add MCP elicitation support (same feature request for MCP elicitation/human-in-the-loop support — note this issue is closed, so if it was resolved or needs reopening, please reference it)

    If you believe this was flagged incorrectly, please let a maintainer know.

  4. github-actions commented on Apr 6, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions