You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Native Elicitation support for MCP tools (Commit Message Refinement) #21231
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.
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.
Activity
github-actions commentedon Apr 6, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[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:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Apr 6, 2026
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.