OpenMetadata MCP server for AI assistants

Expose your OpenMetadata catalog to Claude, Cursor, VS Code and agent frameworks through its MCP server, with authentication and write limits set before rollout.

On this page

Connecting OpenMetadata to AI assistants through MCP

The OpenMetadata MCP server lets AI assistants such as Claude, Cursor and VS Code, and agent frameworks, search the catalog, work with glossary terms and follow lineage, using the Model Context Protocol. Use it when teams want assistants to answer questions from catalog metadata instead of copying table descriptions into chat. The server is served at {OMURL}/mcp over Streamable HTTP, where {OMURL} is your OpenMetadata server address. Its tools cover three groups: searching metadata, managing glossaries and working with lineage. Before rollout, decide which of those groups an assistant should reach at all, because a glossary tool that can edit terms is a different risk from a search tool that only reads.

OpenMetadata 2.0 enabled MCP by default, so an upgrade can change the state of your server without a separate change request. Confirm whether the endpoint is reachable after upgrading, which network paths can reach it and whether any assistant clients were connected before the upgrade. Treat the MCP endpoint as another API surface in your security review, alongside the REST APIs and the web interface, and record its owner. Check the 2.0 release notes for the exact default and any settings that govern it in your deployment, since your installed configuration is the authoritative answer.

Interactive clients authenticate with OAuth 2.0, which fits a person signing in through your identity provider and acting with their own catalog permissions. Unattended agents authenticate with JWT bearer tokens, which suit background jobs but need a named owner, a defined scope and a rotation plan because a leaked token works until it expires or is revoked. Choose the method per client type, and confirm with your OpenMetadata administrator how tokens map to roles and whether an assistant inherits the permissions of the person who connected it. Because OpenMetadata does not combine multiple authentication mechanisms at once, plan the identity setup for the whole deployment before you enable assistant access. Review the OpenMetadata MCP connection guide and the OAuth setup guide before you choose.

OAuth or JWT: choosing the authentication mode

Claude, Cursor and VS Code run on a developer's machine and act for that developer. With OAuth 2.0, the assistant requests access, the developer completes a sign-in through the organization's identity provider, and the assistant then works with that person's OpenMetadata identity and permissions. The credential is bound to one user, so what the assistant can read or change matches what that person can already do in the catalog.

  • Credential type: An OAuth 2.0 access token issued after the developer signs in.
  • Ownership: The individual developer owns the session, so the permissions follow that person's role.
  • Rotation and revocation: Access should end when the person is disabled in the identity provider, but confirm how already-issued tokens behave at that point and how long they remain valid.
  • Operator checks: Confirm the client registration steps, redirect handling, requested scopes and token lifetime in the OpenMetadata MCP OAuth docs.

Before rollout, test a sign-out and a disabled account to see exactly when access stops.

Request flow from assistant to catalog

The flow starts in the assistant vendor's cloud, where Claude, Cursor, VS Code or an agent framework sends a request to the OpenMetadata MCP endpoint at {OMURL}/mcp over Streamable HTTP. The request carries either an OAuth 2.0 token for an interactive user or a JWT bearer token for an unattended agent. OpenMetadata validates the credential inside the company network, applies the caller's catalog permissions to the search, glossary or lineage tools, and returns only what that identity may see. Check that the token's identity holds read-only roles and that the trust boundary is drawn where your security team expects it.

Assistant requests cross the trust boundary and are checked against catalog permissions.

Limiting what assistants can change in the catalog

An MCP client acts with the identity and permissions it is given, so the catalog is only as protected as the token behind each assistant. The cards below cover the write paths that matter most in OpenMetadata, the control to set for each, and what to confirm in the tool list of the version you install before any assistant connects.

Glossary term edits

Glossary terms define what a metric or field means across teams, so an assistant that rewrites a definition changes how people read every linked asset. Give assistant identities read access to glossaries by default and grant edit rights only to a named steward role. Confirm which glossary tools the installed version exposes and whether a write tool can be disabled or filtered by role. Test one term edit with a non-privileged token to see what the server returns.

OpenMetadata security docs

Lineage changes

Manual lineage edits alter impact analysis, so a wrong edge can hide a downstream dashboard from the owners who need to hear about a schema change. Keep lineage writes out of the assistant role unless a data engineering team has reviewed the use case. Confirm whether the lineage tools in your version can add or only read edges, and whether those actions appear in the audit trail with the calling identity.

