# Connect Adminer to Your AI Agent (Universal MCP)

> Use your AI to manage databases, query data, and update records in Adminer — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http adminer https://api.universalmcp.app/mcp/adminer`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/adminer` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "adminer", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Adminer | Category: DevOps & IT/Security (Adminer) | Auth: Guided self-hosted connector setup | Deployment: self-hosted
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Schemas and table metadata, Query log and statistics, Schema changes (gated); 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/adminer | Guide: https://universalmcp.app/mcp/adminer
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (16 actions: 4 Read, 12 Write)
Perform over 10 actions across schema & tables, query & data, plugins & extensions, and database connections. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Schema & Tables (6):** Browse Table Data (read), Create Table (write), Alter Table Columns (write), Drop Table (write), Export Database Dump (read), Import SQL File (write)
- **Query & Data (5):** Run SQL Query (write), Search Table Rows (read), Edit Table Row (write), Insert New Row (write), Delete Table Rows (write)
- **Plugins & Extensions (3):** Install Adminer Plugin (write), Customize Adminer Object (write), Switch Adminer Skin (write)
- **Database Connections (2):** Connect to Database Server (write), Select Database Schema (read)

## Example Prompts for Adminer
- **Slow query hunt:** "Find the five slowest statements in the Adminer query log for the orders database over the last 7 days."
- **Index audit:** "List every table in the orders schema that has no primary key or is missing an index on a foreign key column."
- **Schema overview:** "Summarize row counts and table sizes for the billing schema, sorted from largest to smallest."
- **Draft index change:** "Draft the CREATE INDEX statement for invoices on account_id and issued_at; do not run it until I confirm."
