MySQL MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MYSQL_HOST | Yes | The hostname of the MySQL server. | |
MYSQL_USER | Yes | The username for connecting to the MySQL database. | |
MYSQL_DATABASE | Yes | The name of the MySQL database to connect to. | |
MYSQL_PASSWORD | Yes | The password for connecting to the MySQL database. |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
execute_sql | Execute an SQL query on the MySQL server |