Atlas / MCP servers / xataio / Xata Agent

Xata AgentBLOCK

mcp/xataio/xata-agent

AI agent expert in PostgreSQL

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
6 3r · 3w · 0d
Transport
—
License
Apache-2.0
Stars
1,093
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Xata Agent is an open source agent that monitors your database, finds root causes of issues, and suggests fixes and improvements. It's like having a new SRE hire in your team, one with extensive experience in Postgres.

Letting the agent introduce itself:

Hire me as your AI PostgreSQL expert. I can: - watch logs & metrics for potential issues. - proactively suggest configuration tuning for your database instance. - troubleshoot performance issues and make indexing suggestions. - troubleshoot common issues like high CPU, high memory usage, high connection count, etc. - and help you vacuum (your Postgres DB, not your room). More about me: - I am open source and extensible. - I can monitor logs & metrics from RDS & Aurora via Cloudwatch. - I use preset SQL commands. I will never run destructive (even potentially destructive) commands against your database. - I use a set of tools and playbooks to guide me and avoid
Read from source at commit bfe90f931dd3OBSERVED · 2026-09-25
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add db-agent -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "db-agent": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (6)

3 read · 3 write · 0 destructive.

ToolRiskDescription
generalMonitoringreadGeneral monitoring of the database, checking logs, slow queries, main metrics, etc.
investigateHighConnectionCountwriteInvestigate high connection count. This playbook should be execute while the connection count is elevated.
investigateHighCpuUsagewriteInvestigate high CPU usage. This playbook should be execute while the CPU usage is elevated.
investigateLowMemorywriteInvestigate low freeable memory. This playbook should be execute while the freeable memory is low.
investigateSlowQueriesreadInvestigate slow queries using pg_stat_statements and EXPLAIN calls.
tuneSettingsreadTune configuration settings for the database, based on the instance type, the database schema.
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (8 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (13)

HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
apps/dbagent/scripts/load-testing/musicbrainz-loader.ts:16
rejectUnauthorized: false // Allow self-signed certificates
Why it matters. certificate verification is disabled
Fix. leave verification on
HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
apps/dbagent/src/lib/targetdb/db.ts:30
rejectUnauthorized: false // Allow self-signed certificates
Why it matters. certificate verification is disabled
Fix. leave verification on
LOWInventory / provenance · inv.hidden_file · CWE-1104
.env.production
.env.production
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierrc.js
.prettierrc.js
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierrc.precommit.js
.prettierrc.precommit.js
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
apps/dbagent/.env.eval.example
.env.eval.example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/dbagent/src/components/chat/artifacts/text/editor/functions.tsx:8
import { Markdown } from '../../../message/markdown';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/dbagent/src/components/chat/artifacts/text/editor/suggestions.tsx:6
import { ArtifactKind } from '../../artifact';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/dbagent/src/components/chat/artifacts/text/editor/suggestions.tsx:7
import { Suggestion } from '../../suggestion';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
apps/dbagent/src/evals/lib/schemas.ts:2
import { evalEnvSchema } from '../../lib/env/eval';
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
apps/dbagent/package.json
@ai-sdk/anthropic, @ai-sdk/deepseek, @ai-sdk/google, @ai-sdk/openai, @ai-sdk/provider, @ai-sdk/react, @ai-sdk/ui-utils, @anthropic-ai/sdk
Why it matters. 107 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@eslint/compat, @types/node, @types/react, @xata.io/tsconfig, eslint, husky, lint-staged, prettier
Why it matters. 14 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-09-25 · audit v0.4.1 · source sha bfe90f931dd3full audit observations/trust-audit/mcp-server/xataio__xata-agent.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-25bfe90f931dd3BLOCKD69first audit
06

Questions

What is the Xata Agent MCP server?

AI agent expert in PostgreSQL

What tools does Xata Agent expose?

6 in total: 3 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Xata Agent safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does Xata Agent need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (bfe90f931dd3), read on 2026-09-25. The repository is watched and re-audited when it changes.

Advertisement