Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Server Tidb

    mcp server for tidb

    22 stars
    Python
    Updated Aug 14, 2025

    Table of Contents

    • Prerequisites
    • Installation
    • Configuration
    • Run with Claude Desktop

    Table of Contents

    • Prerequisites
    • Installation
    • Configuration
    • Run with Claude Desktop

    Documentation

    mcp-server-tidb

    MCP server implementation for TiDB (serverless) database.

    Prerequisites

    • uv (Python package installer)

    Installation

    code
    # Clone the repository
    git clone https://github.com/c4pt0r/mcp-server-tidb
    cd mcp-server-tidb
    
    # Install the package and dependencies using uv
    uv venv
    uv pip install -e .

    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:

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

    If you're running mcp-server-tidb in WSL, the claude_desktop_config.json should look like this:

    code
    {
      "mcpServers": {
        "tool-with-env-vars": {
          "command": "wsl.exe",
          "args": [
            "bash",
            "-c",
            "/path/to/uv --directory /path/to/mcp-server-tidb run python src/main.py"
          ]
        }
      }
    }

    Similar MCP

    Based on tags & features

    • PE

      Personalizationmcp

      Python·
      12
    • MA

      Mayamcp

      Python·
      27
    • BI

      Biothings Mcp

      Python·
      25
    • GG

      Gget Mcp

      Python·
      17

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • PE

      Personalizationmcp

      Python·
      12
    • MA

      Mayamcp

      Python·
      27
    • BI

      Biothings Mcp

      Python·
      25
    • GG

      Gget Mcp

      Python·
      17

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k