Skip to main content
Glama
keleshteri

MCP MySQL Server

by keleshteri

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOW_DDLNoEnable DDL operations CREATE/ALTER/DROPfalse
POOL_SIZENoConnection pool size10
MYSQL_HOSTNoDatabase hostlocalhost
MYSQL_PORTNoDatabase port3306
MYSQL_USERNoDatabase usernameroot
ALLOW_WRITENoEnable all write operationsfalse
ALLOW_DELETENoEnable DELETE statementsfalse
ALLOW_INSERTNoEnable INSERT statementsfalse
ALLOW_UPDATENoEnable UPDATE statementsfalse
QUERY_TIMEOUTNoQuery timeout in milliseconds30000
ENABLE_LOGGINGNoEnable detailed loggingfalse
MYSQL_DATABASENoTarget database (leave empty for multi-DB mode)
MYSQL_PASSWORDNoDatabase password
MYSQL_SOCKET_PATHNoUnix socket path (optional, overrides host/port)

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

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