OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Automated Metadata Context Processing (MCP) Enrichment

Open Monsau opened this issue 1 year ago • 5 comments

Goal

Move all 🟢 Extended API Functions (Governance, Ownership, Contextual Search, Granular Patching) into the core(MCP) framework to execute them as transactional, in-process functions rather than relying on external REST API calls.

Justification

The current dependence on REST API Wrappers introduces latency, network overhead, and error handling complexity for crucial governance tasks. Integrating these functions natively will:

Boost Performance: Eliminate network calls, allowing enrichment (e.g., Domain assignment, Tagging) to happen instantly within the MCP thread.

Improve Reliability: Ensure that governance actions are executed transactionally alongside metadata ingestion.

Simplify Development: Remove the need for external API wrappers and credential management within the MCP service.

Enable Atomic Operations: Allow sophisticated features like the "Context Forge" to complete complex, multi-step enrichments reliably.

📦 Migration Scope (User Stories/Tasks)

This initiative includes moving every function from your Extended API Functions list (Existing and New) to native MCP capability:

1. Governance Structure & Owner Management

Move to Native: create_domain, list_domains, create_data_product, list_data_products, delete_data_product.

Move to Native: add_owner.

Move to Native: lookup_team_by_name (The underlying lookup logic).

2. Data Quality & Contract Management

Move to Native: create_data_contract, list_data_contracts.

Move to Native: add_quality_test_to_contract.

3. Contextual Search & Granular Patching

Move to Native: search_for_entities_by_attribute.

Move to Native: add_tag_to_field.

Move to Native: link_glossary_term_to_entity.

Move to Native: search_for_similar_terms.

Desired Outcome

The MCP will directly interact with the underlying database/storage layer for all governance and context operations, transforming it into a self-contained, powerful Metadata Context Processing Engine.

Monsau avatar Nov 04 '25 10:11 Monsau

@Monsau can you elaborate on this ? we are talking directly to the server via MCP

mohityadav766 avatar Jan 07 '26 09:01 mohityadav766

Sure we acces to OMD by MCP but features are limited and i asked to add new behaviours so we avoid the mix of API and MCP for querying OMD

Monsau avatar Jan 07 '26 10:01 Monsau

@Monsau any specific tool/api you have in mind that you need for OM MCP to add?

mohityadav766 avatar Apr 09 '26 06:04 mohityadav766

Hi @mohityadav766 We currently integrate the full lifecycle with our agent using an orchestrator! For instance, we have mcp + apis for data contrat, entities,DQ, and most of activities for the core OM by api. Please let's exchange in slack OM to elaborate

Monsau avatar Apr 09 '26 07:04 Monsau

@Monsau thanks for the ticket but after checking closely the above request doesn't align with overall product. Feel free to open another request if you have something specific, thank you

Vishnuujain avatar Aug 21 '26 10:08 Vishnuujain