MySQL Ops MCP
Provides tools for interacting with MySQL databases, enabling listing databases and tables, describing tables, showing indexes and triggers, running read-only and write SQL queries (write enabled by config), and creating backup SQL files.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
# MySQL Ops MCP
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.
Related MCP server: keevor-mysql-mcp-server
Tools
mysql_current_configmysql_list_databasesmysql_list_tablesmysql_describe_tablemysql_show_indexesmysql_show_triggersmysql_query_readonlymysql_explainmysql_execute_sqlmysql_execute_filemysql_create_backup_sql
High-risk SQL such as DROP DATABASE, TRUNCATE TABLE, and UPDATE or DELETE without WHERE requires confirmHighRisk=true.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MySQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that provides read-only access to MySQL databases.4896 npm75MIT
- MIT
- AlicenseNot gradedqualityBmaintenanceA MySQL MCP server for local stdio clients, enabling database queries and management with read-only/write modes, audit logging, and configurable security.526 npmMIT
- AlicenseNot gradedqualityDmaintenanceA robust MCP server for interacting with MySQL databases through AI agents, providing tools for schema analysis, query execution, and dynamic connection management with read-only security.81 npmMIT