longsizhuo/mc-chat-bot/deploy-mcbot

Claude Code and agent skill by longsizhuo/mc-chat-bot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy and configure MCBot, a Minecraft AI chat bot with RCON abilities. Use when the user wants to set up MCBot on a Minecraft server, configure AI providers (DeepSeek/OpenAI/Claude/Ollama), enable RCON, manage the bot service, or troubleshoot MCBot issues.

Install

npx vskill@latest install longsizhuo/mc-chat-bot/deploy-mcbot

SKILL.md

Deploy MCBot

MCBot is a Minecraft AI chat bot that monitors server logs and responds to players via RCON. It supports multiple AI providers and can execute in-game commands (give items, teleport, change weather, etc.).

Prerequisites

Before deploying, ensure:

  1. A Minecraft Java Edition server is running
  2. Python 3.10+ is installed
  3. mcrcon CLI is installed (see install guide)

Step-by-step deployment

1. Clone and install
bash
git clone https://github.com/longsizhuo/mc-chat-bot.git
cd mc-chat-bot
pip install -r requirements.txt
2. Enable RCON on the Minecraft server

Edit server.properties in the Minecraft server directory:

properties
enable-rcon=true
rcon.port=25575
rcon.password=<generate-a-secure-password>

Then restart the Minecraft server.

3. Create config.yml
bash
cp config.example.yml config.yml

Edit config.yml with the correct values:

  • server_dir: absolute path to the Minecraft server directory
  • ai.provider: one of deepseek, openai, anthropic, ollama, custom
  • ai.api_key: the API key for the chosen provider (not needed for ollama)
  • rcon.password: must match server.properties
  • bot.name: the display name in chat
  • bot.language: zh for Chinese, en for English

See references/CONFIG.md for all configuration options.

4. Test
bash
python run.py -c config.yml

Verify the bot starts without errors. Join the Minecraft server and type something in chat — the bot should respond.

5. Run as a systemd service (optional)
bash
sudo tee /etc/systemd/system/mcbot.service > /dev/null << EOF
[Unit]
Description=MCBot - Minecraft AI Chat Bot
After=network.target
[Service]
Type=simple
User=$(whoami)
WorkingDirectory=$(pwd)
ExecStart=$(which python3) $(pwd)/run.py -c $(pwd)/config.yml
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now mcbot.service

Troubleshooting

  • "mcrcon not found": Install mcrcon, see references/INSTALL_MCRCON.md
  • "RCON error: Connection refused": Check that RCON is enabled in server.properties and the server is restarted
  • "AI API error": Verify api_key and base_url in config.yml. For Ollama, ensure Ollama is running locally
  • Bot not responding: Check that server_dir and log_file in config.yml point to the correct log file
  • Bot responds but commands don't work: The player name in game must match exactly (case-sensitive)

AI Provider quick reference

Providerproviderapi_keyDefault model
DeepSeekdeepseekRequireddeepseek-chat
OpenAIopenaiRequiredgpt-4o-mini
AnthropicanthropicRequiredclaude-sonnet-4-20250514
OllamaollamaNot neededllama3
CustomcustomDependsMust specify model and base_url

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/longsizhuo/mc-chat-bot/deploy-mcbot/badge)](https://verified-skill.com/skills/longsizhuo/mc-chat-bot/deploy-mcbot)

Something wrong with this skill or its page? Tell us.