Skip to main content
Glama
MySQL MCP Server

MySQL MCP Server

by ayush1184

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTNoMySQL server host.127.0.0.1
MYSQL_PORTNoMySQL server port.3306
MYSQL_USERNoMySQL username.root
MYSQL_SSL_CANoSSL/TLS CA certificate.
MYSQL_SSL_KEYNoSSL/TLS key.
MYSQL_DATABASENoDefault database name.
MYSQL_ENV_FILENoPath to a .env file for per-project configurations.
MYSQL_PASSWORDNoMySQL password.
MYSQL_SSL_CERTNoSSL/TLS certificate.
MYSQL_ALLOW_DDLNoAllow DDL operations.false
MYSQL_LOG_LEVELNoLogging level.INFO
MYSQL_POOL_SIZENoConnection pool size.10
MYSQL_READ_ONLYNoRead-only mode.false
MYSQL_RATE_LIMITNoQueries per minute.100
MYSQL_LOG_QUERIESNoLog all queries.false
MYSQL_SSL_ENABLEDNoEnable SSL/TLS.false
MYSQL_ALLOW_DELETENoAllow DELETE operations.false
MYSQL_QUERY_TIMEOUTNoQuery timeout in seconds.30
MYSQL_MAX_CONNECTIONSNoMaximum connections.100
MYSQL_CONNECTION_STRINGNoFull MySQL connection string (alternative to individual connection settings).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources