Skip to main content
Glama

MCP-MySQL Server

by enemyrr

add_column

Add a new column to an existing MySQL table with specified name, type, and optional attributes like length, nullability, and default value. Simplifies schema updates in databases.

Instructions

Add a new column to existing table

Input Schema

NameRequiredDescriptionDefault
fieldYes
tableYes

Input Schema (JSON Schema)

{ "properties": { "field": { "properties": { "default": { "description": "Default value for the column (as string).", "optional": true, "type": "string" }, "length": { "optional": true, "type": "number" }, "name": { "type": "string" }, "nullable": { "optional": true, "type": "boolean" }, "type": { "type": "string" } }, "required": [ "name", "type" ], "type": "object" }, "table": { "type": "string" } }, "required": [ "table", "field" ], "type": "object" }
Install Server

Other Tools from MCP-MySQL Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/enemyrr/mcp-mysql-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server