Command Palette

Search for a command to run...

UnylyUnyly
Browse all

MySQL Ops

FreeNot checked

A generic MCP server for MySQL operations, enabling listing databases/tables, describing schemas, running read-only SQL, and optionally executing write SQL with

GitHubEmbed

About

A generic MCP server for MySQL operations, enabling listing databases/tables, describing schemas, running read-only SQL, and optionally executing write SQL with logging.

README

A generic MCP server for MySQL operations.

It supports:

  • Listing databases and tables.
  • Describing tables.
  • Showing indexes and triggers.
  • Running read-only SQL: SELECT, SHOW, DESCRIBE, DESC, EXPLAIN.
  • Running explicitly requested write SQL when MYSQL_WRITE_ENABLED=true.
  • Logging every executed write SQL file under mysql-ops-logs/ in the current project root.

Configuration

Copy .env.example to .env.local and set your MySQL connection:

MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=change-me
MYSQL_DEFAULT_DATABASE=insurance
MYSQL_WRITE_ENABLED=true
MYSQL_EXECUTION_LOG_DIR=mysql-ops-logs

.env.local is ignored by Git.

Tools

  • mysql_current_config
  • mysql_list_databases
  • mysql_list_tables
  • mysql_describe_table
  • mysql_show_indexes
  • mysql_show_triggers
  • mysql_query_readonly
  • mysql_explain
  • mysql_execute_sql
  • mysql_execute_file
  • mysql_create_backup_sql

High-risk SQL such as DROP DATABASE, TRUNCATE TABLE, and UPDATE or DELETE without WHERE requires confirmHighRisk=true.

from github.com/lemonq3q/MCP-MySQL

Installing MySQL Ops

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/lemonq3q/MCP-MySQL

FAQ

Is MySQL Ops MCP free?

Yes, MySQL Ops MCP is free — one-click install via Unyly at no cost.

Does MySQL Ops need an API key?

No, MySQL Ops runs without API keys or environment variables.

Is MySQL Ops hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install MySQL Ops in Claude Desktop, Claude Code or Cursor?

Open MySQL Ops on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare MySQL Ops with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs