Skip to content

fix(mcp): prefer content over structured output - #34505

Merged
rekram1-node merged 1 commit into
devfrom
fix/mcp-content-first
Jun 29, 2026
Merged

rekram1-node merged 1 commit into
devfrom
fix/mcp-content-first

Conversation

@rekram1-node

Copy link
Copy Markdown
Member

Summary

  • Preserve MCP content when structuredContent is also returned
  • Only fall back to structuredContent when content is empty
  • Add focused MCP catalog regression coverage

Tests

  • bun test test/mcp/catalog.test.ts
  • bun run typecheck

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant