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

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
mysql_connectC

Connect to a MySQL database

mysql_queryC

Execute a MySQL query

mysql_list_databasesB

List all available databases

mysql_list_tablesC

List tables in the current database

mysql_describe_tableB

Get table structure and schema information

mysql_disconnectB

Close the MySQL connection

mysql_setup_persistentC

Set up persistent connection with default credentials

mysql_statusB

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

TDQS

A3.5/5.0

Scored across 8 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: connection management (connect, disconnect, status, setup_persistent), metadata listing (databases, tables, describe_table), and query execution (query). The descriptions make it easy to tell them apart, with no ambiguity in their functions.

Naming Consistency5/5

All tool names follow a consistent 'mysql_verb_noun' pattern (e.g., mysql_connect, mysql_describe_table, mysql_list_databases). This predictable naming scheme makes it easy for agents to understand and navigate the tool set without confusion.

Tool Count5/5

With 8 tools, this server is well-scoped for MySQL database operations. It covers essential functions like connection handling, metadata exploration, and query execution, with each tool earning its place without feeling bloated or insufficient.

Completeness4/5

The tool set provides solid coverage for core MySQL workflows: connection lifecycle, database/table listing, schema inspection, and query execution. A minor gap is the lack of tools for more advanced operations like transaction management or user administration, but agents can work around this using the query tool.

Maintenance

ActivityInactive
ResponsivenessNo issues