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
xcrun mcpbridge returns unparsed JSON string in content field instead of structuredContent #18371
Xcode 26.3's mcpbridge transmits tool results as a JSON string embedded within the content field, rather than providing proper object data in the structuredContent field.
This behavior breaks strict MCP clients (like gemini-cli) which expect structuredContent for tool results.
Sample Payload
Below is an example of the non-compliant JSON-RPC response observed from xcrun mcpbridge:
The expected behavior would be for the text content to be parsed and populated into structuredContent, or for the structuredContent field to be present directly.
Expected Payload
The result object should contain a parsed structuredContent field:
changed the title [-]Enhance MCP tool result handling for Xcode 26.3 mcpbridge[/-][+][Xcode] MCP Bridge returns non-compliant responses missing structuredContent[/+]on Feb 5, 2026
changed the title [-][Xcode] MCP Bridge returns non-compliant responses missing structuredContent[/-][+]Bug: `xcrun mcpbridge` returns unparsed JSON string in `content` field instead of `structuredContent`[/+]on Feb 5, 2026
changed the title [-]Bug: `xcrun mcpbridge` returns unparsed JSON string in `content` field instead of `structuredContent`[/-][+]`xcrun mcpbridge` returns unparsed JSON string in `content` field instead of `structuredContent`[/+]on Feb 5, 2026
Activity
[-]Enhance MCP tool result handling for Xcode 26.3 mcpbridge[/-][+][Xcode] MCP Bridge returns non-compliant responses missing structuredContent[/+][-][Xcode] MCP Bridge returns non-compliant responses missing structuredContent[/-][+]Bug: `xcrun mcpbridge` returns unparsed JSON string in `content` field instead of `structuredContent`[/+]fix(core): handle non-compliant mcpbridge responses from Xcode
[-]Bug: `xcrun mcpbridge` returns unparsed JSON string in `content` field instead of `structuredContent`[/-][+]`xcrun mcpbridge` returns unparsed JSON string in `content` field instead of `structuredContent`[/+]