Ownership and metadata updates

Owner, tier and description changes decide who gets alerted and who is accountable for a table. An assistant that reassigns ownership can silently move responsibility away from the team that runs the pipeline. Separate read scopes from metadata write scopes, and restrict owner changes to the admins who manage domains. Ask the vendor or check the release notes to confirm which fields the update tools accept and whether ownership fields are writable through them.

Bulk changes by agents

Agents can loop over many entities in one session, so a single bad prompt can touch hundreds of assets before anyone notices. Set rules for which token an unattended agent uses, keep its scope narrower than a person's, and require a human review of a proposed change list before it is applied. Confirm whether your version limits batch size or rate, and check how a bulk run appears in logs so it can be traced and reversed.

Reviewing agent output

A write that looks correct in the chat window may not match what the catalog stores after validation. Have the assistant propose changes as a diff, then compare the stored entity against the prior version before approving. Keep a record of which assistant made each change so ownership and glossary history stay explainable. Check whether your version keeps version history for each entity type so a reviewer can roll back an edit.

Token scope and role design

The MCP server authenticates with OAuth 2.0 for interactive clients or JWT bearer tokens for unattended agents, so the granted roles define the write surface. Create one assistant role per use case, such as search-only, steward and pipeline, and issue each token against the narrowest of these. Review tokens on a schedule and revoke any that no longer match a use case. Confirm how your identity provider maps groups to OpenMetadata roles before issuing tokens.

Setting up the MCP server for a first assistant

This sequence takes an OpenMetadata deployment from a confirmed version and endpoint to a registered assistant client that can read the catalog with an identity limited to what it needs. Each step ends with a check, so the team knows the setup works before it reaches more users or agents.

  1. Confirm the OpenMetadata version and MCP status

    The platform team checks the running OpenMetadata version against the release notes and confirms that the MCP server is enabled. OpenMetadata 2.0 enabled MCP by default, so a 2.0 installation should already expose it, but an older or customized deployment may not. Record the exact version in the change ticket, because tool names and behavior can change between releases. Done means the version is written down and the MCP status is confirmed in the deployment configuration, not assumed from the release notes.

  2. Confirm the MCP endpoint responds

    The platform team confirms that the server answers at the MCP path under your OpenMetadata base URL, which the connection guide describes as {OMURL}/mcp over Streamable HTTP. Test from the network segment where the assistant will run, because proxies, ingress rules and TLS certificates often block clients that work from inside the cluster. Done means the endpoint returns a response to an unauthenticated request in the way the documentation describes, and that the TLS chain is trusted by the client machine or runtime.

  3. Choose the authentication mode for each client

    The security lead and platform team decide between OAuth 2.0 for interactive clients, such as a developer's editor session, and JWT bearer tokens for unattended agents that run without a person signing in. Make the decision per client type and document it, because the two modes carry different lifetimes, revocation paths and audit trails. Confirm with your OpenMetadata security configuration that the identity provider you already use is compatible with the chosen mode. Done means each planned client has a named authentication mode in the design record.

  4. Register the assistant client

    The platform engineer registers the assistant, such as Claude, Cursor or VS Code, using the connection settings in the MCP connection guide, pointing it at the confirmed endpoint and the chosen authentication mode. For OAuth, the user completes the sign-in flow once in the browser. For JWT, the service identity's token is stored in the runtime's secret store, not in a shared configuration file. Done means the client shows the server as connected and no credential appears in plain text in a repository or dotfile.

  5. Grant a least-privilege test identity

    The security lead creates a dedicated test user or service identity in OpenMetadata and gives it only the roles needed for the first read tests. Do not reuse an administrator account for the first run, because the assistant inherits the permissions of the identity it signs in with. Confirm the identity can see the domains and tables you intend to expose and cannot edit glossary terms or lineage. Done means a short permission matrix exists and a test attempt to change a glossary term or lineage edge is refused for this identity.

  6. Verify the client lists the expected tools

    The platform engineer opens the assistant's tool list and confirms that the search, glossary and lineage tools described in the MCP connection guide are present, and that no unexpected write or administration tools appear. Compare the list with the release version recorded in the first step. A mismatch usually points to a version or configuration difference rather than a client fault. Done means the tool list is saved with the version and reviewed by the team that owns the catalog.

  7. Run search, glossary and lineage read checks

    The platform engineer asks the assistant to perform one catalog search, one glossary read and one lineage read against a dataset the test identity should see. Ask for a result that names a known table, glossary term or upstream asset, so the answer can be checked against the catalog interface. Then ask the same question with a dataset the identity should not see, and confirm the answer does not reveal it. Done means all three reads return correct results and the restricted check is refused or returns nothing, and the outcome is recorded before any wider rollout.

