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
基本情報
A Spring AI-based MCP capable of executing any SQL query. 一个基于 Spring AI 的MCP服务,可执行任意 SQL。
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
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.

Model Context Protocol Servers
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
コメント