What is mcp-server-tidb?
It is an MCP server that provides a bridge between AI assistants (such as Claude) and TiDB Serverless databases, allowing database operations to be performed through natural language conversations.
@c4pt0r
Basic information
mcp server for tidb
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tidb": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-tidb",
"run",
"src/main.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
mcp-server-tidb is an MCP (Model Context Protocol) server implementation that connects AI assistants (like Claude) to TiDB Serverless databases. It enables natural language interactions with TiDB by exposing database operations as tools through the MCP standard. This server is for developers who want to query and manage TiDB databases via AI chat interfaces.
To use, first install the package using uv (Python package installer): clone the repository, create a virtual environment, and install dependencies with uv pip install -e .. Then configure environment variables (or a .env file) with your TiDB connection details (host, port, username, password, database). Finally, add the server configuration to Claude Desktop’s claude_desktop_config.json, pointing uv to the src/main.py entry point.
uv package manager.env fileIt is an MCP server that provides a bridge between AI assistants (such as Claude) and TiDB Serverless databases, allowing database operations to be performed through natural language conversations.
Clone the repository, create a Python virtual environment with `uv venv`, then install the package using `uv pip install -e .`. You need `uv` installed on your system.
Set the environment variables `TIDB_HOST`, `TIDB_PORT`, `TIDB_USERNAME`, `TIDB_PASSWORD`, and `TIDB_DATABASE` (or create a `.env` file with these values). You must first create a free TiDB Serverless cluster at tidbcloud.com.
Add a entry to `claude_desktop_config.json` with the command `uv` and arguments `--directory /path/to/mcp-server-tidb run src/main.py`. See the MCP quickstart guide for details.
Use `wsl.exe` as the command in the configuration, then pass the bash command that activates the environment, e.g., `bash -c "/path/to/uv --directory /path/to/mcp-server-tidb run python src/main.py"`.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
Open-source MCP to use Blender with any LLM

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Painless E2E Automation for Mobile and Web
Comments