how-to-guides

No menu items for this category
OpenMetadata Documentation

MCP Server Connection Guide

OpenMetadata provides a Model Context Protocol (MCP) server that allows AI assistants and other clients to interact with your metadata catalog. The MCP server exposes tools for searching metadata, managing glossaries, and working with lineage data. Please check out our guides for Claude and Goose if you are using them as AI assistants.

  • Server Name: openmetadata-mcp-stateless
  • Version: 0.11.2
  • Endpoint: {OMURL}/mcp
  • Protocol: Server-Sent Events (SSE) over HTTP
  • Authentication: JWT Bearer Token

Your MCP server is available at:

Replace {OMURL} with your OpenMetadata instance URL (e.g., https://your-openmetadata.com/mcp)

The MCP server requires JWT authentication. Include your token in the Authorization header:

All requests should use:

Endpoint: POST {OMURL}/mcp

Sample Request:

Sample Response:

Endpoint: POST {OMURL}/mcp

Sample Request:

Sample Response:

Endpoint: POST {OMURL}/mcp

Sample Request:

Sample Response:

Endpoint: POST {OMURL}/mcp

Sample Request (Search Metadata):

Sample Response:

Endpoint: POST {OMURL}/mcp

Sample Request:

Sample Response:

  1. Always authenticate: Include the JWT token in every request
  2. Handle errors gracefully: Check for error responses and handle them appropriately
  3. Use appropriate limits: Don't request too many results at once to avoid performance issues
  4. Cache server capabilities: Store the results of the initialize call to avoid repeated requests
  5. Use specific entity types: When possible, specify entity_type to get more relevant results
  • JWT tokens should be kept secure and not logged
  • Use HTTPS for all communications
  • Implement token refresh logic for long-running connections
  • Follow your organization's security policies for API access

For more sample use cases with MCP please check out our blog!

With MCP, we are finding new ways to use OpenMetadata all the time! Now that you have Claude and OpenMetadata configured to work together, think you've got a great new use case? Show us what you've got in Slack!