MySQL (security-first)
Security-first MySQL MCP server with AST validation, table whitelist, schema resources…
- Pricing
- Open source
- Runs
- Locally
- Version
- 2.1.0
- Listing updated
- 4 days ago
About MySQL (security-first)
MySQL (security-first) is an open-source MCP server for databases. It runs locally on your machine and is started by your AI client.
Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.
Install
Run in a terminal
claude mcp add mcp-server-mysql --env MYSQL_MCP_PASSWORD='<MYSQL_MCP_PASSWORD>' -- docker run -i --rm -e MYSQL_MCP_PASSWORD ghcr.io/kurok1/mcp-server-mysql:2.1.0Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server-mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MYSQL_MCP_PASSWORD",
"ghcr.io/kurok1/mcp-server-mysql:2.1.0"
],
"env": {
"MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MYSQL_MCP_PASSWORD",
"ghcr.io/kurok1/mcp-server-mysql:2.1.0"
],
"env": {
"MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-server-mysql": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MYSQL_MCP_PASSWORD",
"ghcr.io/kurok1/mcp-server-mysql:2.1.0"
],
"env": {
"MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MYSQL_MCP_PASSWORD",
"ghcr.io/kurok1/mcp-server-mysql:2.1.0"
],
"env": {
"MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server-mysql": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MYSQL_MCP_PASSWORD",
"ghcr.io/kurok1/mcp-server-mysql:2.1.0"
],
"env": {
"MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
}
}
}
}Configuration
MYSQL_MCP_PASSWORDMySQL password, referenced from config.yaml as ${MYSQL_MCP_PASSWORD}
Pricing
Open source
MySQL (security-first) FAQ
Is MySQL (security-first) free?
Yes. MySQL (security-first) is open source, so you can use and self-host it for free.
How do I add MySQL (security-first) to Claude Code?
Run this command in your terminal: claude mcp add mcp-server-mysql --env MYSQL_MCP_PASSWORD='<MYSQL_MCP_PASSWORD>' -- docker run -i --rm -e MYSQL_MCP_PASSWORD ghcr.io/kurok1/mcp-server-mysql:2.1.0
What are the best alternatives to MySQL (security-first)?
The closest alternatives to MySQL (security-first) are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.
Alternatives to MySQL (security-first)

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security