OpenDota MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENDOTA_API_KEY | No | Optional OpenDota API key. | |
| OPENDOTA_RETRIES | No | Number of additional GET attempts. Defaults to 2. | 2 |
| OPENDOTA_BASE_URL | No | Trusted OpenDota API base URL. Defaults to https://api.opendota.com/api. | https://api.opendota.com/api |
| OPENDOTA_TIMEOUT_MS | No | Per-attempt timeout in milliseconds. Defaults to 30000. | 30000 |
| OPENDOTA_INTERVAL_MS | No | Interval per rate-limit budget unit in one process, in milliseconds. Defaults to 1100. | 1100 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
OpenDota: начните с opendota_find_endpoints. Ключ не обязателен. SteamID64 передавайте строкой в opendota_account_id. GET читает данные; POST явно создаёт задание разбора или обновления игрока.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| opendota_api_callA | Вызвать OpenDota API. По умолчанию GET. Путь и параметры найдите через opendota_find_endpoints / opendota_endpoint_info. POST поддерживает /request/{match_id} (10 единиц лимита) и /players/{account_id}/refresh. GET /request/{jobId} проверяет ID задания, не матча. Игроки используют Steam32 account_id. Для больших ответов выбирайте fields и query limit/project. |
| opendota_find_endpointsA | Найти методы в локальном официальном справочнике OpenDota: путь, описание, теги. Пустой query показывает все. |
| opendota_endpoint_infoC | Параметры метода OpenDota. Можно передать шаблон /players/{account_id}/matches или /players/1/matches. |
| opendota_account_idA | Преобразовать SteamID64 (строка без потери точности) или Steam32 в account_id OpenDota. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
The tools have mostly distinct roles: discovery (find_endpoints), endpoint metadata (endpoint_info), execution (api_call), and Steam ID normalization (account_id). There is minor overlap between find_endpoints and endpoint_info, but their descriptions make the search-vs-detail distinction reasonably clear.
All names share the opendota_ prefix and use snake_case, which makes them readable as a set. However, the suffixes mix noun phrases (api_call, endpoint_info, account_id) with verb_noun (find_endpoints), so the pattern is not fully consistent.
Four tools is well-scoped for a generic OpenDota API wrapper: one discovery tool, one metadata tool, one execution tool, and one ID conversion helper. The generic api_call design avoids an endpoint-per-operation explosion while keeping each tool purposeful.
The set covers the full generic API lifecycle: find endpoints, inspect parameters, call them (GET and supported POST), and normalize player IDs. It also provides guidance for large responses, so there are no obvious dead ends for the stated wrapper purpose.