Cover image
Try Now
2025-03-18

MySQL MCP(模型,控制器,演示者)服务器使用Docker实现

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

MySQL MCP Server Docker

このプロジェクトは、MinecraftのMCPサーバーをDocker化し、MySQLと連携させたものです。

必要条件

  • Docker
  • Docker Compose

セットアップ

  1. リポジトリをクローンします:
git clone [your-repository-url]
cd [repository-name]
  1. Dockerイメージをビルドし、コンテナを起動します:
docker-compose up -d

環境変数

以下の環境変数を必要に応じて変更できます:

  • MYSQL_HOST: MySQLサーバーのホスト名
  • MYSQL_PORT: MySQLサーバーのポート
  • MYSQL_USER: MySQLユーザー名
  • MYSQL_PASSWORD: MySQLパスワード
  • MYSQL_DATABASE: 使用するデータベース名

Docker Hubへのプッシュ

  1. Docker Hubにログインします:
docker login
  1. イメージをビルドします:
docker build -t [your-dockerhub-username]/mysql-mcp-server:latest .
  1. イメージをプッシュします:
docker push [your-dockerhub-username]/mysql-mcp-server:latest

使用方法

  1. Minecraftクライアントで接続する際は、localhost:25565に接続してください。

  2. MySQLデータベースには自動的に必要なテーブルが作成されます。

注意事項

  • 本番環境では、必ずパスワードを変更してください。
  • データベースのバックアップを定期的に行うことをお勧めします。

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    3 (1)
    Avatar
    user_yAjUDuKP
    2025-04-15

    As a dedicated MCP user, I absolutely love Github! It's an essential platform for developers, offering seamless collaboration and version control. The intuitive interface and robust features have significantly improved my workflow. I highly recommend it to anyone looking to streamline their coding projects. Check it out at https://mcp.so/server/github/github.com.