Skip to main content
Glama
a1030307996-hash

mysql-readonly-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTNoMySQL host (default: 127.0.0.1)
MYSQL_PORTNoMySQL port3306
MYSQL_USERNoMySQL user
MYSQL_DATABASENoMySQL database name
MYSQL_PASSWORDNoMySQL password
MYSQL_CONFIG_FILENoPath to a .env file containing MySQL credentials and options.
MYSQL_MCP_MAX_LIMITNoMaximum number of rows for sample queries (default: 500)
MYSQL_MCP_CONNECTION_LIMITNoDatabase connection pool limit (default: 5)
MYSQL_MCP_QUERY_TIMEOUT_MSNoQuery timeout in milliseconds (default: 10000)

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

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