loading…
Search for a command to run...
loading…
Serverless MariaDB Cloud DB MCP server. Tools to launch, delete, execute SQL and work with DB level AI agents for accurate text-2-sql and conversations.
Serverless MariaDB Cloud DB MCP server. Tools to launch, delete, execute SQL and work with DB level AI agents for accurate text-2-sql and conversations.
This package contains everything needed to set up the SkySQL/MariaDB Cloud MCP (Model Context Protocol) server, which provides a powerful interface for managing SkySQL MariaDB database instances and interacting with AI Agents.
Clone the repository:
git clone [email protected]:skysqlinc/skysql-mcp.git
cd skysql-mcp
Run the installation script:
chmod +x install.sh
./install.sh
Create a .env file in the root directory of the cloned git repository with your SkySQL API key. Obtain API key by signing up for free on SkySQL.
SKYSQL_API_KEY=<your_skysql_api_key_here>
Start the MCP server (HTTP mode):
chmod +x launch.sh
./launch.sh
The server will start on http://localhost:8000/mcp by default.
Configure your IDE:
Add the following to your Cursor MCP config (~/.cursor/mcp.json or .cursor/mcp.json in your project):
{
"mcpServers": {
"skysql-mcp-server": {
"url": "http://localhost:8000/mcp",
"env": {
"SKYSQL_API_KEY": "<your-skysql-api-key>"
}
}
}
}
Cursor supports passing
envvariables directly in the MCP config.
Add the following to your Windsurf MCP config (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"skysql-mcp-server": {
"serverUrl": "http://localhost:8000/mcp"
}
}
}
Note: Windsurf uses
serverUrl(noturl) and does not support theenvparameter. Make sureSKYSQL_API_KEYis set in the.envfile (step 3) or exported in your shell before starting the server.
npx @wong2/mcp-cli uv run python src/mcp-server/server.py
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"skysqlinc-skysql-mcp": {
"command": "npx",
"args": []
}
}
}