Skip to main content
Glama

MariaDB MCP Server

by bretoreta

execute_query

Run SELECT, SHOW, DESCRIBE, or EXPLAIN SQL queries securely on a MariaDB/MySQL database. Specify a database or use the default for efficient data exploration and analysis.

Instructions

Execute a SQL query

Input Schema

NameRequiredDescriptionDefault
databaseNoDatabase name (optional, uses default if not specified)
queryYesSQL query (only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed)

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "Database name (optional, uses default if not specified)", "type": "string" }, "query": { "description": "SQL query (only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed)", "type": "string" } }, "required": [ "query" ], "type": "object" }
Install Server

Other Tools from MariaDB 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/bretoreta/mariadb-mcp-server'

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