mcp-mysql-server
by f4ww4z
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MYSQL_HOST | Yes | MySQL server host | |
MYSQL_USER | Yes | MySQL username | |
MYSQL_DATABASE | Yes | MySQL database name | |
MYSQL_PASSWORD | Yes | MySQL user's password |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
connect_db | Connect to MySQL database |
query | Execute a SELECT query |
execute | Execute an INSERT, UPDATE, or DELETE query |
list_tables | List all tables in the database |
describe_table | Get table structure |