Skip to main content
Glama
zhengyun1008

MCP Server for MySQL

by zhengyun1008

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_DBNoLegacy single-database name
MYSQL_HOSTNoLegacy single-database host
MYSQL_PASSNoLegacy single-database password
MYSQL_PORTNoLegacy single-database port
MYSQL_USERNoLegacy single-database user
MYSQL_CONFIG_PATHNoCustom config file path for multi-database configuration

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
mysql_query

Run a read-only SELECT query on a MySQL database

Prompts

Interactive templates invoked by user choice

NameDescription
mysql_usage_guideGuide for querying MySQL databases

Resources

Contextual data attached and managed by the client

NameDescription
MySQL Database ConnectionsList of available MySQL database connections with access modes

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

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