Skip to main content
Glama
mysql-mcp-ddz

mysql-mcp-ddz

by fanzhenddz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_DBYes数据库名称(必填)
MYSQL_HOSTNo数据库主机127.0.0.1
MYSQL_PORTNo数据库端口3306
MYSQL_USERNo数据库用户root
MYSQL_PASSWORDNo数据库密码

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
connect_dbC

Connect to MySQL database

queryB

Execute a SELECT query

executeB

Execute an INSERT, UPDATE, or DELETE query

list_tablesA

List all tables in the database

describe_tableB

Get table structure

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 5 tools

Disambiguation4/5

query and execute are the closest pair, but their descriptions clearly split read (SELECT) from write (INSERT/UPDATE/DELETE) operations, making selection straightforward. list_tables and describe_table both introspect schema but target different granularity (table inventory vs column structure). connect_db is distinct as a session setup step.

Naming Consistency3/5

Three tools follow a verb_noun pattern (connect_db, list_tables, describe_table) while query and execute are bare verbs with no object, creating a mixed convention. The names are still readable and guessable, but not a predictable pattern throughout.

Tool Count4/5

Five tools is a tight, well-scoped surface for a database access server — each tool maps to a real distinct operation with no filler. It is on the lean side (no schema/DDL or transaction tooling), but nothing is redundant.

Completeness3/5

Core DML is covered (SELECT via query, writes via execute) plus basic schema discovery, but there are notable gaps: no DDL (create/alter/drop table), no index or SHOW/EXPLAIN inspection, no transaction control, and no explicit disconnect/connection management. Agents needing schema changes or multi-statement transactions will hit dead ends.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues