TiDB MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIDB_DB | Yes | Your TiDB database | |
| TIDB_HOST | Yes | Your TiDB host | |
| TIDB_PASS | Yes | Your TiDB password | |
| TIDB_PORT | Yes | Your TiDB port | |
| TIDB_USER | Yes | Your TiDB username | |
| ALLOW_DELETE_OPERATION | No | Set to 'true' to allow DELETE operations | false |
| ALLOW_INSERT_OPERATION | No | Set to 'true' to allow INSERT operations | false |
| ALLOW_UPDATE_OPERATION | No | Set to 'true' to allow UPDATE operations | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tidb_queryC | Execute SQL queries against TiDB |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined and distinct by default.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The naming pattern is straightforward and clear.
A single tool is too few for a database server like TiDB, which typically requires operations beyond just querying (e.g., schema management, data manipulation, administration). This minimal set severely limits functionality.
The tool surface is severely incomplete for a TiDB server. It only supports query execution, missing essential operations like creating/dropping tables, inserting/updating/deleting data, managing indexes, or handling transactions.