Skip to main content
Glama
chenkumi

easy-mysql-mcp

by chenkumi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTYesMySQL host name or IP address
MYSQL_PORTNoMySQL port3306
MYSQL_USERYesMySQL user name
MYSQL_DATABASEYesDefault database/schema
MYSQL_MAX_IDLENoMaximum number of idle pool connections10
MYSQL_PASSWORDYesMySQL password
MYSQL_QUEUE_LIMITNoMaximum queued connection requests, where 0 means unlimited0
MYSQL_IDLE_TIMEOUTNoIdle connection timeout in milliseconds60000
MYSQL_CONNECTION_LIMITNoMaximum number of active pool connections10
MYSQL_ENABLE_KEEP_ALIVENoWhether TCP keep-alive is enabledtrue
MYSQL_WAIT_FOR_CONNECTIONSNoWhether the pool waits when all connections are busytrue
MYSQL_KEEP_ALIVE_INITIAL_DELAYNoInitial TCP keep-alive delay in milliseconds0

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
mysql_queryA

Execute a read-only SQL query (e.g., SELECT). Use this for data retrieval.

mysql_executeC

Execute a data modification SQL statement (e.g., INSERT, UPDATE, DELETE).

explain_queryA

Run EXPLAIN on a SQL query to analyze its execution plan and performance.

list_tablesA

List all base tables in the current database with row counts and comments.

list_viewsA

List all views in the current database.

describe_tableB

Show the schema/structure of one or more specific tables.

describe_indexB

Show indexes for a specific table.

list_triggersA

List all triggers in the current database.

get_current_privilegesA

Check the permissions and grants of the current database user. Useful for debugging access issues.

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

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