TiDB AI
Integrates with
TiDB AI, Cursor
TiDB AI MCP Server
A Model Control Protocol (MCP) server that allows Cursor to ask questions to TiDB AI.
Features
- Allows Cursor to ask questions to TiDB AI
- Uses stdio transport for communication with Cursor
- Simple command-line interface
Installation
go get github.com/siddontang/tidb-ai-mcp
Usage
## Run the server with stdio transport
./tidb-ai-mcp
Building
go build -o tidb-ai-mcp
Using with Cursor
To use this MCP server with Cursor:
- Build the server:
go build -o tidb-ai-mcp
- In Cursor, configure the MCP server as a stdio tool by adding it to your Cursor settings
- Specify the path to the
tidb-ai-mcp
binary in your Cursor configuration - You can now ask questions to TiDB AI directly from Cursor using the stdio transport
License
MIT