DBA Checkup
v0.2.0Read-only PostgreSQL and Oracle health checks for AI assistants: fixed DBA checks, no free-form SQL.
Values you need
| Variable | What it is | |
|---|---|---|
DBA_CHECKUP_DATABASE_URL | required secret | Read-only monitoring login: postgres://user:pass@host:5432/db or oracle://user:pass@host:1521/SERVICE |
DBA_CHECKUP_QUERY_TEXT | optional | masked (default), full or off: how much statement text to show |
DBA_CHECKUP_ALLOW_EXPLAIN | optional | 1 to enable explain_query (PostgreSQL, plans only) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add dba-checkup-mcp -e 'DBA_CHECKUP_DATABASE_URL=<DBA_CHECKUP_DATABASE_URL>' -- npx -y dba-checkup-mcp@0.2.0Add to
claude_desktop_config.json{
"mcpServers": {
"dba-checkup-mcp": {
"args": [
"-y",
"dba-checkup-mcp@0.2.0"
],
"command": "npx",
"env": {
"DBA_CHECKUP_DATABASE_URL": "<DBA_CHECKUP_DATABASE_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"dba-checkup-mcp": {
"args": [
"-y",
"dba-checkup-mcp@0.2.0"
],
"command": "npx",
"env": {
"DBA_CHECKUP_DATABASE_URL": "<DBA_CHECKUP_DATABASE_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "DBA_CHECKUP_DATABASE_URL",
"id": "dba-checkup-database-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"dba-checkup-mcp": {
"args": [
"-y",
"dba-checkup-mcp@0.2.0"
],
"command": "npx",
"env": {
"DBA_CHECKUP_DATABASE_URL": "${input:dba-checkup-database-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.dba-checkup-mcp]
command = "npx"
args = ["-y", "dba-checkup-mcp@0.2.0"]
env = { "DBA_CHECKUP_DATABASE_URL" = "<DBA_CHECKUP_DATABASE_URL>" }For AI agents
- Ask the user for: DBA_CHECKUP_DATABASE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: health_report, overview, active_sessions, blocking_locks, top_queries, storage, index_health, maintenance, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json