Skip to main content
Glama

MCP MySQL Server

by sajithrw

mysql_query

Execute SQL queries on MySQL databases to retrieve, update, or manage data using prepared statements with optional parameters.

Instructions

Execute a SQL query on the connected MySQL database

Input Schema

NameRequiredDescriptionDefault
parametersNoParameters for prepared statement (optional)
queryYesSQL query to execute

Input Schema (JSON Schema)

{ "properties": { "parameters": { "description": "Parameters for prepared statement (optional)", "items": { "type": "string" }, "type": "array" }, "query": { "description": "SQL query to execute", "type": "string" } }, "required": [ "query" ], "type": "object" }

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/sajithrw/mcp-mysql'

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