What runtime dependencies are required?
Java 17+ and a running MySQL server accessible via the configured environment variables.

@6000fish
基本信息
Java 生态的 MCP 基础设施,包含 SDK + 常用 Server 实现
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mysql": {
"type": "stdio",
"command": "java",
"args": [
"-jar",
"/absolute/path/to/mcp-java/mcp-server-collection/mcp-server-mysql/target/mcp-server-mysql-0.1.1.jar"
],
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_DATABASE": "mcp_demo",
"MYSQL_USERNAME": "root",
"MYSQL_PASSWORD": "your_password"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Mysql Mcp Server For Java is a ready-to-run MySQL database server implementation for the Model Context Protocol (MCP), built with the MCP Java SDK. It allows MCP clients (e.g., Claude Code, Codex) to connect to a MySQL database and perform SQL operations through natural language.
Build the jar with mvn package -pl mcp-server-collection/mcp-server-mysql -am -DskipTests. Then configure your MCP client’s mcpServers entry with "type": "stdio", the java command pointing to the generated jar, and environment variables MYSQL_HOST, MYSQL_PORT, MYSQL_DATABASE, MYSQL_USERNAME, MYSQL_PASSWORD. Restart the client and the server tools become available.
Java 17+ and a running MySQL server accessible via the configured environment variables.
Credentials are passed through environment variables (`MYSQL_USERNAME`, `MYSQL_PASSWORD`) at configuration time. No secrets are stored in the jar.
Data remains in the MySQL database. The server only sends SQL queries and receives results; it does not store any data locally.
Only stdio transport is supported. The server communicates over standard input/output, suitable for local MCP clients.
It has been verified with Claude Code and Codex. Other clients that follow the standard stdio JSON-RPC MCP protocol should work with the documented configuration.
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

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

Model Context Protocol Servers
评论