Skip to main content
Glama

MySQL MCP Server

MIT License
  • Apple
  • Linux

mysql_query

Execute SQL queries directly on MySQL databases using the MCP Server. Input SQL statements and optional parameters for precise data retrieval and database operations.

Instructions

执行 SQL 查询

Input Schema

NameRequiredDescriptionDefault
paramsNo参数化查询的参数(可选)
sqlYesSQL 查询语句

Input Schema (JSON Schema)

{ "properties": { "params": { "description": "参数化查询的参数(可选)", "items": { "type": "string" }, "type": "array" }, "sql": { "description": "SQL 查询语句", "type": "string" } }, "required": [ "sql" ], "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/pickstar-2002/mysql-mcp'

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