Skip to main content
Glama
za2keep

MySQL MCP Server

by za2keep

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOW_DDLNoAllow DDL operations (CREATE, DROP, ALTER)false
MYSQL_HOSTNoMySQL server hostnamelocalhost
MYSQL_PORTNoMySQL server port3306
MYSQL_USERYesMySQL username (required)
MCP_LOG_LEVELNoLogging level: debug, info, warn, errorinfo
MYSQL_DATABASEYesDatabase name (required)
MYSQL_PASSWORDYesMySQL password (required)
MAX_SELECT_ROWSNoMaximum rows returned by SELECT queries1000
REQUIRE_WHERE_CLAUSENoRequire WHERE clause for UPDATE/DELETEtrue
MYSQL_CONNECTION_LIMITNoMaximum number of connections in pool10
ALLOW_MULTIPLE_STATEMENTSNoAllow multiple SQL statementsfalse

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

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

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