Is the OpenMetadata MCP server safe? What it can reach
What the OpenMetadata MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
OpenMetadata ships an MCP server inside the platform, enabled by default, at your own host’s /mcp. You sign in with OAuth, a personal access token or a bot JWT, and it acts with that identity’s role. It can create entities and lineage and patch metadata. An admin can turn on Read-only Mode or disable single tools.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| OpenMetadata MCP Server (built in) | Official | active |
It runs as a hosted remote server.
How it signs in
OAuth 2.0 with your OpenMetadata SSO login, or a Personal Access Token, or a Bot JWT for unattended agents. Tools run with that user’s or bot’s role and policies.
What its tools can do
| Kind | Tools |
|---|---|
| Read | search_metadata, semantic_search, company_context, get_entity_details, get_user_context, get_persona_context, find_context, get_concept_context, get_entity_lineage, root_cause_analysis, get_test_definitions, sparql_query, entity_neighborhood, find_by_tag, shacl_validate, ontology_describe |
| Write | create_entity, describe_entity_type, patch_entity, create_lineage, create_test_case |
| Can’t be undone | none documented |
Endpoint is {your OpenMetadata URL}/mcp over Streamable HTTP. patch_entity takes JSON Patch operations including remove. describe_entity_type is blocked in Read-only Mode because it only prepares create_entity.
Built-in limits
| Option | What it does |
|---|---|
Read-only Mode | In Settings > Applications > MCP Server, exposes only tools marked read, for every user including admins. |
Disabled Tools | The same settings page lets an admin turn off chosen tools for every user including admins. |
Bot with a narrow policy | Docs recommend a Bot with only the role-based access policy the agent needs for recurring use. |
Token expiry | OAuth access tokens last 10 minutes and refresh tokens 30 days; Personal Access Tokens have a lifespan you set. |
The risks
- Descriptions, glossary terms and notes are edited by many people, so an injected instruction in one could make the agent create entities, change lineage or patch metadata you own.
- patch_entity accepts remove operations, so a bad patch can strip descriptions, owners or tags from an asset, and the docs describe no undo.
- A Personal Access Token gives the agent your role and policies, and a Bot JWT is a long-lived secret that must be kept out of source control.
- OpenMetadata says SPARQL and knowledge-graph results aren’t filtered by asset or domain policies unless an admin removes the ExecuteSparqlQuery rule from the Data Consumer policy.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http openmetadata https://your-openmetadata-host/mcpClaude Code names MCP tools mcp__openmetadata__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__openmetadata__create_entity",
"mcp__openmetadata__patch_entity",
"mcp__openmetadata__create_lineage",
"mcp__openmetadata__create_test_case"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.openmetadata]
url = "https://your-openmetadata-host/mcp"Checklist
- Turn on Read-only Mode for any agent that only needs to look things up.
- Use a Bot with a narrow policy for recurring agents, not a personal token.
- Review the SPARQL policy rule if you restrict assets by domain.
- Ask before create_entity and patch_entity.
Checked against the vendor documentation on November 25, 2026. OpenMetadata MCP Server overview · MCP Tools Reference · MCP connection guide · Restricting MCP tools and OAuth · openmetadata-mcp module README
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing