Skip to main content
Glama
ashenud

MySQL MCP Server

by ashenud

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_SSLNoUse SSL connection (true/false)
MYSQL_HOSTNoDefault MySQL hostlocalhost
MYSQL_PORTNoDefault MySQL port3306
MYSQL_USERNoDefault MySQL username
MYSQL_DATABASENoDefault database name
MYSQL_PASSWORDNoDefault MySQL password

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
mysql_connect

Connect to a MySQL database

mysql_query

Execute a MySQL query

mysql_list_databases

List all available databases

mysql_list_tables

List tables in the current database

mysql_describe_table

Get table structure and schema information

mysql_disconnect

Close the MySQL connection

mysql_setup_persistent

Set up persistent connection with default credentials

mysql_status

Check connection status and database info

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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