UNPKG

@rolandohuber/mysql-mcp-server

Version:

A comprehensive MCP server for MySQL database operations with 16 tools, multi-transport support, and intelligent test data generation

24 lines 732 B
export const describeTableSchema = { name: 'mysql_describeTable', description: 'Gets the schema of a specific table including columns, types, and constraints', inputSchema: { type: 'object', properties: { table: { type: 'string', description: 'Name of the table to describe', }, }, required: ['table'], }, }; export async function describeTableHandler(mysqlService, args) { try { const schema = await mysqlService.describeTable(args.table); return schema; } catch (error) { throw new Error(`Failed to describe table ${args.table}: ${error}`); } } //# sourceMappingURL=describeTable.js.map