MCP Server for MySQL
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_DB | No | Legacy single-database name | |
| MYSQL_HOST | No | Legacy single-database host | |
| MYSQL_PASS | No | Legacy single-database password | |
| MYSQL_PORT | No | Legacy single-database port | |
| MYSQL_USER | No | Legacy single-database user | |
| MYSQL_CONFIG_PATH | No | Custom 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
| Name | Description |
|---|---|
| mysql_queryA | Run a read-only SELECT query on a MySQL database |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| mysql_usage_guide | Guide for querying MySQL databases |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| MySQL Database Connections | List of available MySQL database connections with access modes |
TDQS
Scored across 1 tool
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.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'mysql_query' follows a clear and descriptive pattern.
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.
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.