MySQL MCP Server

run_sql_query

Execute SELECT queries on a MySQL database to retrieve data using the MCP server. Supports read-only SQL operations for extracting information efficiently.

Instructions

Executes a read-only SQL query (SELECT statements only) against the MySQL database.

Input Schema

NameRequiredDescriptionDefault
queryYesThe SQL SELECT query to execute.

Input Schema (JSON Schema)

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

You must be authenticated.

Other Tools from MySQL MCP Server

Related Tools

ID: chaok7d5bx