Development
Generate SQL migration scripts for database schema changes
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/database-migration-generator' \
-H 'Content-Type: application/json' \
-d '{"migrationType":"create_table","tableName":"Enter table name...","databaseType":"mysql","migrationName":"e.g., add_user_email_index","changes":"Enter column definitions or changes..."}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/database-migration-generator| Name | Type | Required | Description |
|---|---|---|---|
| migrationType | select | Yes | — |
| tableName | text | Yes | — |
| databaseType | select | Yes | — |
| migrationName | text | Yes | — |
| changes | textarea | Yes | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-database-migration-generator": {
"name": "database-migration-generator",
"description": "Generate SQL migration scripts for database schema changes",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=database-migration-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "database-migration-generator",
"arguments": {
"migrationType": "create_table",
"tableName": "Enter table name...",
"databaseType": "mysql",
"migrationName": "e.g., add_user_email_index",
"changes": "Enter column definitions or changes..."
}
}
}Questions or issues? Contact [email protected]
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}