Skip to main content
Glama

MySQL MCP Server

run_sql_query

Execute SELECT queries on a MySQL database using the MCP server to retrieve data in JSON format. Designed for read-only operations to ensure data security and integrity.

Instructions

执行只读 SQL 查询(仅限 SELECT 语句)

Input Schema

NameRequiredDescriptionDefault
queryYes要执行的 SQL SELECT 查询语句

Input Schema (JSON Schema)

{ "properties": { "query": { "description": "要执行的 SQL SELECT 查询语句", "type": "string" } }, "required": [ "query" ], "type": "object" }
Install Server

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/alittleyellowkevin/Mysql-MCP'

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