TiDB AI MCP Server provides a lightweight bridge between Cursor and TiDB AI, enabling users to ask questions directly to TiDB AI without leaving their editor. Built with Go, it implements the Model Control Protocol with Server-Sent Events (SSE) transport and exposes a single 'ask' tool that forwards questions to the TiDB AI API and streams back responses. The server is configurable via command-line arguments for port selection and requires minimal setup, making it ideal for developers working with TiDB who want AI assistance integrated into their workflow.
siddontang