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:

  1. Build the server: go build -o tidb-ai-mcp
  2. In Cursor, configure the MCP server as a stdio tool by adding it to your Cursor settings
  3. Specify the path to the tidb-ai-mcp binary in your Cursor configuration
  4. You can now ask questions to TiDB AI directly from Cursor using the stdio transport

License

MIT