Skip to main content

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 Information

  • Server Name: openmetadata-mcp-stateless
  • Version: 1.1.0
  • Endpoint: {OMURL}/mcp. If OpenMetadata runs under a sub-path, the endpoint includes it, for example https://your-host/openmetadata/mcp.
  • Protocol: Streamable HTTP (MCP spec 2025-03-26)
  • Authentication: OAuth 2.0 (interactive clients) or JWT Bearer Token (unattended agents)

Connection Setup

1. Server URL

Your MCP server is available at:
Replace {OMURL} with your OpenMetadata instance URL (for example, https://your-openmetadata.com).

Sub-path Deployments

If OpenMetadata runs under a sub-path, the MCP endpoint and its OAuth routes are served under the base path, for example https://your-host/openmetadata/mcp. Set the MCP base URL in the MCP Server application settings to the external URL that includes the base path, for example https://your-host/openmetadata. A trailing slash is ignored. If the base URL is missing the base path, the server logs a warning at startup. The server answers https://your-host/openmetadata/mcp/.well-known/oauth-authorization-server, https://your-host/openmetadata/mcp/.well-known/openid-configuration, and https://your-host/openmetadata/mcp/.well-known/oauth-protected-resource. Clients that look only for https://your-host/.well-known/... at the host root need a reverse proxy route that forwards those requests to OpenMetadata. For more information about sub-path setup, see the Docker, Kubernetes, and bare metal sub-path deployment pages.

2. Authentication

The MCP server supports two authentication methods:
  • OAuth 2.0 (interactive clients): Sign in with your existing OpenMetadata login. With SSO or SAML, you click Approve on a consent page before the client is connected. Requires a browser and a signed-in user, so it isn’t suitable for headless or unattended agents. See OAuth 2.0 Authentication for setup instructions.
  • Bot JWT token: For unattended agents and environments where browser-based login isn’t available. Generate a token from a Bot as described in Bot Token, then include it in the Authorization header:

3. Required HTTP Headers

All Streamable HTTP POST requests must include:

API Endpoints

Initialize Connection

Endpoint: POST {OMURL}/mcp Sample Request:
Sample Response:

Complete Initialization

After receiving the initialize response, send this notification before making normal requests:

List Available Tools

Endpoint: POST {OMURL}/mcp Sample Request:
Sample Response (truncated, because the server exposes 21 tools). For the complete list, see the MCP Tools Reference:

List Available Prompts

Endpoint: POST {OMURL}/mcp Sample Request:
Sample Response: