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 these environment variables before running:
Usage
- Start the server:
- Add to MCP configuration (cline_mcp_settings.json):
- Use the MCP tool:
Development
- Clone the repo:
- Install dependencies:
- Build:
- Run:
License
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
TiDB 데이터베이스에서 SELECT 쿼리를 실행할 수 있는 모델 컨텍스트 프로토콜 서버로, 명시적으로 활성화된 경우 INSERT, UPDATE, DELETE 작업을 선택적으로 지원합니다.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables SQL operations (SELECT, INSERT, UPDATE, DELETE) and table management through a standardized interface with SQLite databases.Last updated -38
- AsecurityAlicenseAqualityA Model Context Protocol server that enables executing SQL queries and managing connections with Microsoft SQL Server databases.Last updated -1495MIT License
- -securityFlicense-qualityA Model Context Protocol server that provides comprehensive access to Microsoft SQL Server databases, enabling Language Models to inspect schemas, execute queries, manage database objects, and perform advanced database operations.Last updated -7