run_sql_query
Execute read-only SQL SELECT queries to retrieve data from a MySQL database via the MySQL MCP Server, with results formatted in JSON for simplified integration and analysis.
Instructions
执行只读 SQL 查询(仅限 SELECT 语句)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | 要执行的 SQL SELECT 查询语句 |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"description": "要执行的 SQL SELECT 查询语句",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}