MyDBA includes an MCP server. An assistant you already use, such as Claude Code, Cursor or Claude desktop, can read the monitoring data MyDBA has collected and answer questions about your PostgreSQL databases.
It is read-only. MyDBA never runs anything on your databases, and it runs no model of its own: the assistant you choose does the reasoning, over evidence MyDBA has already gathered.
MCP, the Model Context Protocol, is a standard way for an AI assistant to ask another program for information. MyDBA's MCP server offers a set of read-only briefings on the things a DBA asks about: health, queries, plans, indexes, incidents, capacity and settings. Each answer comes with notes on how to read it, so your assistant reasons from evidence rather than guessing.
MyDBA also ships ready-made prompts for common jobs: triaging a slow database, explaining an incident, tuning a query, reviewing a schema change before you make it, capacity, configuration, right-sizing and pgvector reviews.
It reads the monitoring data MyDBA has collected. It never runs anything on your databases and it cannot change anything. MyDBA runs no model of its own here: your assistant does the reasoning.
A restricted_read token withholds raw query samples and the literal values in query plans. A read token includes them. Choose the narrower one unless your assistant needs the detail.
Each token acts as the person who created it, with the same access they have in the dashboard. Tokens expire, and you can revoke one at any time from Settings.
An administrator can stop MCP access for the whole organisation with one setting. Tokens stop working at once.
Open Settings, then AI assistant access (MCP). Name the token, choose a scope and how long it lasts, then create it. The token is shown once, so copy it then.
The same card gives you ready-made snippets for Claude Code, Cursor and Claude desktop. For Claude Code it looks like the command below, with your own address and token.
claude mcp add --transport http mydba https://mydba.example.com/mcp \
--header "Authorization: Bearer dbt_pat_…"For example: "Use MyDBA: what is wrong with my database right now?"
The MCP server is part of the hosted service, where it is available on paid plans, and part of self-hosted MyDBA, including free mode. See self-hosted MyDBA for running the whole product inside your own network.
75+ automated checks across 12 scoring domains
Index analysis across primaries and replicas
Visual plan analysis, guided walkthroughs, and regression detection
Blocker detection, recovery scripts, and runbooks
The most complete TimescaleDB monitoring anywhere
First-class pgvector index and query monitoring
Spatial data inventory, index health, and geometry checks
Manual incident reports with evidence, root cause, timeline, and remediation
Always-on anomaly detection for problems you haven't thought to alert on
Highest-impact queries, the best tuning candidates, and exactly what to do
Manual AI depth for incidents, query plans, tuning, and explanations
Shared managed, dedicated managed, or customer-run collectors
Rate-of-change, compound conditions, and 11 prebuilt templates
Slot, subscription, apply lag, and PG17 conflict monitoring
Extension detection, auto-install, and provider-specific guides
Shared remediation plans with review workflow
Priority trend analyzers with severity cards and sparklines
Start free with one primary or standalone PostgreSQL instance and all its databases. Monitoring, alerts, query insights, index advice, team access and every non-AI feature included. No replicas. No credit card required. New Free connections get seven days of full collection, then reduced sampling. Free and Pro include 30 days of monitoring history.