
Lets your agent explore your MySQL schemas, query your data in plain English, and check query plans, locks and table health.
by Google· DatabasesUnclaimed · Yours? Claim it
4 images
About
Google's MySQL plugin connects your agent to a MySQL database through MCP Toolbox for Databases. Describe what you want in plain English and your agent can explore the schema, query your data, see what's running and generate code that matches your tables. It works with any MySQL instance you can reach; Google makes a separate Cloud SQL for MySQL plugin for Cloud SQL instances. What you can do with it - List tables with their columns, constraints, indexes and triggers - Ask questions of your data and let your agent write and run the SQL - See a query's execution plan, the queries running now and the locks they hold - Find tables without a primary or unique key, and fragmented tables - Review table statistics and query statistics such as latency, rows examined and full table scans - Generate code from your schema, such as a Python dataclass for a table How it connects It installs as a Gemini CLI extension and as a plugin for Claude Code, Codex and Antigravity. It runs MCP Toolbox's prebuilt MySQL server on your machine with npx, so it needs Node.js and a running MySQL instance. You give it the host, port, database, user and password: Gemini CLI asks for them when you install it, Claude Code takes them with --config or from /plugin, and Codex and Antigravity read them from environment variables. Host and port default to localhost and 3306. Good to know - execute_sql runs any SQL statement your agent writes, so connect as a MySQL user with only the access you want it to have. - The connection is set before your agent starts and can't be changed during a session. - It's in beta (before v1.0), so expect breaking changes.
Plugins people install alongside MySQL plugin.
Once it’s added
“Show me all tables in the orders database.”
“What are the columns in the products table?”
“How many orders were placed in the last 30 days, and what were the top 5 most purchased items?”
“Generate a Python dataclass to represent the customers table.”
“Show me the execution plan for this query.”
“Which tables don't have a primary or unique key?”
Before you add it
Reads only
Table schemas: columns, constraints, indexes and triggers · Running queries, locks and execution plans · Table statistics, fragmentation and query statistics
Makes changes · your agent can ask first
Runs the SQL your agent writes with execute_sql, including changes
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
Runs on your machine.
Runs on your machine.
/plugin marketplace add GoogleCloudPlatform/mysql-plugin /plugin install mysql@mysql
Runs on your machine.
gemini extensions install https://github.com/GoogleCloudPlatform/mysql-plugin
Scanned and passed · checked 6 h ago
No reviews yet. Used MySQL plugin? Say how it went.
Write a reviewPlugins people install alongside MySQL plugin.
Equips your coding agent with a database architect, a SQL specialist and a PostgreSQL table-design skill.
Let your agent explore schemas and query your databases, from Postgres and MySQL to BigQuery, AlloyDB and Spanner.
Let your agent work with your Firebase projects: Firestore data, Auth users, security rules, Crashlytics and deploys.
Supabase's own MCP server: your agent manages tables, runs SQL and migrations, checks logs and deploys Edge Functions in your projects.
Nobody has shared how they use MySQL plugin yet.
Security scan
Passed
Safe to install in every agent it supports. Claude plugins, Extensions.