Skip to main content
Glama

MCP MySQL Server

by TickHaiJun

query

Execute SQL SELECT queries and bind parameters to MySQL database using the MCP MySQL Server tool for accurate data retrieval and management.

Instructions

Execute a SELECT query

Input Schema

NameRequiredDescriptionDefault
paramsNoAn optional array of parameters (as strings) to bind to the SQL query placeholders (e.g., ?).
sqlYesThe SQL SELECT query string to execute.

Input Schema (JSON Schema)

{ "properties": { "params": { "description": "An optional array of parameters (as strings) to bind to the SQL query placeholders (e.g., ?).", "items": { "description": "A parameter value (as string) to bind to the query.", "type": "string" }, "optional": true, "type": "array" }, "sql": { "description": "The SQL SELECT query string to execute.", "type": "string" } }, "required": [ "sql" ], "type": "object" }
Install Server

Other Tools from MCP MySQL 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/TickHaiJun/mysql-mcp-server'

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