Implement MCP Client in OpenMetadata UI
Some work started here https://github.com/open-metadata/OpenMetadata/pull/26343 adding the necessary elements to have an MCP Client to interact directly with the UI.
The initial implementation of the UI in the PR is quite bad, any improvements on styling, making sure it follows the openmetadata-ui core practices, etc. would be great to get it through the finish line.
For the deliverable, make sure to record a new video showcasing the final shape
@pmbrull @PubChimps
Hi! I'd love to work on this issue and would like to get assigned to it. π
I have gone through the issue description carefully and I'm confident I can tackle it effectively. I'm actively contributing to OpenMetadata and this looks like a great fit for me.
Could you please assign this issue to me? Thank you! π
Hi @pmbrull, I would love to work on this. could u plz assign this to me?
@pmbrull I can help finish the styling and structural work for this PR. As a contributor to OpenUI, I suggest using the pre-built browser bundle (openui-browser-bundle) to handle the MCP client interface. We can run it in an isolated iframe, which provides the full generative UI streaming runtime without bloating OpenMetadata's core dependencies or conflicting with the existing design system. Let me know if you are open to this approach, and I can take over the implementation and record the showcase video.
Hi @pmbrull, Iβd like to take this on.
Iβm ready to start on it right away. If that works for you, could you please assign this issue to me?
Hi @pmbrull, Iβd like to take this on.
Iβm ready to start on it right away. If that works for you, could you please assign this issue to me?
Hi @pmbrull, Iβd like to help finish the UI side of the MCP Chat work in #26343.
-
Iβm frontend-focused, and used to shipping polished React/TS surfaces and iterating fast on review.
-
I would align McpChatPage with openmetadata-ui patterns (layout, components, states), and drop anything that fights the design system.
-
Iβll deliver a short screen recording of the final flow per the issue.
hi @pmbrull i would like to take this could you please assign it to me ? thanks
Hi @pmbrull, I'd like to take this one on and finish the MCP Client UI work from #26343.
I went through the draft PR end-to-end. My plan:
- Resolve the merge conflicts with
mainand rebase cleanly so the PR is mergeable. - Fix the two open Gitar-flagged bugs β
handleSelectAllreplacing instead of merging selections, and the brokenprefixCls="w-full"on the antdSpacecomponent. - Re-align
McpChatPagewith the openmetadata-ui design system β the current implementation leans on raw MUI, which fights the existing component patterns. I'll move it onto the shared layout/typography primitives so it feels native to the app. - Polish the chat surface β empty state, thinking indicator, tool-call accordion, markdown rendering, and the conversation sidebar β and make sure SSE streaming still behaves correctly end-to-end.
- Stabilize the failing checks (Playwright shards, Sonar coverage, integration tests) so the PR can actually go green.
Deliverable: a clean PR on top of #26343 plus a fresh screen recording of the final flow, as called out in the issue.
Happy to coordinate with anyone already working in this area to avoid duplicate effort. Could you assign this to me?
Hi @pmbrull π
Iβve gone through both the issue description and the existing draft PR #27717 end-to-end, including the Gitar bot findings. Iβd like to take this over and deliver a production-ready implementation.
Hereβs my complete plan:
-
Fix all 5 Gitar-flagged issues (2 bugs + 3 edge cases) first:
- Wire up
AbortControllerproperly β passsignaltostreamChat(), callabort()before each new message send, and add auseEffectcleanup on unmount so no orphaned fetch connections remain. - Wrap
JSON.parse(payload)in a try/catch inside the SSE parser and yield a typedStreamErrorEventon failure, so a malformed frame does not terminate the whole stream. - Fix SSE spec compliance β support both
data:payloadanddata: payloadformats. - Clean up ghost optimistic messages β ensure the
finallyblock in the async generator loop always removesoptimistic-prefixed messages, whether the stream ends successfully or with an error. - Mark i18n keys as pending translation instead of shipping English strings across all locale files.
- Wire up
-
Align
McpChatPagefully withopenmetadata-uiconventions β replace any raw MUI usage with the shared Ant Design component set used across the codebase (layout, typography, Button, Collapse, Skeleton, etc.). -
Polish the chat experience β improve the empty state, thinking/typing indicator, tool-call collapsible accordion with JSON input + result, markdown rendering for assistant messages, and the conversation sidebar (list, new, delete).
-
Ensure SSE streaming correctness β authenticated POST-based SSE via native
fetch+ReadableStreamasync generator is the right approach (sinceEventSourcecannot send auth headers or a request body), and Iβll make sure it correctly handles chunked delivery, partial lines, and reconnect edge cases. -
Stabilize CI β get all checks green (Playwright, Sonar, Java/Python checkstyle, integration tests) before marking ready for review.
-
Deliverable β a screen recording of the complete flow, as required by the issue.
Could you please assign this to me? Iβm ready to start immediately. π