New to AI? MCP, Agents and Skills, Explained for DBAs

Hi all. Three words that show up in every AI announcement for databases now: MCP, agents and skills. Together they're how AI stops just talking about your database and starts doing things in it. Which is exactly why a DBA should understand them.

MCP: one plug for every tool

The Model Context Protocol is an open standard for connecting AI apps to tools and data. There are three roles: the host (the AI app, like VS Code with Copilot or Claude), an MCP client inside it, and an MCP server that offers capabilities. A server offers tools (things it can do, like "run this query"), resources (things it can read) and prompts. Under the hood it's JSON-RPC 2.0.

In DBA words

MCP is like a database driver standard. One protocol, many clients, many servers. And just like a driver, the MCP server connects with an account. That account is the real limit on what the AI can do, not the prompt.

Agents: a model in a loop

A chat answers once. An agent works toward a goal in a loop: think about the next step, call a tool, read the result, decide again, until it's done or stuck. "Find out why the database is slow" might become five queries the agent picks on its own.

The good part: it can chain the boring steps a DBA does by hand. The risky part: it decides the next step itself, from whatever text came back, including text that someone planted in your data.

Skills: your runbook, in a form AI follows

Agent skills are an open format for teaching an agent how to do a task. A skill is a folder with a SKILL.md file: a name, a description and instructions, plus optional scripts and reference files. The agent loads it when the task matches.

For us that's a natural fit: "how our team does a health check", "how we review a new user request", written once, followed every time. Microsoft's docs say Copilot's agent mode in SSMS can already be extended with agent skills and MCP servers.

MCP servers for our databases

DatabaseMCP serverWhat to know
OracleSQLcl MCP serverUses a saved SQLcl connection, so give it the smallest user you can. Autonomous Database now also has a built-in MCP server.
SQL ServerSQL MCP Server (Data API builder)Exposes configured entities, not free SQL. Check the config: the defaults are for demos.
PostgreSQLPostgres MCP Pro and othersHas restricted and unrestricted access modes. A "read-only" mode is a feature, not a guarantee: see the AWS Postgres MCP bug.

How I keep an agent's hands small

  • Its own database user, read-only, only the views it needs. Never my DBA account.
  • The database enforces the limits, not the MCP server's "read-only" switch alone.
  • A human approves anything that writes, kills or changes. Most hosts can ask before each tool call; keep that on.
  • Audit the agent's user, so you can see exactly what it ran.
  • Lab first. My PostgreSQL lab and SQL Server lab are built exactly for this.
The prompt is a request. The grant is the rule.

Official reading

Last part next: local or cloud models, and the security side. Which DBA task would you write as a skill first?

The New to AI? series

All parts, in one place: New to AI? And if you want every AI word mapped to something DBAs already know, start with You Already Speak AI (also for SQL Server and PostgreSQL).

Comments