The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Server Tidb listing page.
MCP server implementation for TiDB (serverless) database.
Go tidbcloud.com to create a free TiDB database cluster
Configuration can be provided through environment variables, or using .env:
TIDB_HOST - TiDB host address, e.g. 'gateway01.us-east-1.prod.aws.tidbcloud.com'TIDB_PORT - TiDB port (default: 4000)TIDB_USERNAME - Database username, e.g. 'xxxxxxxxxx.<username>'TIDB_PASSWORD - Database passwordTIDB_DATABASE - Database name, default is testConfig Claude Desktop, HOWTO
claude_desktop_config.json:
If you're running mcp-server-tidb in WSL, the claude_desktop_config.json should look like this: