What does MCP MySQL Server do?
It is a Spring AI based MCP server that enables AI models to execute arbitrary SQL on configured MySQL databases.
@JamesSmith888
Basic information
A Spring AI-based MCP capable of executing any SQL query. 一个基于 Spring AI 的MCP服务,可执行任意 SQL。
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-mysql-server": {
"command": "/Users/xin.y/IdeaProjects/mcp-mysql-server/mvnw",
"args": [
"-q",
"-f",
"/Users/xin.y/IdeaProjects/mcp-mysql-server/pom.xml",
"spring-boot:run"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MCP MySQL Server is a Spring AI based MCP (Model Context Protocol) server that can execute arbitrary SQL queries on MySQL databases. It supports multiple datasources, dynamic switching, Groovy script extensions, and SQL security controls. It is intended for developers integrating AI models with MySQL databases.
Configure the MCP server in JSON by either using Maven Wrapper (mvnw spring-boot:run) or running a packaged JAR (java -jar ...). Supply the -Dloader.path argument to enable extended Groovy features. Then set up datasources in datasource.yml, marking one as default with default: true.
It is a Spring AI based MCP server that enables AI models to execute arbitrary SQL on configured MySQL databases.
Edit `mcp-mysql-server/src/main/resources/datasource.yml` and specify the JDBC URL, username, password, and optionally set one datasource as `default: true`.
JDK 21+ and Maven 3.6+ are required.
No, it is MySQL specific. For other databases, please see the related [mcp-db-server](https://github.com/JamesSmith888/mcp-db-server) project.
Use the `-Dloader.path` argument when starting via JAR to point to a directory containing Groovy scripts.
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently

Model Context Protocol Servers
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
Comments