MCP Database Tools
Execute MySQL, Redis, ClickHouse and SQLite commands through natural language conversations with AI assistants.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
go install github.com/comcpwork/mcp/cmd/cowork-database@latest
Add the MCP server:
claude mcp add database -- cowork-database database
Add to your MCP configuration file:
{
"mcpServers": {
"database": {
"command": "cowork-database",
"args": ["database"]
}
}
}
Configuration file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json.vscode/mcp.json or VS Code settingsRestart your MCP client to load the database tools.
Ask your AI assistant:
root:password@tcp(localhost:3306)/test and SQL: SELECT * FROM users"PING on redis://localhost:6379/0"clickhouse://default:@localhost:9000/default and SQL: SELECT 1":memory: and SQL: SELECT 1"All tools support optional SSH tunneling through the ssh parameter.
{
"dsn": "root:password@tcp(10.0.0.100:3306)/mydb",
"sql": "SELECT * FROM users",
"ssh": "ssh://[email protected]?key=~/.ssh/id_rsa"
}
Note: SQLite uses remote command execution mode (requires
sqlite3on remote server).
MIT License - see LICENSE file for details.
mcp servers for mysql、redis、 sqlite、clickhouse
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Comcpwork 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 mcp servers for mysql、redis、 sqlite、clickhouse