Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MYSQL_HOST | No | MySQL server hostname | localhost |
MYSQL_PORT | No | MySQL server port | 3306 |
MYSQL_USER | No | MySQL username | mcp101 |
MYSQL_DATABASE | No | MySQL database name | mcpdb |
MYSQL_PASSWORD | No | MySQL password | 123qwe |
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 |
---|---|
run_sql_query | Executes a read-only SQL query (SELECT statements only) against the MySQL database. |
create_table | Creates a new table in the MySQL database. |
insert_data | Inserts data into a table in the MySQL database. |
update_data | Updates data in a table in the MySQL database. |
delete_data | Deletes data from a table in the MySQL database. |
execute_sql | Executes any non-SELECT SQL statement (e.g., ALTER TABLE, DROP, etc.) |