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
MCP tool calls render Unknown despite tools/list title metadata #26044
OpenCode renders MCP tool calls as Unknown in the CLI/TUI even when the MCP server provides the standard MCP title field and annotations.title in tools/list.
Example display:
⚙ pekg_status Unknown
The tool executes successfully, but the display label makes the integration look broken.
Expected
OpenCode should use the MCP tool display title when available:
tool.title
tool.annotations.title
fallback to tool name
Expected display for the example below:
⚙ pekg_status PeKG Status
Actual
OpenCode displays:
⚙ pekg_status Unknown
Reproduction
OpenCode version:
1.14.39
Configure a remote MCP server whose tools/list includes this tool definition:
For MCP integrations, especially onboarding users to a new tool suite, Unknown makes a successful tool call look misconfigured or failed. The MCP spec defines title as the human-readable display name for tools, so OpenCode should preserve it in the tool-call UI state.
Spec reference
The MCP Tools spec says tools/list tool definitions include optional title; tool annotations can also include title for UI/end-user display.
Notes
The tool call result is otherwise correct. This appears to be a display/title propagation issue from MCP tools/list metadata into the rendered ToolStateCompleted.title.
Activity
uni-mike commentedon May 6, 2026
Opened PR #26046 with a small fix: preserve MCP
tools/listdisplay titles during MCP tool conversion and use that title for completed MCP tool parts.github-actions commentedon Jul 8, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.