- Home
- MCP servers
- TiDB AI
TiDB AI
- go
3
GitHub Stars
go
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"siddontang-tidb-ai-mcp": {
"command": "./tidb-ai-mcp",
"args": []
}
}
}You can run a Model Control Protocol (MCP) server that lets Cursor ask questions to TiDB AI. It communicates over a stdio transport, giving you a simple, CLI-based way to interact with TiDB AI directly from your Cursor workflow.
How to use
To use this MCP server with Cursor, you run the server locally and configure Cursor to connect via the stdio transport. Cursor will then be able to send questions to TiDB AI and receive responses in real time.
How to install
Prerequisites you need before installing:
- Go toolchain (Go 1.20+ recommended)
- Basic familiarity with command-line usage Install and build the MCP server with the following steps.
# Install the MCP server source
GO111MODULE=on go get github.com/siddontang/tidb-ai-mcp
# Build the MCP server binary
GO111MODULE=on go build -o tidb-ai-mcp
Additional usage notes
Once built, you can run the MCP server to listen on the local standard input/output channel. You then configure Cursor to use this stdio MCP by pointing to the compiled binary.
Examples of common actions you can perform after starting the server include asking TiDB AI questions, which Cursor will forward to the server and display the responses for your sessions.
Notes and licensing
License: MIT.
Available tools
ask_question
Sends a user question from Cursor to TiDB AI via the MCP stdio transport and returns the AI response.