connect_db
Establish a connection to a MySQL database using a URL or configuration parameters. Integrate database interactions into workflows via the MCP MySQL Server's standardized interface.
Instructions
Connect to MySQL database using URL or config
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | ||
host | No | ||
password | No | ||
url | No | Database URL (mysql://user:pass@host:port/db) | |
user | No | ||
workspace | No | Project workspace path |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"optional": true,
"type": "string"
},
"host": {
"optional": true,
"type": "string"
},
"password": {
"optional": true,
"type": "string"
},
"url": {
"description": "Database URL (mysql://user:pass@host:port/db)",
"optional": true,
"type": "string"
},
"user": {
"optional": true,
"type": "string"
},
"workspace": {
"description": "Project workspace path",
"optional": true,
"type": "string"
}
},
"type": "object"
}