Enterprise DNA
M MCP Servers Developer low

c4pt0r/mcp-server-tidb

by Various

mcp server for tidb

C

MCP

c4pt0r/mcp-server-tidb

Added 1 June 2026

Overview

An MCP server that enables AI agents to query and interact with TiDB databases. It implements the Model Context Protocol to provide structured database access for AI tools. Built in Python, it connects to TiDB instances and exposes database operations as MCP tools.

Best for

Best for
Developers building AI agents that need to access TiDB databases

Use cases

  • Query TiDB databases from AI assistants
  • Execute SQL operations through MCP-compatible clients
  • Integrate TiDB data retrieval into AI workflows

How to use

Install

uv pip install -e .

Tested with

Claude Desktop

Example client config

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

Notes

An MCP server that enables AI agents to query and interact with TiDB databases. It implements the Model Context Protocol to provide structured database access for AI tools. Built in Python, it connects to TiDB instances and exposes database operations as MCP tools.

23 stars on GitHub. Last updated 2025-04-15. Licensed Apache-2.0.

Use cases

  • Query TiDB databases from AI assistants
  • Execute SQL operations through MCP-compatible clients
  • Integrate TiDB data retrieval into AI workflows

Pros

  • Simple setup for TiDB connectivity via MCP
  • Leverages standard MCP protocol for interoperability
  • Lightweight Python implementation

Cons

  • Limited community support with only 23 stars
  • Requires running a separate MCP server process
  • May lack advanced features for complex database operations

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Simple setup for TiDB connectivity via MCP
  • Leverages standard MCP protocol for interoperability
  • Lightweight Python implementation

Cons

  • Limited community support with only 23 stars
  • Requires running a separate MCP server process
  • May lack advanced features for complex database operations
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks