MySQL MCP Server

MIT License
20
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoPort for the MCP server8081
MYSQL_HOSTYesMySQL database hostlocalhost
MYSQL_PORTNoMySQL database port3306
MYSQL_USERYesMySQL database usernameroot
MYSQL_DATABASEYesMySQL database namemcp_test
MYSQL_PASSWORDYesMySQL database password

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