Skip to main content
Glama
eeantoss

mysql-mcp-server

by eeantoss

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug mode (default: false)false
TIMEOUTNoTimeout in ms (default: 60000)60000
MYSQL_HOSTNoMySQL server host (default: localhost)localhost
MYSQL_PORTNoMySQL server port (default: 3306)3306
MYSQL_USERNoMySQL user (default: root)root
MYSQL_DATABASENoDefault database name
MYSQL_PASSWORDNoMySQL password
ACQUIRE_TIMEOUTNoAcquire timeout in ms (default: 60000)60000
CONNECTION_LIMITNoConnection pool limit (default: 10)10
DOCKER_MYSQL_PORTNoDocker MySQL port
DOCKER_CONTAINER_NAMENoDocker container name for MySQL

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
database_connectC

Connect to a MySQL or PostgreSQL database

database_execute_sqlA

Execute a single SQL statement on the active database connection

database_execute_scriptB

Execute a SQL script with multiple statements on the active database connection

database_execute_batchB

Execute multiple SQL statements as a batch on the active database connection

database_get_schemaA

Get the database schema (tables, columns, indexes, foreign keys, views)

database_test_connectionB

Test the active database connection

database_disconnectB

Close the active database connection

database_detect_projectB

Detect database configuration from a project directory

database_list_environmentsA

List detected database environments for the current project

database_connect_environmentB

Connect to a specific detected database environment

database_switch_environmentB

Switch to a different detected database environment

database_list_sessionsB

List active database sessions

database_get_project_summaryB

Get summary of the currently detected project

check_node_versionB

Check Node.js version

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

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