show_create_table
Get the CREATE TABLE statement.
How to use it
show_create_table is exposed by the Mysql MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the show_create_table tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MYSQL MCP SERVER LISTINGOther tools in Mysql MCP Server (26)
MCP only. Available when the server runs in MCP mode (stdio) with MYSQLMCPEXTENDED=1 and MYSQLMCPENABLEADDCONNECTION=1. It registers a new named MySQL connection at runtime and switches the process-wide active connection for that MCP process. There is no HTTP route to register a new DSN. REST API mo
Get database size information.
Input:
No
Yes
Get execution plan for a SELECT query. Responses include optional warnings (e.g. full table scan, filesort) when the plan suggests optimizations.
List foreign key constraints.
List all configured MySQL connections.
Returns non-system databases.
List stored functions.
List indexes on a table.
List table partitions.
List stored procedures.
List MySQL server status variables.
Input:
List triggers in a database.
List MySQL server configuration variables.
List views in a database.
Yes
Tests database connectivity and returns latency.
Input:
Returns MySQL server details.
Get table size information.
Switch to a different MySQL connection.
List vector columns in a database.
Perform similarity search on vector columns.