Skip to main content
Glama
zhengyun1008

MCP Server for MySQL

by zhengyun1008

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_DBNoLegacy single-database name
MYSQL_HOSTNoLegacy single-database host
MYSQL_PASSNoLegacy single-database password
MYSQL_PORTNoLegacy single-database port
MYSQL_USERNoLegacy single-database user
MYSQL_CONFIG_PATHNoCustom config file path for multi-database configuration

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
mysql_queryA

Run a read-only SELECT query on a MySQL database

Prompts

Interactive templates invoked by user choice

NameDescription
mysql_usage_guideGuide for querying MySQL databases

Resources

Contextual data attached and managed by the client

NameDescription
MySQL Database ConnectionsList of available MySQL database connections with access modes

TDQS

A3.6/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clearly defined purpose for running read-only SELECT queries.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'mysql_query' follows a clear and descriptive pattern.

Tool Count2/5

A single tool is too few for a MySQL server, as it severely limits functionality. The scope suggests a database server, but with only read-only queries, it lacks essential operations like INSERT, UPDATE, DELETE, or schema management.

Completeness1/5

The tool surface is severely incomplete for a MySQL server. It only supports read-only SELECT queries, missing all other CRUD operations, data manipulation, schema changes, and administrative tasks, which will cause significant agent failures.

Maintenance

ActivityInactive
ResponsivenessNo issues