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.

コメント

「データベース」の他のコンテンツ