Skip to main content
Glama

MCP MySQL Server

by TickHaiJun

query

Execute SELECT queries on MySQL databases using SQL strings and optional parameters. Facilitates database interactions for AI agents and supports table structure retrieval and connection testing.

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" }

Other Tools from MCP MySQL Server

Related Tools

  • @enemyrr/mcp-mysql-server
  • @kevinbin/mcp-mysql-server
  • @Malove86/mcp-mysql-server
  • @TickHaiJun/mysql-mcp-server
  • @sussa3007/mysql-mcp
  • @antonorlov/mcp-postgres-server

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