PawSQL MCP Server is a SQL optimization service developed based on Spring AI, providing SQL performance analysis and optimization suggestions. It
PawSQL MCP Server is a SQL optimization service developed based on Spring AI, providing SQL performance analysis and optimization suggestions. It runs as an MCP (Model Control Protocol) server and provides SQL optimization capabilities. That is what the pawsql mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
The server publishes 4 tools. What each one is for:
enterprise — Enterprise Editioncloud — Cloud Editioncommunity — Community EditionWS_MySQL_202505241801 — 1926217077522944002Configuration is passed through the environment: PAWSQL_API_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Pawsql MCP's toolset — enterprise, cloud, community and 1 more — is a fair guide to whether it matches your workflow. It is maintained by PawSQL; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| enterprise | Enterprise Edition |
| cloud | Cloud Edition |
| community | Community Edition |
| WS_MySQL_202505241801 | 1926217077522944002 |
{
"mcpServers": {
"pawsql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "PAWSQL_EDITION=<edition>",
"-e", "PAWSQL_API_BASE_URL=<api-url>",
"-e", "PAWSQL_API_EMAIL=<email>",
"-e", "PAWSQL_API_PASSWORD=<password>",
"pawsql/pawsql-mcp-server:latest"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| PAWSQL_API_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.