SkySQL MCP Server

SkySQL MCP server and client repository.

Local serverstdioPython

What is the SkySQL MCP server?

SkySQL MCP server and client repository. The skysql mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 3 defined tools rather than through you.

What it actually does

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.

  • 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

Its toolset

Everything the assistant can do here goes through one of these:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Cursor — Add the following to your Cursor MCP config (~/.cursor/mcp.json or .cursor/mcp.json in your project):
  • Windsurf — Add the following to your Windsurf MCP config (~/.codeium/windsurf/mcp_config.json):

Configuration

You will need one environment variable: SKYSQL_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.10 or higher - A SkySQL/MariaDB Cloud API key

Adding it to your client

The server ships on npm as @wong2/mcp-cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

When to reach for it

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. SkySQL's toolset — Prerequisites, Cursor, Windsurf — is a fair guide to whether it matches your workflow. It is maintained by skysqlinc; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against SkySQL's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the skysql mcp server does with a few real requests.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
CursorAdd the following to your Cursor MCP config (~/.cursor/mcp.json or .cursor/mcp.json in your project):
WindsurfAdd the following to your Windsurf MCP config (~/.codeium/windsurf/mcp_config.json):

How to install the SkySQL MCP server

{
  "mcpServers": {
    "skysql": {
      "command": "npx",
      "args": ["-y", "@wong2/mcp-cli"],
      "env": {
        "SKYSQL_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.10 or higher - A SkySQL/MariaDB Cloud API key
VariableDescriptionRequired
SKYSQL_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use SkySQL to Prerequisites.
  • Use SkySQL to Cursor.
  • Use SkySQL to Windsurf.

Frequently asked questions

It connects SkySQL to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Cursor, Windsurf) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with SkySQL directly.