MySQL MCP Server

execute_sql

Run non-SELECT SQL commands like ALTER, DROP, or INSERT directly on a MySQL database via the MCP Server, enabling efficient database management and modifications.

Instructions

Executes any non-SELECT SQL statement (e.g., ALTER TABLE, DROP, etc.)

Input Schema

NameRequiredDescriptionDefault
queryYesThe SQL statement to execute.

Input Schema (JSON Schema)

{ "properties": { "query": { "description": "The SQL statement to execute.", "type": "string" } }, "required": [ "query" ], "type": "object" }

You must be authenticated.

Other Tools from MySQL MCP Server

Related Tools

ID: chaok7d5bx