Skip to main content
Glama
eltonf

MySQL MCP Server

by eltonf

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_SSLNoSSL mode (e.g., 'true' or 'false').
DB_HOSTNoMySQL host (e.g., localhost).
DB_NAMENoDatabase name.
DB_PORTNoMySQL port (default 3306).
DB_USERNoMySQL user.
DB_PASSWORDNoMySQL password.
DATABASE_URLNoMySQL connection URL (e.g., mysql://user:password@host:port/database). Overridden by individual variables.
SCHEMA_ONLY_MODENoIf 'true', only schema tools are enabled. Set to 'false' to enable execute_query.
QUERY_ACCESS_CONFIGNoPath to a JSON file defining query access control policy.

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

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