Skip to main content
Glama
mcp-research

mysql-mcp

by mcp-research

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTYesDatabase server hostname or IP address.
MYSQL_PORTYesDatabase server port.
MYSQL_USERYesDatabase username.
MYSQL_DATABASEYesDatabase name to connect to.
MYSQL_PASSWORDYesDatabase password.
MYSQL_READONLYNoOptional. Set to 'true' for read-only access.false

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
statusC

Check the current database connection status.

connectC

Connect to a MySQL database.

disconnectB

Close the current MySQL database connection.

queryC

Execute an SQL query on the connected database.

list_tablesB

Get a list of tables in the current database.

describe_tableA

Get the structure of a specific table.

list_databasesB

Get a list of all accessible databases on the server.

use_databaseB

Switch to a different database.

set_readonlyB

Enable or disable read-only mode

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 9 tools

Disambiguation5/5

Each tool has a distinct purpose: connection management, database listing and selection, table inspection, query execution, and read-only mode. No overlap between them.

Naming Consistency5/5

All tool names use lowercase snake_case consistently, with verb_noun patterns (e.g., list_databases, describe_table) or simple verbs (query, status). No mixing of conventions.

Tool Count5/5

9 tools is well-scoped for a database MCP server. It covers essential operations without being overwhelming or sparse.

Completeness4/5

Covers core database interaction: connection, navigation, schema inspection, query execution, and read-only mode. Minor gaps like transaction control or explicit DML tools are missing but covered by the generic query tool.

Maintenance

ActivityInactive
ResponsivenessNo issues