RaidShadowLegendsButItsMCP
0
The project is an MCP server designed to automate Raid Shadow Legends gameplay through Tasker integration. It provides REST API control, MQTT communication, and tools for managing automation tasks within the game.
Overview
This project provides an MCP server that integrates with Tasker automation for Raid Shadow Legends. It allows you to:
- Control Raid Shadow Legends automation via MCP tools
- Set automation goals through a REST API
- Monitor game status via MQTT
- Interact with Tasker projects
Prerequisites
- Node.js 18+
- MQTT broker running on port 9900
- Tasker installed on an Android device with the Raid automation project
- The Tasker project should be configured to listen to MQTT topics
Configuration
The MCP server connects to an MQTT broker to communicate with Tasker. By default, it connects to http://localhost:9900/mqtt
. To change this, modify the MQTT_SERVER_URL
in both src/index.ts
and src/RaidShadowLegendsButItsMCP.ts
.
MCP Tools
RaidShadowLegendsControl
: Send automation commandsRaidShadowLegendsStatus
: Get current game statusRaidShadowLegendsSetGoal
: Set automation goals
MQTT Topics
commands/raid
: General commands for the gamecommands/raid/goals
: Goal settingsstatus/raid
: Status updates from the game
Tasker Integration
The Tasker project should be configured to:
- Subscribe to the MQTT topics
- Parse and execute commands
- Publish status updates back to the MQTT broker
Available Commands
raid_start
: Start the Raid Shadow Legends appclan_boss
: Navigate to and battle the Clan Bossraid_auto_toggle
: Toggle auto-battle moderaid_end
: End the current battleraid_lock_toggle
: Toggle screen lock