Skip to main content
Glama

MySQL MCP Server

by slg1119

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTNoMySQL server hostlocalhost
MYSQL_PORTNoMySQL server port3306
MYSQL_USERYesMySQL username
MYSQL_CHARSETNoCharacter setutf8mb4
MYSQL_DATABASEYesTarget database name
MYSQL_PASSWORDYesMySQL password
MYSQL_SQL_MODENoSQL modeTRADITIONAL
MYSQL_COLLATIONNoCollationutf8mb4_unicode_ci

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

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

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