<strong>Give AI agents safe, read-only access to your databases. One call, multiple queries, clean results.</strong>
A2db MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Give AI agents safe, read-only access to your databases. One call, multiple queries, clean results..
Once A2db is connected, these are the calls the assistant has available:
login — Save a connection — validates by connecting firstlogout — Remove a saved connectionlist_connections — List connections (no secrets exposed)execute — Run named batch queries with paginationsearch_objects — Explore schema — tables, columns, with detail levelsYou will need one environment variable: DB_PASSWORD. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
a2db on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. A2db's toolset — login, logout, list_connections and 2 more — is a fair guide to whether it matches your workflow. It is maintained by agentic-eng; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| login | Save a connection — validates by connecting first |
| logout | Remove a saved connection |
| list_connections | List connections (no secrets exposed) |
| execute | Run named batch queries with pagination |
| search_objects | Explore schema — tables, columns, with detail levels |
{
"mcpServers": {
"a2db": {
"command": "uvx",
"args": ["a2db"],
"env": {
"DB_PASSWORD": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| DB_PASSWORD | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.