database-mcp-mysql
io.github.arifulislamat/database-mcp-mysql · version 0.5.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
https://github.com/arifulislamat/database-mcpQuick facts
- Listing: Community
- Published Oct 17, 09:53 UTC
- Transport: stdio
- Package: npm
@database-mcp/mysql0.5.0 - Listed by cosmic-mcp: Nov 9, 04:25 UTC
Details
- Repository: https://github.com/arifulislamat/database-mcp
- npm: https://www.npmjs.com/package/@database-mcp/mysql
- Needs settings:
MYSQL_HOSTMYSQL_USERMYSQL_PASSWORDMYSQL_DATABASE
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (npm)
npx -y '@database-mcp/[email protected]'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"database-mcp-mysql": {
"args": [
"-y",
"@database-mcp/[email protected]"
],
"command": "npx",
"env": {
"MYSQL_DATABASE": "<your mysql database>",
"MYSQL_HOST": "<your mysql host>",
"MYSQL_PASSWORD": "<your mysql password>",
"MYSQL_USER": "<your mysql user>"
}
}
}
}Claude Code
claude mcp add 'database-mcp-mysql' -- npx -y '@database-mcp/[email protected]'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"database-mcp-mysql": {
"args": [
"-y",
"@database-mcp/[email protected]"
],
"command": "npx",
"env": {
"MYSQL_DATABASE": "<your mysql database>",
"MYSQL_HOST": "<your mysql host>",
"MYSQL_PASSWORD": "<your mysql password>",
"MYSQL_USER": "<your mysql user>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"database-mcp-mysql": {
"args": [
"-y",
"@database-mcp/[email protected]"
],
"command": "npx",
"env": {
"MYSQL_DATABASE": "<your mysql database>",
"MYSQL_HOST": "<your mysql host>",
"MYSQL_PASSWORD": "<your mysql password>",
"MYSQL_USER": "<your mysql user>"
},
"type": "stdio"
}
}
}Related servers
- spotdb Verified domain
Ephemeral data sandbox for AI workflows with guardrails and security - AgentTrust — Identity & Trust for A2A Agents Verified domain
Identity, trust, and A2A orchestration for autonomous AI agents. Official A2A partner. - Reasonbook Verified domain
Reasonbook: decisions that survive the session, in a local record AI agents keep. - 13FLOW
Source-linked SEC 13F research, quality checks, watchlists and audit trails for agents. - 1Claw Vault
HSM-backed vault secrets for AI agents (JIT fetch) plus prompt-injection and threat scanning. - 212medya Growth Check Verified domain
Audit a public website for B2B marketing readiness and AI search visibility.