MCPVault

add_connection

MCP tool from Mysql MCP Server by askdba

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

How to use it

add_connection is exposed by the Mysql MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the add_connection tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL MYSQL MCP SERVER LISTING