Easy Mysql Admin
FreeNot checkedHigh-privilege MySQL admin MCP server for database and user/grant management.
About
High-privilege MySQL admin MCP server for database and user/grant management.
README
High-privilege MySQL admin MCP server for database and user/grant management.
Features
- List, create, and inspect databases
- List, create, and update users
- Grant and revoke privileges at database scope
- Protect destructive actions with short-lived confirmation tokens
Available Tools
| Tool | Description |
|---|---|
mysql_list_databases |
List databases in the current MySQL instance |
mysql_create_database |
Create a database |
mysql_describe_database |
Inspect database charset and collation settings |
mysql_drop_database |
Request database deletion and return a confirmation token |
mysql_list_users |
List MySQL users |
mysql_create_user |
Create a MySQL user |
mysql_alter_user_password |
Change a MySQL user password |
mysql_grant_privileges |
Grant database privileges to a user |
mysql_revoke_privileges |
Revoke database privileges from a user |
mysql_show_grants |
Show grants for a user |
mysql_drop_user |
Request user deletion and return a confirmation token |
mysql_confirm_task |
Confirm and execute a destructive action token |
Safety
- No raw SQL passthrough
- No table, view, index, or trigger management
DROP DATABASEandDROP USERrequiremysql_confirm_task- Confirmation tokens are random, single-use, and expire quickly
Configuration
Use environment variables, matching the rest of the easy-*-mcp family.
| Variable | Required | Default | Description |
|---|---|---|---|
MYSQL_HOST |
Yes | - | MySQL host name or IP address |
MYSQL_PORT |
No | 3306 |
MySQL port |
MYSQL_USER |
Yes | - | MySQL user name |
MYSQL_PASSWORD |
Yes | - | MySQL password |
MYSQL_DATABASE |
Yes | - | Default database/schema used for the admin connection |
MYSQL_CONNECTION_LIMIT |
No | 10 |
Maximum number of active pool connections |
MYSQL_MAX_IDLE |
No | 10 |
Maximum number of idle pool connections |
MYSQL_IDLE_TIMEOUT |
No | 60000 |
Idle connection timeout in milliseconds |
MYSQL_QUEUE_LIMIT |
No | 0 |
Maximum queued connection requests |
MYSQL_WAIT_FOR_CONNECTIONS |
No | true |
Whether the pool waits when all connections are busy |
MYSQL_ENABLE_KEEP_ALIVE |
No | true |
Whether TCP keep-alive is enabled |
MYSQL_KEEP_ALIVE_INITIAL_DELAY |
No | 0 |
Initial TCP keep-alive delay in milliseconds |
MYSQL_ADMIN_TOKEN_TTL_SECONDS |
No | 120 |
Confirmation token lifetime in seconds |
Example
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=your_password
MYSQL_DATABASE=mysql
MYSQL_ADMIN_TOKEN_TTL_SECONDS=120
Claude Desktop Example
{
"mcpServers": {
"easy-mysql-admin-mcp": {
"command": "npx",
"args": ["-y", "easy-mysql-admin-mcp"],
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASSWORD": "your_password",
"MYSQL_DATABASE": "mysql",
"MYSQL_ADMIN_TOKEN_TTL_SECONDS": "120"
}
}
}
}
Codex config.toml Example
[mcp_servers.easy-mysql-admin-mcp]
args = ["-y", "easy-mysql-admin-mcp"]
command = "npx"
enabled = true
[mcp_servers.easy-mysql-admin-mcp.env]
MYSQL_HOST = "localhost"
MYSQL_PORT = "3306"
MYSQL_USER = "root"
MYSQL_PASSWORD = "your_password"
MYSQL_DATABASE = "mysql"
MYSQL_ADMIN_TOKEN_TTL_SECONDS = "120"
OpenCode opencode.jsonc Example
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"easy-mysql-admin-mcp": {
"type": "local",
"command": ["npx", "-y", "easy-mysql-admin-mcp"],
"enabled": true,
"environment": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASSWORD": "your_password",
"MYSQL_DATABASE": "mysql",
"MYSQL_ADMIN_TOKEN_TTL_SECONDS": "120",
},
},
},
}
Installing Easy Mysql Admin
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/chenkumi/easy-mysql-admin-mcpFAQ
Is Easy Mysql Admin MCP free?
Yes, Easy Mysql Admin MCP is free — one-click install via Unyly at no cost.
Does Easy Mysql Admin need an API key?
No, Easy Mysql Admin runs without API keys or environment variables.
Is Easy Mysql Admin hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Easy Mysql Admin in Claude Desktop, Claude Code or Cursor?
Open Easy Mysql Admin on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare Easy Mysql Admin with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