Questions teams ask before connecting AI assistants

What does connecting OpenMetadata to an AI assistant cost in effort, and who does the work?

The main effort is a one-time setup: deciding the authentication method, creating the identity and token configuration, testing what each assistant can read and change, and writing the rules for its use. Recurring effort comes from keeping client configurations, tokens and permissions current as people join, leave and change roles. Your catalog team and identity team usually do most of this internally, and an implementation partner can take the design and testing work if your capacity is limited. Ask any partner for a fixed-scope quote that lists the assistants, the authentication path, the test cases and the handover material. Software licensing is not the main cost, because OpenMetadata is released under the Apache License 2.0.

How long does a first MCP connection take to plan and test?

Duration depends on how many assistants you connect, whether you already run an OIDC identity provider that OpenMetadata supports, and how much permission testing you require. A single interactive client with existing SSO is a much smaller job than several unattended agents that each need their own token and scoped access. Plan time for the identity configuration, a test instance, a review of which tools and glossary or lineage actions each client can use, and a sign-off round with the data owners. Ask for a written timeline with each phase listed, rather than accepting a single estimate.

What must our team provide before the work starts?

You need three things ready. First, an identity provider that OpenMetadata can work with, such as one of the SSO providers listed in its security documentation, along with an admin who can register applications in it. Second, a catalog administrator who understands domains, glossary ownership and which teams may edit metadata. Third, test data: a non-production OpenMetadata environment with representative tables, glossary terms and lineage, so that tests do not touch production metadata. You should also name the agent owners who will hold JWT tokens for unattended use and decide who approves each assistant before it reaches live data.

Can our own engineers configure the MCP server without a partner?

Yes, if your team already administers OpenMetadata and an identity provider and can read the MCP connection and OAuth documentation for the version you run. The hard parts are not the endpoint itself but the decisions: which tools each client may call, how tokens are issued and rotated, and how you prove that an assistant cannot change glossary terms or lineage it should not touch. Teams that lack a security reviewer for these decisions often bring in an outside tester to check the configuration before rollout. Confirm the exact tool list and behavior with your OpenMetadata version before writing your policy.

Should we use OAuth or JWT for our assistants?

Use OAuth 2.0 for interactive clients where a person signs in and acts with their own permissions, and use JWT bearer tokens for unattended agents that run without a user present. OAuth ties each action to a known identity, which makes audit trails and access reviews simpler. JWT tokens are practical for scheduled or background agents, but they carry the permissions of the account they belong to, so you must scope that account narrowly, set an owner, and plan rotation and revocation. Many organizations use both: OAuth for staff in Claude, Cursor or VS Code, and tightly scoped JWT accounts for agent frameworks. Confirm each client's support for the flow in the OpenMetadata MCP documentation before you commit.

How do limits on assistant changes get enforced in practice?

Start from the principle that an assistant should only have the permissions of the account it authenticates as, so the control lives in OpenMetadata roles and policies, not in the assistant's prompt. Map each client or agent to an account with read-only access where possible, and grant write access to glossary or lineage only where an owner has approved it. Then test the boundary: ask each client to edit a term it should not change and confirm the change is refused and logged. Document these tests so auditors and security reviewers can repeat them after each upgrade.

How do upgrades to OpenMetadata 2.0 affect the MCP server?

OpenMetadata 2.0 enabled MCP by default, so an upgrade can expose the endpoint on an instance that never had it switched on. Before upgrading, check whether your network and authentication settings allow the new endpoint, and review whether any client or agent should be blocked until it is configured. The 2.0 release also has breaking changes in other areas, such as embedding credentials, Databricks authentication and ingestion image rebuilds, so the MCP review should sit inside a wider upgrade test. Confirm the upgrade steps in the 2.0 release notes and retest your client permissions on a staging instance first.

Security and operational considerations

An MCP server gives AI assistants a live view of your catalog and, depending on the permissions you grant, a way to change it. The six areas below are the decisions and checks that determine whether that access stays bounded, traceable and recoverable. Confirm each one against your own OpenMetadata version and identity setup before you widen access beyond a pilot group.

