The Model Context Protocol (MCP) server for OpenMetadata enables standardized interaction with OpenMetadata through the Model Context Protocol, providing a wrapper around OpenMetadata's REST API that MCP clients can use.
To install the OpenMetadata MCP Server automatically via Smithery:
npx -y @smithery/cli install @yangkyeongmo/mcp-server-openmetadata --client claude
Configure one of the following authentication methods:
OPENMETADATA_HOST=<your-openmetadata-host>
OPENMETADATA_JWT_TOKEN=<your-jwt-token>
OPENMETADATA_HOST=<your-openmetadata-host>
OPENMETADATA_USERNAME=<your-username>
OPENMETADATA_PASSWORD=<your-password>
Add to your claude_desktop_config.json
using one of these authentication methods:
{
"mcpServers": {
"mcp-server-openmetadata": {
"command": "uvx",
"args": ["mcp-server-openmetadata"],
"env": {
"OPENMETADATA_HOST": "https://your-openmetadata-host",
"OPENMETADATA_JWT_TOKEN": "your-jwt-token"
}
}
}
}
{
"mcpServers": {
"mcp-server-openmetadata": {
"command": "uvx",
"args": ["mcp-server-openmetadata"],
"env": {
"OPENMETADATA_HOST": "https://your-openmetadata-host",
"OPENMETADATA_USERNAME": "your-username",
"OPENMETADATA_PASSWORD": "your-password"
}
}
}
}
If you prefer using uv
directly:
{
"mcpServers": {
"mcp-server-openmetadata": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-openmetadata",
"run",
"mcp-server-openmetadata"
],
"env": {
"OPENMETADATA_HOST": "https://your-openmetadata-host",
"OPENMETADATA_JWT_TOKEN": "your-jwt-token"
}
}
}
}
You can run the server manually:
python src/server.py
--port
: Port to listen on for SSE (default: 8000)--transport
: Transport type (stdio/sse, default: stdio)The server supports modular API group selection via command line arguments:
# Enable only core entities
python -m src.main --apis table,database,databaseschema
# Enable comprehensive data quality and governance
python -m src.main --apis test_case,test_suite,policy,role,tag,domain
# Enable all available APIs
python -m src.main --apis table,database,databaseschema,dashboard,chart,pipeline,topic,metrics,container,report,mlmodel,user,team,classification,glossary,tag,bot,services,event,lineage,usage,search,test_case,test_suite,policy,role,domain
# Use default selection (all implemented APIs)
python -m src.main
table
- Table entity managementdatabase
- Database entity managementdatabaseschema
- Database schema managementdashboard
- Dashboard entity managementchart
- Chart entity managementpipeline
- Pipeline entity managementtopic
- Topic entity managementmetrics
- Metric entity managementcontainer
- Container entity managementreport
- Report entity managementmlmodel
- ML Model entity managementuser
- User entity managementteam
- Team entity managementclassification
- Classification entity managementglossary
- Glossary and glossary terms managementtag
- Tag and tag category managementbot
- Bot entity managementservices
- Service configurations and connection testingevent
- Event subscriptions and notificationslineage
- Data lineage managementusage
- Usage analytics managementsearch
- Search and discovery operationstest_case
- Data quality test case managementtest_suite
- Data quality test suite managementpolicy
- Access policies and security managementrole
- Role-based access control managementdomain
- Domain and data product managementTo add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "mcp-server-openmetadata" '{"command":"uvx","args":["mcp-server-openmetadata"],"env":{"OPENMETADATA_HOST":"https://your-openmetadata-host","OPENMETADATA_JWT_TOKEN":"your-jwt-token"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"mcp-server-openmetadata": {
"command": "uvx",
"args": [
"mcp-server-openmetadata"
],
"env": {
"OPENMETADATA_HOST": "https://your-openmetadata-host",
"OPENMETADATA_JWT_TOKEN": "your-jwt-token"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"mcp-server-openmetadata": {
"command": "uvx",
"args": [
"mcp-server-openmetadata"
],
"env": {
"OPENMETADATA_HOST": "https://your-openmetadata-host",
"OPENMETADATA_JWT_TOKEN": "your-jwt-token"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect