让智能体通过统一连接配置安全访问 SQLite、MySQL、PostgreSQL 等数据库并做数据分析。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add dbutils -- npx -y @smithery/cli install @donghao1393/mcp-dbutils --client claude~/.codex/config.toml
[mcp_servers.dbutils]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@donghao1393/mcp-dbutils", "--client", "claude"]
# codex mcp add dbutils -- npx -y @smithery/cli install @donghao1393/mcp-dbutils --client claude~/.cursor/mcp.json
{
"mcpServers": {
"dbutils": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@donghao1393/mcp-dbutils",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"dbutils": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@donghao1393/mcp-dbutils",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"dbutils": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@donghao1393/mcp-dbutils",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"dbutils": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@donghao1393/mcp-dbutils",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"dbutils": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@donghao1393/mcp-dbutils",
"--client",
"claude"
]
}
}
}