Skip to main content
Glama

MCP-MySQL Server

by enemyrr

execute

Run INSERT, UPDATE, or DELETE queries on MySQL databases. Provide SQL statements and optional parameters for precise database modifications using a secure connection.

Instructions

Execute an INSERT, UPDATE, or DELETE query

Input Schema

NameRequiredDescriptionDefault
paramsNoAn optional array of parameters (as strings) to bind to the SQL query placeholders (e.g., ?).
sqlYesThe SQL query string (INSERT, UPDATE, DELETE) 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 query string (INSERT, UPDATE, DELETE) to execute.", "type": "string" } }, "required": [ "sql" ], "type": "object" }

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/enemyrr/mcp-mysql-server'

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