Database MCP Server
Rank #30,964io.github.arifulislamat/database-mcp-mysql
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
What you can do with Database MCP Server
Database MCP Server is a Model Context Protocol (MCP) server published by arifulislamat. It ranks #30,964 of 171,126 active servers on MCP Toplist, and its repository has 5 GitHub stars. Database MCP Server is listed on Official MCP, with 3 tracked versions. It was first listed on Jul 12, 2026 and most recently updated on Oct 17, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What Database MCP Server can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using Database MCP Server
The registry listing declares required configuration before first use — typically an API key, token or connection string set via environment variables.
Declared by the Official MCP Registry, last synced Nov 7, 2026. Not independently verified by MCP Toplist.
- MYSQL_HOST · required
- MYSQL_USER · required
- MYSQL_PASSWORD · optional
- MYSQL_DATABASE · required
Connect Database MCP Server and confirm it works
claude mcp add database-mcp-mysql -e "MYSQL_HOST=<your MYSQL_HOST>" -e "MYSQL_USER=<your MYSQL_USER>" -e "MYSQL_PASSWORD=<your MYSQL_PASSWORD>" -e "MYSQL_DATABASE=<your MYSQL_DATABASE>" -- npx -y @database-mcp/mysqlReplace each placeholder with your own value before saving.
claude mcp add database-mcp-mysql -e "MYSQL_HOST=<your MYSQL_HOST>" -e "MYSQL_USER=<your MYSQL_USER>" -e "MYSQL_PASSWORD=<your MYSQL_PASSWORD>" -e "MYSQL_DATABASE=<your MYSQL_DATABASE>" -- uvx database-mcp-mysqlReplace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
[mcp_servers.database-mcp-mysql]
command = "npx"
args = ["-y", "@database-mcp/mysql"]
[mcp_servers.database-mcp-mysql.env]
MYSQL_HOST = "<your MYSQL_HOST>"
MYSQL_USER = "<your MYSQL_USER>"
MYSQL_PASSWORD = "<your MYSQL_PASSWORD>"
MYSQL_DATABASE = "<your MYSQL_DATABASE>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
[mcp_servers.database-mcp-mysql]
command = "uvx"
args = ["database-mcp-mysql"]
[mcp_servers.database-mcp-mysql.env]
MYSQL_HOST = "<your MYSQL_HOST>"
MYSQL_USER = "<your MYSQL_USER>"
MYSQL_PASSWORD = "<your MYSQL_PASSWORD>"
MYSQL_DATABASE = "<your MYSQL_DATABASE>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "npx",
"args": [
"-y",
"@database-mcp/mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "uvx",
"args": [
"database-mcp-mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "npx",
"args": [
"-y",
"@database-mcp/mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "uvx",
"args": [
"database-mcp-mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
{
"servers": {
"database-mcp-mysql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@database-mcp/mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"servers": {
"database-mcp-mysql": {
"type": "stdio",
"command": "uvx",
"args": [
"database-mcp-mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "npx",
"args": [
"-y",
"@database-mcp/mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "uvx",
"args": [
"database-mcp-mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "npx",
"args": [
"-y",
"@database-mcp/mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"database-mcp-mysql": {
"command": "uvx",
"args": [
"database-mcp-mysql"
],
"env": {
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Replace each placeholder with your own value before saving.
Published as package `database-mcp-rs-mysql` — install it through your client’s extension manager.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
What changed, and when this was checked
- First listed
- Jul 12, 2026
- Latest version published
- Oct 17, 2026
- Version history
- 3 versions tracked (below)
- Requirements evidence
- Declared by the Official MCP Registry, last synced Nov 7, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Oct 17, 2026
- Official MCP ↗listed since Jul 24, 2026 · still listed
Do you maintain Database MCP Server? to correct or enrich this profile.
Available versions (3)
| Version | Published |
|---|---|
| 0.5.0 | Oct 17, 2026 |
| 0.4.2 | Jul 16, 2026 |
| 0.4.1 | Jul 12, 2026 |
Ranks ahead of 140,162 of 171,126 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.arifulislamat%2Fdatabase-mcp-mysql)<a href="https://mcptoplist.com/server/io.github.arifulislamat%2Fdatabase-mcp-mysql"><img src="https://mcptoplist.com/badge/io.github.arifulislamat%2Fdatabase-mcp-mysql.svg" alt="MCP Toplist: Top 25% of 171,126" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains Database MCP Server?
- Database MCP Server is maintained by arifulislamat, which publishes 11 MCP servers (15 total versions) tracked on MCP Toplist.
- Is Database MCP Server listed on the Official MCP Registry?
- Yes — Database MCP Server is listed on the Official MCP Registry.
- How many versions does Database MCP Server have?
- MCP Toplist tracks 3 versions of Database MCP Server, most recently published on Oct 17, 2026.
- Where can I find the source code for Database MCP Server?
- The source code for Database MCP Server is hosted at github.com/arifulislamat/database-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.