Skip to main content
Glama
devakone

MySQL Query MCP Server

by devakone

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging (default false)
LOCAL_DB_SSLNoEnable SSL for the local environment (default false)
LOCAL_DB_HOSTNoDatabase host for the local environment
LOCAL_DB_NAMENoDatabase name for the local environment
LOCAL_DB_PASSNoDatabase password for the local environment
LOCAL_DB_PORTNoDatabase port for the local environment (default 3306)
LOCAL_DB_USERNoDatabase username for the local environment
MCP_MYSQL_SSLNoEnable SSL for all connections (default false)
MYSQL_TIMEZONENoTimezone used by mysql2 when sending JavaScript Date values in queries (default Z)
STAGING_DB_SSLNoEnable SSL for the staging environment (default false)
STAGING_DB_HOSTNoDatabase host for the staging environment
STAGING_DB_NAMENoDatabase name for the staging environment
STAGING_DB_PASSNoDatabase password for the staging environment
STAGING_DB_PORTNoDatabase port for the staging environment (default 3306)
STAGING_DB_USERNoDatabase username for the staging environment
PRODUCTION_DB_SSLNoEnable SSL for the production environment (default false)
DEVELOPMENT_DB_SSLNoEnable SSL for the development environment (default false)
PRODUCTION_DB_HOSTNoDatabase host for the production environment
PRODUCTION_DB_NAMENoDatabase name for the production environment
PRODUCTION_DB_PASSNoDatabase password for the production environment
PRODUCTION_DB_PORTNoDatabase port for the production environment (default 3306)
PRODUCTION_DB_USERNoDatabase username for the production environment
DEVELOPMENT_DB_HOSTNoDatabase host for the development environment
DEVELOPMENT_DB_NAMENoDatabase name for the development environment
DEVELOPMENT_DB_PASSNoDatabase password for the development environment
DEVELOPMENT_DB_PORTNoDatabase port for the development environment (default 3306)
DEVELOPMENT_DB_USERNoDatabase username for the development environment
MCP_MYSQL_REJECT_UNAUTHORIZEDNoVerify SSL certificates (default true)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
queryA

Execute read-only SQL queries against MySQL databases

infoC

Get information about MySQL databases

environmentsA

List available MySQL database environments

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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

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