Dota 2 MCP Server & Discord Coach Bot

by ismaelMoreau

306 downloads
Not rated
GitHub

Description

# Dota 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 -…

About

# Dota 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…

Details

Author
ismaelMoreau
Downloads
306
Categories
Communication

- 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 for local or cloud deployment.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Dota 2 MCP Server & Discord Coach Bot
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, create a Python virtual environment, install requirements, and optionally build a Docker container. Configure Dota 2 to POST game state to the server (see note.md). Set up a Discord bot, obtain its token and a channel ID, set environment variables DISCORD_TOKEN and DISCORD_CHANNEL_ID, then run python dota_coach_bot.py. The MCP server runs on http://localhost:5000/ with MCP resources at /mcp.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "dota 2 mcp server & discord coach bot": {
            "Dota_2_MCP_Server_": {
                "command": "python3",
                "args": [
                    "-m",
                    "venv",
                    ".venv"
                ]
            }
        }
    }
}

McpServers

{
    "Dota_2_MCP_Server_": {
        "command": "python3",
        "args": [
            "-m",
            "venv",
            ".venv"
        ]
    }
}

Dota 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.md to 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 Messages and Send TTS Messages permissions - 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 endpoints - dota_coach_bot.py — Discord bot for rune timing advice - requirements.txt — Python dependencies - Dockerfile — Docker build instructions - note.md — Dota 2 GSI setup guide - .gitignore — Files and folders to ignore in git

License

MIT
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.