mcp-server-tidb
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
MCP server implementation for TiDB (serverless) database.
Prerequisites
- uv (Python package installer)
Installation
Configuration
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.\ '
- TIDB_PASSWORD - Database password
- TIDB_DATABASE - Database name, default is test
Run with Claude Desktop
Config 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: