Skip to content
MCP server

skysql-mcp

MCP server giving AI clients access to SkySQL MariaDB cloud databases and agents

Actively maintained

The repository was last updated 98 days ago and is published under MIT.

skysql-mcp is an open-source MCP server for databases. It is available on API, CLI, Self-hosted and Web.

Pricing
Open source
Platforms
API, CLI, Self-hosted
GitHub stars
8
Last commit
Language
Python
License
MIT

Similar MCP servers

About skysql-mcp

Connects AI assistants to SkySQL, the managed MariaDB cloud service, through the Model Context Protocol. Once running, a client can launch serverless database instances, run SQL against them, manage credentials and IP allowlists, and check the status of existing services without leaving the editor or chat window.

The server runs locally or on a remote host in HTTP mode, listening on a /mcp endpoint. Each request can carry its own API key header, so a shared deployment can serve several users, or a single-tenant mode can fall back to a key stored in the environment.

It suits developers and database administrators who already work in Cursor, Windsurf or Claude and want to provision and query MariaDB instances from their AI tools. The code is MIT licensed Python and can be self-hosted.

What it does

Serverless instance management
Launch and manage serverless MariaDB database instances from an AI client.
Direct SQL execution
Run SQL queries against SkySQL MySQL and MariaDB instances.
Credential and allowlist control
Manage database credentials and IP allowlists through the server.
Service monitoring
List database services and check their status.
Per-user API keys
Each HTTP request can send its own X-API-Key header for multi-user hosting.
Single-tenant fallback
A single-tenant mode uses the API key from the environment for clients that cannot send headers.

Good for

  • Spin up a temporary MariaDB instance while prototyping an app from an AI editor
  • Run ad hoc SQL checks against a SkySQL database without switching tools
  • Review and adjust IP allowlists and database credentials from a chat session
  • Check the health of running database services across a team's SkySQL account

Pricing

Open source

MIT-licensed server; SkySQL account needed for the underlying database service.

skysql-mcp FAQ

What do I need to run skysql-mcp?

Python 3.10 or higher and a SkySQL API key, which you can generate after signing up for a free SkySQL account.

Which AI clients does skysql-mcp support?

Setup steps are documented for Cursor, Windsurf and Claude custom connectors. Claude requires a publicly reachable HTTPS URL.

How is authentication handled?

Clients send the SkySQL key in an X-API-Key header. Windsurf cannot send headers, so it uses single-tenant mode with the key from the environment.

Is skysql-mcp free?

Yes. skysql-mcp is open source, so you can use and self-host it for free.

What are the best alternatives to skysql-mcp?

The closest alternatives to skysql-mcp are mysql_mcp_server, sql-query-mcp, MCP Server Mssql, mcp-mysql-server and simple_snowflake_mcp.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers