SkySQL MCP Server
This package contains everything needed to set up the SkySQL MCP (Model Context Protocol) server, which provides a powerful interface for managing SkySQL (MySQL/MariaDB) database instances and interacting with SkyAI Agents.
Features
- Launch and manage serverless MariaDB database instances
- Interact with AI-powered database agents
- Execute SQL queries directly on SkySQL (MySQL/MariaDB) instances
- Manage database credentials and IP allowlists
- List and monitor database services
Installation
Prerequisites
- Python 3.10 or higher
- A SkySQL API key
Option 1: Run locally
Installation steps
-
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
.envfile 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> -
Use MCP CLI tool to test the server interactively.
npx @wong2/mcp-cli uv run python src/mcp-server/server.py -
Configure in
Cursor.shmanuallyFor Mac/Linux:
chmod +x launch.sh
Update mcp.json:
- command
"<full-path-to>/skysql-mcp/launch.sh"for Mac/Linux and"<full-path-to>\\\\skysql-mcp\\\\launch.bat"for Windows. SKYSQL_API_KEYwith your SkySQL API key
Copy the mcp.json included in the repo to Cursor MCP Settings
Option 2: Installing via Smithery.ai
You can use Smithery.ai to test the MCP server via their UI. Follow the installation instructions from smithery.ai
For example, use the following command to install it in Cursor.sh IDE:
npx -y @smithery/cli@latest install @skysqlinc/skysql-mcp --client cursor --profile <your-smithery-profile> --key <your-smithery-kay>
For Windsurf:
npx -y @smithery/cli@latest install @skysqlinc/skysql-mcp --client windsurf --profile <your-smithery-profile> --key <your-smithery-key>
Recommend MCP Servers 💡
PostgresSchemaServer
An MCP server built with Spring Boot and Spring AI that provides tools to inspect PostgreSQL database schema using SSE transport
@alanse/mcp-neo4j-server
An MCP server that provides integration between Neo4j graph database and Claude Desktop, enabling graph database operations through natural language interactions.
@lishenxydlgzs/aws-athena-mcp
A Model Context Protocol (MCP) server for running AWS Athena queries, enabling AI assistants to execute SQL queries against AWS Athena databases and retrieve results.
xiangmy21/iotdb-mcp-server-TreeModel
A Model Context Protocol (MCP) server implementation for IoTDB that enables SQL query capabilities including metadata and select queries
mcp-server-duckdb
A Model Context Protocol (MCP) server for DuckDB enabling database interactions like querying, table creation, and schema inspection.
mysql_mcp_server_pro
支持与MySQL数据库安全交互并具备异常分析能力的Model Context Protocol (MCP)服务器,提供增删改查、数据库异常分析及开发者工具扩展功能。