tidb-server
0
The TiDB MCP Server is a Model Context Protocol server designed to execute SELECT queries on TiDB databases. It offers secure connections through environment variables and is easy to use.
TiDB MCP Server
A Model Context Protocol (MCP) server for TiDB that allows executing SELECT queries through MCP tools.
Features
- Execute SELECT queries on TiDB
- Secure connection via environment variables
- Lightweight and easy to use
Prerequisites
- Node.js 16+
- TiDB instance
Installation
Installing via Smithery
To install TiDB Server for Claude Desktop automatically via Smithery.
Via npx
Global installation
Configuration
Set environment variables before running the server.
Usage
- Start the server.
- Add to MCP configuration.
- Use the MCP tool.
Development
- Clone the repo.
- Install dependencies.
- Build and run.
License
MIT