# TiDB MCP Server

> Use this tool when you need to execute SQL queries on TiDB databases, particularly for read-heavy workloads with optional write capabilities. It solves problems related to data retrieval and manipulation, providing a protocol-based interface for querying and modifying data. The TiDB MCP Server takes SQL queries as input and returns query results as output, ideal for use cases requiring efficient data access and management in TiDB environments.

Canonical page: https://skillsregistry.net/skills/l1806858547-tidb-server  
JSON: https://api.skillsregistry.net/v1/skills/l1806858547-tidb-server

## Description

A Model Context Protocol server that allows executing SELECT queries on TiDB databases, with optional support for INSERT, UPDATE, and DELETE operations when explicitly enabled.

## Trust

- **Trust score (0–1):** 0.95
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ervqig6thm)
- **Repository:** <https://github.com/l1806858547/tidb-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "l1806858547-tidb-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/l1806858547-tidb-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/l1806858547-tidb-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
