Mysql MCP Server
UnclaimedMySQL Server implementation for Model Context Protocol (MCP) written in Go.
Install
mysql-mcp-serverSet up this server
More in Databases
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
24 of 24 tools
Documented tools (24)
From project documentation. A server handshake does not verify each tool’s description or behavior.
add_connection
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
database_size
Get database size information.
describe_table
Input:
explain_query
Get execution plan for a SELECT query. Responses include optional warnings (e.g. full table scan, filesort) when the plan suggests optimizations.
foreign_keys
List foreign key constraints.
list_connections
List all configured MySQL connections.
list_databases
Returns non-system databases.
list_functions
List stored functions.
list_indexes
List indexes on a table.
list_partitions
List table partitions.
list_procedures
List stored procedures.
list_status
List MySQL server status variables.
list_tables
Input:
list_triggers
List triggers in a database.
list_variables
List MySQL server configuration variables.
list_views
List views in a database.
ping
Tests database connectivity and returns latency.
run_query
Input:
server_info
Returns MySQL server details.
show_create_table
Get the CREATE TABLE statement.
table_size
Get table size information.
use_connection
Switch to a different MySQL connection.
vector_info
List vector columns in a database.
vector_search
Perform similarity search on vector columns.
Tool change history
FAQ
Questions about Mysql MCP Server
- How do I connect Mysql MCP Server to Claude?
- The listing records `mysql-mcp-server` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Desktop, Claude Code, Cursor as compatible clients.
- Is Mysql MCP Server free?
- The listed licence is Apache-2.0. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Mysql MCP Server do?
- Mysql MCP Server documents 24 tools to the agent, including add_connection, database_size, describe_table. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.