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

Project documentation lists add_connection for the Mysql MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Mysql MCP Server

$mysql-mcp-server
FULL MYSQL MCP SERVER LISTING