Skip to main content
Glama

MySql MCP Server

query

Execute SQL queries directly on MySQL databases using structured inputs. Retrieve and manage data efficiently through AI-driven interactions with the MCP server.

Instructions

Execute an SQL query on the connected database.

Input Schema

NameRequiredDescriptionDefault
paramsNoParameters for prepared statements
sqlYesSQL query to execute

Input Schema (JSON Schema)

{ "properties": { "params": { "description": "Parameters for prepared statements", "items": { "type": "string" }, "type": "array" }, "sql": { "description": "SQL query to execute", "type": "string" } }, "required": [ "sql" ], "type": "object" }

You must be authenticated.

Other Tools from MySql MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sussa3007/mysql-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server