Dota 2 MCP Server & Discord Coach Bot
LocalAbout Dota 2 MCP Server & Discord Coach Bot
A Dota 2 GSI MCP server paired with a Discord bot for rune timing advice. It receives live game state and announces rune spawns in a configured channel, with optional TTS.
Key features
- 01Live Dota 2 GSI data
- 02MCP resources and HTTP endpoints
- 03Discord rune spawn announcements
- 04Text-to-speech support
- 05Docker deployment
Use cases
- 01Inspect live game state through MCP
- 02Track rune spawn timing in Discord
- 03Hear rune announcements via TTS
MCP support
The server receives live Dota 2 GSI data and exposes it to MCP clients as resources, alongside HTTP endpoints.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEDota 2 MCP Server & Discord Coach Bot
This project provides a Dota 2 Game State Integration (GSI) MCP server and a Discord bot that coaches you with real-time rune spawn advice.
Features
- Receives live Dota 2 GSI data and exposes it as MCP resources and HTTP endpoints
- Discord bot announces rune spawn times in your channel (with TTS support)
- Dockerized and ready for local or cloud deployment
Installation & Setup
1. Clone the Repository
git clone <your-repo-url>
cd dota mcp
2. Create a Python Virtual Environment
python3 -m venv .venv
source .venv/bin/activate
3. Install Requirements
pip install -r requirements.txt
4. (Optional) Build & Run with Docker
docker build -t dota2gsi-mcp .
docker run --name dota2gsi-mcp-server -p 5000:5000 -v "$(pwd):/app" --restart unless-stopped dota2gsi-mcp
5. Set Up Dota 2 GSI
- Follow the instructions in
note.mdto configure Dota 2 to POST game state to your server.
6. Set Up the Discord Bot
- Create a bot in the Discord Developer Portal
- Copy your bot token and invite the bot to your server with the
Send MessagesandSend TTS Messagespermissions - Get your channel ID (right-click channel > Copy ID)
- Set environment variables:
export DISCORD_TOKEN=your-bot-token
export DISCORD_CHANNEL_ID=your-channel-id
- Run the bot:
python dota_coach_bot.py
Usage
- The MCP server will expose endpoints at
http://localhost:5000/and MCP resources at/mcp - The Discord bot will announce rune spawn times in your channel
Project Structure
dota2gsi_mcp_server.py— MCP server and FastAPI endpointsdota_coach_bot.py— Discord bot for rune timing advicerequirements.txt— Python dependenciesDockerfile— Docker build instructionsnote.md— Dota 2 GSI setup guide.gitignore— Files and folders to ignore in git
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.