MCP server implementation for TiDB (serverless) database. - uv (Python package installer) Go tidbcloud.com to create a free TiDB database cluster Configuration can be provided through environment variables, or using .env: - TIDBHOST - TiDB host address, e.g. 'gateway01.us-east-1.prod.aws.tidbcloud.com' - TIDBPORT - TiDB port (default: 4000) - TIDBUSERNAME - Database username, e.g. 'xxxxxxxxxx.\ '
Add this skill
npx mdskills install c4pt0r/mcp-server-tidbProvides TiDB database connectivity but lacks detail on available tools and their functions
1# mcp-server-tidb23MCP server implementation for TiDB (serverless) database.45## Prerequisites67- uv (Python package installer)89## Installation1011```12# Clone the repository13git clone https://github.com/c4pt0r/mcp-server-tidb14cd mcp-server-tidb1516# Install the package and dependencies using uv17uv venv18uv pip install -e .19```2021## Configuration2223Go [tidbcloud.com](https://tidbcloud.com) to create a free TiDB database cluster2425Configuration can be provided through environment variables, or using .env:26- `TIDB_HOST` - TiDB host address, e.g. 'gateway01.us-east-1.prod.aws.tidbcloud.com'27- `TIDB_PORT` - TiDB port (default: 4000)28- `TIDB_USERNAME` - Database username, e.g. 'xxxxxxxxxx.\<username\>'29- `TIDB_PASSWORD` - Database password30- `TIDB_DATABASE` - Database name, default is test3132## Run with Claude Desktop3334Config Claude Desktop, [HOWTO](https://modelcontextprotocol.io/quickstart/user)3536`claude_desktop_config.json`:3738```39{40 "mcpServers": {41 "tidb": {42 "command": "uv",43 "args": [44 "--directory",45 "/path/to/mcp-server-tidb",46 "run",47 "src/main.py"48 ]49 }50 }51}52```535455If you're running mcp-server-tidb in WSL, the `claude_desktop_config.json` should look like this:5657```58{59 "mcpServers": {60 "tool-with-env-vars": {61 "command": "wsl.exe",62 "args": [63 "bash",64 "-c",65 "/path/to/uv --directory /path/to/mcp-server-tidb run python src/main.py"66 ]67 }68 }69}70```71
Full transparency — inspect the skill content before installing.