MCP.so
登录

MySQL MCP Server Docker

@RyosukeTanaka

关于 MySQL MCP Server Docker

MySQL MCP (Model, Controller, Presenter) server implementation using Docker

基本信息

分类

数据库

运行时

dockerfile

传输方式

stdio

发布者

RyosukeTanaka

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-mysql-ryosuketanaka": {
      "command": "docker",
      "args": [
        "login"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MySQL MCP Server Docker?

MySQL MCP Server Docker is a Docker‑compatible container that runs a Minecraft MCP (Mod Coder Pack) server integrated with a MySQL database. It automatically creates the required database tables, making it easy to deploy a persistent Minecraft server with a relational database backend.

How to use MySQL MCP Server Docker?

Clone the repository and configure the MySQL connection by setting the environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE). Then build and start the container with docker-compose up -d. Minecraft clients can connect to localhost:25565.

Key features of MySQL MCP Server Docker

  • Fully containerized using Docker and Docker Compose
  • Integrated with MySQL for persistent data storage
  • Automatically creates necessary database tables
  • Configurable via environment variables for MySQL connection details
  • Easy Minecraft client access on default port 25565

Use cases of MySQL MCP Server Docker

  • Quickly deploy a Minecraft server with a MySQL‑backed inventory/world database
  • Run a multiplayer Minecraft session with auto‑generated table schema
  • Isolate the Minecraft server in a container for clean deployment and updates

FAQ from MySQL MCP Server Docker

What are the system requirements?

Docker and Docker Compose must be installed on the host machine.

How do I configure the MySQL connection?

Set the environment variables MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE before starting the container.

Is the default configuration safe for production?

No. You must change the default MySQL password and regularly back up the database for production use.

How do clients connect to the server?

Minecraft clients should connect to localhost:25565 (the default Minecraft port).

How can I build and push the image to Docker Hub?

Use docker build with your Docker Hub username and tag, then docker push to upload the image.

评论

数据库 分类下的更多 MCP 服务器