Tidb MCP Server

Go [tidbcloud.com](https://tidbcloud.com) to create a free TiDB database cluster

Local serverstdioPython

What is the Tidb MCP Server?

Go tidbcloud.com to create a free TiDB database cluster

Configuration and credentials

  • uv (Python package installer)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Tidb MCP Server

{
  "mcpServers": {
    "tidb": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-server-tidb",
        "run",
        "src/main.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • uv (Python package installer)

Example prompts to try

  • “Use Tidb to TIDB HOST.”
  • “Use Tidb to TIDB PORT.”
  • “Use Tidb to TIDB USERNAME.”

Frequently asked questions

Go [tidbcloud.com](https://tidbcloud.com) to create a free TiDB database cluster Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.