MCP server
Database Mysql
io.github.arifulislamat/database-mcp-mysql
Checked 26 Oct 2026, 08:31 UTC · Still published on its registry; checked against OSV.dev; never run by us
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add database-mcp-mysql --env MYSQL_HOST=YOUR_VALUE --env MYSQL_USER=YOUR_VALUE --env MYSQL_DATABASE=YOUR_VALUE -- npx -y @database-mcp/mysql@0.5.0
Claude Desktop
{"mcpServers":{"database-mcp-mysql":{"command":"npx","args":["-y","@database-mcp/mysql@0.5.0"],"env":{"MYSQL_HOST":"YOUR_VALUE","MYSQL_USER":"YOUR_VALUE","MYSQL_DATABASE":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.database-mcp-mysql]
command = "npx"
args = ["-y","@database-mcp/mysql@0.5.0"]
env = { MYSQL_HOST = "YOUR_VALUE", MYSQL_USER = "YOUR_VALUE", MYSQL_DATABASE = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"database-mcp-mysql":{"command":"npx","args":["-y","@database-mcp/mysql@0.5.0"],"env":{"MYSQL_HOST":"YOUR_VALUE","MYSQL_USER":"YOUR_VALUE","MYSQL_DATABASE":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"database-mcp-mysql":{"command":"npx","args":["-y","@database-mcp/mysql@0.5.0"],"env":{"MYSQL_HOST":"YOUR_VALUE","MYSQL_USER":"YOUR_VALUE","MYSQL_DATABASE":"YOUR_VALUE"}}}}
VS Code
{"servers":{"database-mcp-mysql":{"type":"stdio","command":"npx","args":["-y","@database-mcp/mysql@0.5.0"],"env":{"MYSQL_HOST":"YOUR_VALUE","MYSQL_USER":"YOUR_VALUE","MYSQL_DATABASE":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own MYSQL_HOST, MYSQL_USER, MYSQL_DATABASE.
Browse
Related MCP servers
- seekrit — secrets for agents
Encrypted store for API keys and database URLs your code needs. Use them without reading them. - fline
Hosting for apps you build with AI. Tested with Claude Code and Codex. Private beta: ask for access. - Googleapis
Create, manage, and query your Google Cloud SQL resources. - SpinupWP MCP by usefulapi
Read SpinupWP servers, sites and events; purge caches, restart services, run git deploys. - BorealHost
Agent-native web hosting — deploy sites, manage DNS, register domains, scale infrastructure - Floot
Build and publish full-stack web and mobile apps on Floot from any MCP client. Building is free. - Redu
Agent-native cloud, EU-hosted. Provision VMs, networks & databases on redu.cloud via MCP. - Diogenes Agent Guardrails & Sandbox MCP
Autonomous agent guardrails, bash sandboxing, MCP rugpull diffing & prompt firewalls.
Badge for your README
[](https://aptlynx.net/servers/io.github.arifulislamat/database-mcp-mysql)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents