skysql-mcp
OfficialThis server is an MCP server for managing SkySQL/MariaDB Cloud database instances and interacting with AI-powered database agents.
Launch new serverless MariaDB database instances
Delete existing database instances
List all available SkySQL database services
Retrieve credentials for a database instance
Update the IP allowlist for a database instance
Execute SQL queries directly on a SkySQL instance
List available SkySQL DB agents and their capabilities
Ask questions to a specific AI database agent
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@skysql-mcpshow me my database instances"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SkySQL MCP Server
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.
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
Related MCP server: MySQL MCP Server Pro
Installation
Prerequisites
Python 3.10 or higher
A SkySQL/MariaDB Cloud API key
Option 1: Run locally
Installation steps
Clone the repository:
git clone git@github.com:skysqlinc/skysql-mcp.git cd skysql-mcpRun the installation script:
chmod +x install.sh ./install.shCreate 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>Start the MCP server (HTTP mode):
chmod +x launch.sh ./launch.shThe server will start on
http://localhost:8000/mcpby default.Configure your IDE:
Cursor
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",
"headers": {
"X-API-Key": "<your-skysql-api-key>"
}
}
}
}The
X-API-Keyheader is sent with each request, allowing per-user API keys when the server is hosted remotely.
Windsurf
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 cannot send request headers. Start the server in single-tenant mode so it falls back to the API key in your environment:SKYSQL_SINGLE_TENANT=true ./launch.shWith
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.
Claude
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 |
Header name |
|
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.
(Optional) Test the server interactively with MCP CLI:
npx @wong2/mcp-cli uv run python src/mcp-server/server.py
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with MariaDB databases through standard SQL operations and advanced vector/embedding-based search. Supports database management, schema inspection, and semantic document storage and retrieval with multiple embedding providers.MIT
- AlicenseBqualityDmaintenanceProvides comprehensive MySQL database operations including CRUD, performance optimization, health analysis, and anomaly detection. Supports multiple connection modes, OAuth2.0 authentication, and role-based permissions for database management through natural language.91MIT
- AlicenseNot gradedqualityDmaintenanceEnables management of CCX database clusters through AI assistants, supporting operations such as datastore creation, scaling, and performance monitoring. It provides a comprehensive toolset for handling backups, database users, and firewall rules across various database engines including PostgreSQL, MySQL, and Redis.22Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive monitoring and analysis of Oracle Cloud Infrastructure database fleets through natural language interfaces. It supports performance troubleshooting, capacity planning, and automated DBA workflows across multi-tenant environments using specialized tools and playbooks.1
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mariadb-corporation/skysql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server