MySQL MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_DBYesThe name of the database to connect to.
MYSQL_HOSTNoThe host address of the MySQL server.127.0.0.1
MYSQL_PASSNoThe password to connect to the MySQL server.
MYSQL_PORTNoThe port number for the MySQL server.3306
MYSQL_USERNoThe username to connect to the MySQL server.root

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools