Use the DataHub MCP server Limited availability
Use the DataHub MCP server to empower AI agents with deep visibility into your data ecosystem, enabling natural language search, end-to-end lineage tracking, and context-aware SQL generation.
Prerequisites
- The uv Python package and project manager installed
- A DataHub personal access tokens (PAT)
- The DataHub GMS URL
Get the DataHub GMS URL
- In the Aiven Console, go to your DataHub service.
- In the Connection information section, copy the Application URL.
- Add
/api/gmsto the end of the copied URL.
Configure the MCP server
To run the open-source MCP server locally, configure your AI assistant:
- Claude Desktop
- Cursor
- Other AI tools
-
To find the full path to the
uvxcommand, run:which uvx -
Add the following content to your
claude_desktop_config.jsonfile:{
"mcpServers": {
"datahub": {
"command": "FULL-PATH-TO-UVX", // For example: /Users/hsheth/.local/bin/uvx
"args": ["mcp-server-datahub@latest"],
"env": {
"DATAHUB_GMS_URL": "DATAHUB_APPLICATION_URL",
"DATAHUB_GMS_TOKEN": "DATAHUB_PAT"
}
}
}
}Where:
FULL-PATH-TO-UVXis the full path to theuvxcommand you found.DATAHUB_APPLICATION_URLis the DataHub GMS URL.DATAHUB_PATis the personal access token you created in the DataHub UI.
-
Add the following content to your
.cursor/mcp.jsonfile:{
"mcpServers": {
"datahub": {
"command": "uvx",
"args": ["mcp-server-datahub@latest"],
"env": {
"DATAHUB_GMS_URL": "DATAHUB_APPLICATION_URL",
"DATAHUB_GMS_TOKEN": "DATAHUB_PAT"
}
}
}
}Where:
DATAHUB_APPLICATION_URLis the DataHub GMS URL.DATAHUB_PATis the personal access token you created in the DataHub UI.
The model context protocol (MCP) is an open standard supported by many clients. The most common configurations require:
- The DataHub GMS URL
- Your DataHub personal access token
- Command:
uvx - Args:
mcp-server-datahub@latest
The following standard MCP JSON configuration format works with most clients:
"datahub": {
"command": "/Users/USER_NAME/.local/bin/uvx",
"args": [
"mcp-server-datahub@latest"
],
"env": {
"DATAHUB_GMS_URL": "DATAHUB_APPLICATION_URL",
"DATAHUB_GMS_TOKEN": "DATAHUB_PAT"
}
Where:
DATAHUB_APPLICATION_URLis the DataHub GMS URL.DATAHUB_PATis the personal access token you created in the DataHub UI.