JWT credential storage and rotation

JWT bearer tokens are the path for unattended agents, so each token is a standing credential. Issue one token per agent or integration rather than sharing a single service token, and record which owner, purpose and environment each token belongs to. Store tokens in your secrets manager, never in client configuration files checked into source control. Ask the vendor or your own testing how token expiry and revocation work in your release, then rehearse a rotation before an agent depends on the token. Confirm the process for revoking a token when an agent is retired.

MCP connection docs

OAuth client registration and redirect controls

Interactive clients such as Claude, Cursor and VS Code authenticate through OAuth 2.0, so the registration of each client becomes part of your trust boundary. Decide which clients are approved, who may register them and which redirect URIs they may use. Loose redirect rules let an attacker capture authorization codes, so compare the registered URIs against the exact addresses each tool uses. Review the OAuth setup steps with your identity team, and confirm how your OpenMetadata release handles client registration before you publish instructions to users.

MCP OAuth guide

Keeping SSO and basic authentication separate

OpenMetadata does not support combining multiple authentication mechanisms at once, such as SSO with basic authentication. Your MCP access path therefore has to fit the authentication mode you chose for the whole server. If your workforce signs in through SSO, plan JWT or OAuth flows that work within that mode rather than adding a basic login for assistants. Document which identities can reach the MCP endpoint, and confirm during testing that a disabled sign-in method cannot be used as a fallback by an assistant.

Audit logging of assistant activity

An assistant can run many searches and changes in minutes, so the audit trail must separate its actions from those of human users. Check what your OpenMetadata release records for requests made through the MCP server, including the calling identity, the tool used and the entity affected. Where the log does not show which assistant acted, plan a naming convention for tokens and clients so the trail can be traced. Ask who reviews these logs and how often, and confirm retention meets your internal policy.

Data sent to third-party assistant vendors

Each assistant client may send catalog content, such as table names, column descriptions, glossary terms and lineage results, to the vendor's model service. Metadata can reveal system names, personal data fields and business logic even when no row-level data is shared. Review each vendor's data handling terms against your classification policy, and decide which domains or sensitive tags the MCP server should not expose. Confirm whether your organization permits the tools to be used with production metadata before rollout.

Limiting write tools for assistants

The MCP server exposes tools for managing glossaries and working with lineage, so an assistant may be able to edit business definitions and relationships, not only read them. Restrict write-capable tools to tokens and roles that need them, and test each tool with the permissions the assistant will actually hold. Keep a change review step for glossary edits, and confirm that bulk changes are visible to the owners of the affected assets.

Monitoring availability through upgrades

MCP is enabled by default from OpenMetadata 2.0, and the 2.0 release also included breaking changes to configuration and ingestion. A change to the server, authentication settings or client compatibility can break assistant workflows without warning to users. Add an MCP check to your upgrade test plan, record the tool list and token behavior before and after each maintenance release, and assign an owner to watch for failures reported by assistant users.

2.0 release notes

How DeployOpen scopes and delivers an MCP rollout

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, and the MCP server is handled the same way. We agree the assistant clients, authentication model and write permissions in writing before any configuration starts, then test and hand over the setup so your security and platform teams can review it.

How we scope

  • Written scope names each assistant client, such as Claude, Cursor or VS Code, and each agent framework that will connect.
  • Scope records whether each client uses OAuth for interactive sign-in or a JWT bearer token for unattended agents.
  • Scope lists which read, search, glossary and lineage actions are allowed, and which write actions stay blocked.

How we build

  • We confirm the MCP endpoint at your OpenMetadata URL and verify that Streamable HTTP is reachable from each client network.
  • We configure OAuth or JWT credentials with the lifetimes, token storage and rotation your security team approves.
  • We test prompt injection, over-broad tool access and exposure of restricted metadata before the setup goes live.

How we hand over

  • You receive client configuration files, a credential issuance runbook and a record of the permissions each client holds.
  • Documentation describes how to add or remove an assistant client and how to revoke a compromised token.
  • Findings from testing come with fixes and a retest so your team can confirm each issue is closed.

How we support

  • Fixed-scope engagements end with a handover review agreed in the written scope, not an open-ended commitment.
  • Ongoing support for OpenMetadata upgrades, MCP configuration changes and continuous testing is available as a retainer.
  • Retainer scope covers reviewing release notes for MCP-related changes before you upgrade to a new OpenMetadata version.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.