Agent-to-Database — CLI and MCP server for AI agents to query databases.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add a2db -- uvx a2db~/.codex/config.toml
[mcp_servers.a2db]
command = "uvx"
args = ["a2db"]
# codex mcp add a2db -- uvx a2db~/.cursor/mcp.json
{
"mcpServers": {
"a2db": {
"command": "uvx",
"args": [
"a2db"
]
}
}
}.vscode/mcp.json
{
"servers": {
"a2db": {
"type": "stdio",
"command": "uvx",
"args": [
"a2db"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"a2db": {
"command": "uvx",
"args": [
"a2db"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"a2db": {
"command": "uvx",
"args": [
"a2db"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"a2db": {
"command": "uvx",
"args": [
"a2db"
]
}
}
}