MCP Server for MySQL

by zhaoxin34
Verified
MIT License
1,219
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PATHNoPath to node binaries and other executables
MYSQL_DBNoTarget database name
MYSQL_SSLNoEnable SSL/TLS encryptionfalse
MYSQL_HOSTYesMySQL server host127.0.0.1
MYSQL_PASSYesMySQL password
MYSQL_PORTNoMySQL server port3306
MYSQL_USERYesMySQL usernameroot
MYSQL_CACHE_TTLNoCache time-to-live in milliseconds60000
MYSQL_LOG_LEVELNoLogging levelinfo
MYSQL_POOL_SIZENoConnection pool size10
MYSQL_RATE_LIMITNoMaximum queries per minute100
MYSQL_QUERY_TIMEOUTNoQuery timeout in milliseconds30000
MYSQL_ENABLE_LOGGINGNoEnable query loggingfalse
MYSQL_METRICS_ENABLEDNoEnable performance metricsfalse
MYSQL_MAX_QUERY_COMPLEXITYNoMaximum query complexity score1000

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