Model Context Protocol
The Model Context Protocol (MCP) catalog uses a service-and-server hierarchy:service.server, such as mcp_registry.warehouse_tools.
MCP Service Endpoints
The required create fields are
name and serviceType. Set serviceType to Mcp.
MCP Server Endpoints
The required create fields are
name, serverType, and the parent service’s fully qualified name in service. Valid server types are DataAccess, FileSystem, WebAPI, Database, Cloud, Security, Development, Communication, and Custom. Valid transport types are Stdio, SSE, and StreamableHTTP.
Create a Service and Server
The Python example assumes a configured genericOpenMetadata client named metadata. For client setup, see the Python SDK guide. The Java example assumes a configured OpenMetadataClient named client.
Python SDK
MCP Execution Endpoints
An MCP Execution records runtime activity for a cataloged MCP server. It captures tool calls, resource access, and prompt use. It also tracks data access, compliance checks, and performance metrics.
The list endpoint accepts
serverId, startTs, endTs, and limit. Supply startTs and endTs together. Required create fields are server, serverId, timestamp, and status. Valid statuses are Running, Success, Failed, Timeout, and Cancelled.
REST API
Update and Delete
Send an RFC 6902 JSON Patch document withContent-Type: application/json-patch+json to a PATCH endpoint. Set hardDelete=true on a DELETE request for permanent deletion. Restore a soft-deleted entity by sending its id to the corresponding /restore endpoint.