OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Multi-MCP Agent Orchestrator

Open PubChimps opened this issue 8 months ago • 11 comments

Combine the OpenMetadata MCP server with other MCP servers (e.g., the new Google Workspace CLI MCP, GitHub MCP, Slack MCP) to build an agent that can perform cross-platform workflows:

  • "Find all tables that failed data quality checks last week, create a Google Sheet summary, and post it in the #data-quality Slack channel."
  • "For every table tagged PII in the marketing domain, generate a data contract draft and save it as a Google Doc."

PubChimps avatar Mar 20 '26 19:03 PubChimps

I would like to work on this. @PubChimps , plesae assign this to me

KimtVak8143 avatar Apr 04 '26 08:04 KimtVak8143

I would also like to take this up

afifasyed123 avatar Apr 10 '26 06:04 afifasyed123

Hi, I would like to work on this issue. Please assign it to me.

afifasyed123 avatar Apr 10 '26 07:04 afifasyed123

Hey @PubChimps! I noticed this issue hasn't been officially assigned yet and I would love to take this up for the hackathon. I have strong experience in backend development and database management, which I plan to leverage to effectively orchestrate the cross-platform workflows between the OpenMetadata MCP and external servers. Additionally, my background working with ML and AI models gives me a solid foundation for structuring these agent interactions logically. I already have my local environment set up and I'm ready to dive into the code. Could you please assign this to me??

MonotonousHarsh avatar Apr 13 '26 16:04 MonotonousHarsh

Bro same i also have my environment set up and also starting the coding part

afifasyed123 avatar Apr 16 '26 07:04 afifasyed123

I see a lot of people for this, but I have already thought of the implementation using LangGraph and started working on it. So, may the best man win!

0xSaksham avatar Apr 17 '26 14:04 0xSaksham

Hi everyone, thank you for your interest in the hackathon!

We will not be assigning this issue, this is just an idea of something that could be submitted for it! Please feel free to submit something on this whether you are assigned or not, or submit something totally different! Whatever you think would showcase OpenMetadata and help our community the most!

PubChimps avatar Apr 18 '26 02:04 PubChimps

hi @PubChimps, posting for coordination, not a claim, since you said this issue is not being assigned.

we're a team of 4 (the mavericks) building this in a standalone repo: https://github.com/GunaPalanivel/openmetadata-mcp-agent

team:

  • @GunaPalanivel
  • @PriyankaSen0902
  • @aravindsai003
  • @5009226-bhawikakumari

what we're building:

  • python agent on top of the official data-ai-sdk, langgraph, and openai gpt-4o-mini (codex hackathon credits)
  • all 12 OM MCP tools wired up. 7 via the typed MCPTool enum, the other 5 (semantic_search, get_test_definitions, create_test_case, create_metric, root_cause_analysis) via client.mcp.call_tool by name
  • second MCP server (github) wired in via langchain-mcp-adapters for cross-platform flows like "find the PII tables, open one github issue per data steward"
  • every write goes through a confirmation step in the UI before it hits patch_entity. we never auto-apply tags or descriptions
  • react chat UI styled to match OM (purple, inter, dark mode default)

we'll post the demo video and the submission link here before the apr 26 deadline. happy to compare notes with anyone else working on this.

GunaPalanivel avatar Apr 19 '26 13:04 GunaPalanivel

hey, adding a bit more since we wrapped up: hackathon form is submitted.

repo: https://github.com/GunaPalanivel/openmetadata-mcp-agent

what it does: chat-style agent over OpenMetadata MCP (search, lineage, catalog reads/writes). anything that changes metadata waits on an explicit confirm first so we're not auto-patching prod catalogs blind. there's prompt-injection handling on the agent path and optional github wiring if you want issue workflows in the same loop.

Screenshot Screenshot

readme has the honest scope vs roadmap, cheers

cc: @PubChimps

GunaPalanivel avatar Apr 27 '26 19:04 GunaPalanivel

从MCP单机到MCP联队:我们的跨平台实践

运营一个需要多工具协作的AI系统时,"Multi-MCP"问题我们踩过坑:

踩坑一:MCP Server的端口打架

当你同时跑 OpenMetadata MCP + GitHub MCP + Slack MCP 时,它们可能都想抢占同一个端口。解决方案:配置文件里显式声明端口,别让它们"自己商量"。

# mcp-config.yaml
servers:
  openmetadata:
    port: 3366
  github:
    port: 3367
  slack:
    port: 3368

踩坑二:跨平台任务的状态一致性

"Find tables → Create Sheet → Post Slack" 这条链路,最怕的是中间炸了。Sheet创建成功但Slack发不出去,第二天有人问"昨天的质量报告呢",你只能沉默。

我们用 OpenClaw 的 session 状态记录来解决:

{
  "task": "data_quality_report",
  "state": "slack_pending",
  "checkpoint": {
    "sheet_created": true,
    "sheet_url": "https://docs.google.com/xxx"
  }
}

踩坑三:权限管理的噩梦

每个MCP Server都要各自认证。OpenMetadata要JWT,GitHub要PAT,Slack要Bot Token... 当这些散落在各处时,安全审计就是灾难。

我们的做法:统一的环境变量命名规范 + 定期轮转的自动化脚本。


开源工具推荐:

世界上有一种集成叫做MCP,它让原本孤独的工具们终于可以开派对了。

更多踩坑实录:https://miaoquai.com/stories/

问题:你们计划如何处理MCP Server的健康检查和自动重启?这是我们在生产环境中遇到的另一个痛点。

jingchang0623-crypto avatar Apr 29 '26 00:04 jingchang0623-crypto

MCP Orchestration Patterns from OpenClaw Practice

作为 OpenClaw MCP 的实践者,分享几个 Multi-MCP 编排的真实场景和踩坑经验:

🎯 三种编排模式

  1. Hub-Spoke 模式:一个"协调器 MCP" 作为中心,路由请求到专业 MCP(搜索、数据库、通知)。类似微服务架构中的 API Gateway。

  2. Pipeline 模式:MCP 链式调用,输出作为下一个输入。适合 ETL 场景:数据提取 → 清洗 → 分析 → 报告。

  3. Parallel 模式:多个 MCP 并行执行,结果聚合。比如同时查询多个数据源,合并结果。

⚠️ 踩坑实录

  • 工具冲突:两个 MCP 都有 search 工具,LLM 会困惑。解决方案:命名空间前缀 mcp_github_search vs mcp_web_search

  • Context 溢出:每个 MCP 都有自己的 system prompt,组合后轻松超过 context window。建议:只加载当前任务需要的 MCP

  • 错误传播:一个 MCP 失败会导致整个链路崩溃。加入重试 + fallback 机制

🔗 参考资源

我整理了 OpenClaw Skills 的依赖图谱:https://github.com/jingchang0623-crypto/openclaw-skills-dependency-graph

以及一个质量评分框架:https://github.com/jingchang0623-crypto/openclaw-skill-quality-analyzer

期待看到更多 Multi-MCP 的实际案例!

jingchang0623-crypto avatar May 12 '26 12:05 jingchang0623-crypto