Developer Tools

MySQL MCP Server

Connect your account, then chat with AI to run tools.

MySQL MCP server for powerful open-source relational database operations. Execute SQL queries, manage relational data with high throughput, support web applications and data warehousing, and integrate with popular frameworks for scalable database operations. Connect to local databases with MCPBundles Desktop.

Managed
10 tools
Agent guide included

Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for MySQL — workflow patterns, data models, and gotchas for your AI agent.

MySQL

MySQL access uses a standard connection URI or discrete host/port/database credentials—mirror the PostgreSQL mental model. Parameterized reads return row payloads plus stable handles for point lookups; mutating work goes through explicit SQL execution paths.

Data Model

  • Tables — discover names before writing migrations or ad hoc queries.
  • Parameterized reads — bound SELECT output includes resource handles when the platform wraps rows.
  • Row handles — typically mysql:row:db.table:pk:value; reuse only from fresh read results.
  • Ad hoc execution — DDL/DML and multi-statement batches when the integration exposes an execute surface.
  • Connectivitymysql:// URIs; loopback hosts need the desktop proxy tunnel.

Gotchas

  • Read vs write: Keep exploratory reads on guarded paths; wrap destructive statements in transactions.
  • TLS: Managed clouds expect SSL modes in the DSN.
  • Identifiers: Thread primary keys from listing responses into follow-up reads—stale keys error out.

Tools in this Server (10)

Execute

Execute SQL statements on MySQL database. Supports all SQL operations including SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER. Use with caution ...

Fetch

Fetch a specific MySQL record by ID. Use format 'mysql:row:table:id' (e.g., 'mysql:row:users:123').

Get Ai Description

Get a token-efficient schema description optimized for AI models to generate SQL queries. Includes table names, column names, types, and relationships...

Get Table Stats

Get detailed statistics and metadata for a MySQL table including row count, size, indexes, and foreign keys.

Inspect Database

Get a full overview of the MySQL database schema including tables, columns, indexes, and relationships.

List Rows

List rows from a MySQL table with pagination, column selection, filtering, and sorting.

List Tables

List all tables in the MySQL database with pagination and optional name pattern filtering.

Profile Column

Profile a MySQL column to get statistics including min/max, distinct count, null count, and top values.

Sample Data

Get sample data from a MySQL table for preview and exploration.

Search

Search MySQL database using SQL queries or structured syntax. Returns ranked results with IDs and titles. Supports SELECT statements and table browsin...

Frequently Asked Questions

What is the MySQL MCP server?

MySQL MCP server for powerful open-source relational database operations. Execute SQL queries, manage relational data with high throughput, support web applications and data warehousing, and integrate with popular frameworks for scalable database operations. Connect to local databases with MCPBundles Desktop. It provides 10 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect MySQL to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/mysql. Authentication is handled automatically.

How many tools does MySQL provide?

MySQL provides 10 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does MySQL require?

MySQL uses API Key. MySQL requires credentials. Connect via MCPBundles and authentication is handled automatically.

Setup Instructions

Connect MySQL to any MCP client in minutes

MCP URLhttps://mcp.mcpbundles.com/bundle/mysql

One-click install:

The link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.

Or add manually

  1. Open claude.ai → Settings → Connectors.
  2. Click the + button and choose Add custom connector.
  3. Set Name to MySQL and paste the MCP URL into Remote MCP server URL.
  4. Click Add. MySQL will appear under Not connected — select it and click Connect to complete OAuth.
Name: MySQL
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/mysql
Authentication: OAuth

Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).

Ready to use MySQL?

Sign in to connect your credentials and start running tools from the chat.

MySQL MCP Server & Skill — 10 Tools