GachaMCP
Built as a Python game automation server that enables programmatic interaction with Gacha games through window management and action automation
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GachaMCP - Python Game Automation MCP Server
MCP Server giúp AI tương tác với Gacha Game thông qua screenshot và click automation!
Tính năng
🖼️ Chụp màn hình game - Capture cửa sổ game để AI phân tích
🖱️ Click automation - Click theo tọa độ trên cửa sổ game
🪟 Window management - Tìm và quản lý cửa sổ game
⏱️ Smart delays - Đợi và chụp lại sau mỗi hành động
🎮 Game state tracking - Theo dõi trạng thái game
Related MCP server: helix-pilot
Cài đặt
# Tạo virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# hoặc
venv\Scripts\activate # Windows
# Cài đặt dependencies
pip install -r requirements.txtSử dụng
Development Mode
uv run mcp dev server.pyClaude Desktop Integration
uv run mcp install server.py --name "GachaMCP"MCP Tools
find_game_window- Tìm cửa sổ game theo têncapture_game_screen- Chụp màn hình cửa sổ game (lưu file)click_at_position- Click tại tọa độ cụ thểwait_and_capture- Đợi và chụp lại màn hìnhget_window_info- Lấy thông tin cửa sổ gamefocus_game_window- Focus vào cửa sổ gamelist_all_windows- Liệt kê tất cả cửa sổget_last_screenshot- Lấy đường dẫn screenshot cuốilist_screenshots- Liệt kê tất cả screenshotsclear_screenshots- Xóa tất cả screenshots
Ví dụ sử dụng
AI có thể sử dụng các tools này để:
Tìm cửa sổ game:
find_game_window("Genshin Impact")Chụp màn hình:
capture_game_screen()→ Trả về đường dẫn file ảnhAI đọc ảnh từ đường dẫn để phân tích
Click vào nút:
click_at_position(x=500, y=300, description="Gacha button")Đợi và chụp lại:
wait_and_capture(delay=2.0)→ Ảnh mới
Lưu ý: Screenshots được lưu trong thư mục screenshots/ với tên file có timestamp.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Grok Imagine AI video generation
Hosted Screenshots MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server for Qwen Image 3 AI image generation
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to play Pokémon games by providing a functional interface for game interaction. It allows for seamless integration with AI clients to execute gameplay tasks and manage game states.3-
- AlicenseNot gradedqualityCmaintenanceGUI automation MCP server that enables AI agents to see and control the Windows desktop using a local Vision LLM (Ollama), supporting screenshot analysis, mouse/keyboard actions, and autonomous task execution.5MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to capture and view screenshots, supporting multiple AI tools and platforms.15 npm19MIT
- AlicenseNot gradedqualityDmaintenanceA local, dependency-free MCP server that gives AI agents controlled access to the active Windows desktop, enabling automated interaction with applications through screenshots, clicks, typing, and window management.90 npm1MIT