The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Skysql MCP listing page.
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:
Run the installation script:
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.
Start the MCP server (HTTP mode):
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):
The
X-API-Keyheader is sent with each request, allowing per-user API keys when the server is hosted remotely.
Add the following to your Windsurf MCP config (~/.codeium/windsurf/mcp_config.json):
Note: Windsurf uses
serverUrl(noturl) and cannot send request headers. Start the server in single-tenant mode so it falls back to the API key in your environment:With
SKYSQL_API_KEYset in.env(step 3). WithoutSKYSQL_SINGLE_TENANT, the server requires every HTTP caller to supply its ownX-API-Keyheader and will reject requests that don't — deliberately, so a shared deployment can never serve requests using the operator's key.
Add the server as a custom connector (Settings > Connectors > Add custom connector), then supply your API key under Request headers:
| Field | Value |
|---|---|
| URL | your deployed server URL, ending in /mcp |
| Header name | x-api-key |
| Header value | your SkySQL API key, with no prefix |
| Required | yes |
Generate the key at app.skysql.com/user-profile/api-keys. Enter it exactly as-is — Claude sends the value verbatim and does not add a scheme or prefix.
Claude requires a publicly reachable HTTPS URL, so
http://localhost:8000/mcpwill not work here; deploy the server first. Request header authentication is currently in beta and may need to be enabled for your organization.