TiDB MCP Server
PingCAP's server for TiDB: run SQL, manage databases and use vector search on TiDB Cloud or self-hosted TiDB.
- Last checked
- Nov 23, 2026
- Listed
- Nov 23, 2026
Install & connect
Third-party code: read it before you run it. HPSILab reviewed this guide but does not operate this server.
Install by client
claude mcp add tidb-mcp-server -- uvx pytidb
Some servers need extra arguments or environment variables (keys, paths): check the official guide below.
Generated by HPSILab from this listing's endpoint and package, in each client's documented format. The official guide decides arguments, keys and versions.
Official guide
# From the official README: https://github.com/pingcap/pytidb
# Configuration from the README's one-click install (Cursor)
{
"mcpServers": {
"TiDB": {
"command": "uvx --from pytidb[mcp] tidb-mcp-server",
"env": {
"TIDB_HOST": "localhost",
"TIDB_PORT": "4000",
"TIDB_USERNAME": "root",
"TIDB_PASSWORD": "",
"TIDB_DATABASE": "test"
}
}
}
}Links
More Data & Databases MCP servers
- Databricks Managed MCP Servers
Databricks' managed servers for Unity Catalog functions, Genie spaces, vector search and SQL.
- Snowflake Managed MCP Server
Snowflake's managed server for Cortex Search, Cortex Analyst and SQL over your Snowflake data.
- Microsoft Clarity MCP Server
Microsoft's server to query Clarity analytics: sessions, heatmaps metrics, scroll depth and user behaviour.
- Alation MCP Server
Alation's server that gives agents trusted catalog context: data assets, documentation and queries.
- Atlan MCP Server
Atlan's server to search and update data assets, lineage, glossary and data products in your catalog.
- DataHub MCP Server
DataHub's server for metadata search: datasets, lineage, owners, glossary terms and queries.