GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
MCP server for the start.gg GraphQL API: tournaments, events, entrants, sets, standings, streams
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
STARTGG_TOKEN, STARTGG_ENABLE_WRITES标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"startgg": {
"command": "npx",
"args": [
"-y",
"startgg-mcp-server"
],
"env": {
"STARTGG_TOKEN": "your-value",
"STARTGG_ENABLE_WRITES": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add startgg --env STARTGG_TOKEN=your-value --env STARTGG_ENABLE_WRITES=your-value -- npx -y startgg-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"startgg": {
"command": "npx",
"args": [
"-y",
"startgg-mcp-server"
],
"env": {
"STARTGG_TOKEN": "your-value",
"STARTGG_ENABLE_WRITES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"startgg": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"startgg-mcp-server"
],
"env": {
"STARTGG_TOKEN": "your-value",
"STARTGG_ENABLE_WRITES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
STARTGG_ENABLE_WRITES env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 tomo789 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:STARTGG_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol server for the start.gg GraphQL API. It lets MCP clients (Claude Code, Claude Desktop, and others) discover tournaments, inspect events, entrants, sets, standings, and streams for any game on start.gg using natural language.
start.gg exposes a powerful but complex GraphQL API: entrants vs participants vs players, integer set states, complexity-limited pagination, epoch timestamps. This server wraps that API in a small set of MCP tools with:
{ round, state: "COMPLETED", entrant1: { gamerTag, seed }, score, winnerEntrantId, ... } instead of raw GraphQL nestingThe server is game-agnostic. Game-specific logic (e.g. Smash upset detection) belongs in applications built on top — see examples/smash-ultimate-watcher.
Retry-After supportAUTH_ERROR, RATE_LIMITED, NOT_FOUND, INVALID_INPUT, STARTGG_GRAPHQL_ERROR, NETWORK_ERROR, INTERNAL_ERRORgraphql/ files, separate from codeTreat the token like a password. This server reads it only from the STARTGG_TOKEN environment variable.
# run without installing
npx startgg-mcp-server
npm install -g startgg-mcp-server
Requires STARTGG_TOKEN in the environment; MCP clients normally launch it for you (see the next section).
git clone https://github.com/tomo789/startgg-mcp-server.git
cd startgg-mcp-server npm install npm run build
claude mcp add startgg --env STARTGG_TOKEN=YOUR_TOKEN -- npx -y startgg-mcp-server
Running from a source checkout instead:
claude mcp add startgg --env STARTGG_TOKEN=YOUR_TOKEN -- node /path/to/startgg-mcp-server/dist/cli.js
Add to claude_desktop_config.json:
{
"mcpServers": { "startgg": { "command": "npx", "args": ["-y", "startgg-mcp-server"], "env": { "STARTGG_TOKEN": "YOUR_TOKEN" } } } }
From a source checkout, use "command": "node" and "args": ["/path/to/startgg-mcp-server/dist/cli.js"] instead.
Any MCP client that supports stdio servers works the same way: run node dist/cli.js (or the startgg-mcp-server bin once installed via npm) with STARTGG_TOKEN set.
| Tool | Purpose |
|---|---|
search_videogames | Find videogame ids by name (e.g. "Super Smash Bros. Ultimate" → 1386) |
search_tournaments | General tournament search: name, videogame, country/state, date range, upcoming/past, open registration |
get_upcoming_tournaments | Tournaments that haven't ended yet (includes in-progress), soonest first, with a days window |
get_tournaments_by_videogame | Tournaments for one videogame id (upcoming / past / all) |
| Tool | Purpose |
|---|---|
get_tournament | Details, schedule, venue, events list, configured streams |
get_tournament_events | Events (brackets) of a tournament, optionally filtered by videogame |
get_tournament_entrants | Tournament-level participants (attendees); per-event seeding lives in get_event_entrants |
get_stream_queue | Stream queue: streams (with derived Twitch URLs) and the sets assigned to each |
| Tool | Purpose |
|---|---|
get_event | Event details including phases (Pools, Top 8, ...) with phase ids |
get_event_entrants | Entrants with seed, players, DQ flag; pagination or fetchAll |
get_event_standings | Placements (use perPage: 8 for Top 8) |
get_event_sets | Normalized sets with stream; filter by state, phase, round, entrants, players, VOD; includeGames for per-game details |
get_set_games | Per-game stage / winner / character picks for one set; see coverage note |
| Tool | Purpose |
|---|---|
get_player | Player by id: gamer tag, prefix, linked user |
get_player_sets | A player's recent sets across tournaments |
| Tool | Purpose |
|---|---|
resolve_startgg_url | start.gg URL/slug → { type, tournamentId, eventId, slugs, names } |
Tournament/event tools accept either a numeric id, a slug, or a full start.gg URL. Scheme-less URLs (start.gg/tournament/...) and /event/ slugs are accepted too — you rarely need resolve_startgg_url explicitly, but it is there when you want the ids.
{
"id": 106877974, "round": "Grand Final", "roundNumber": 3, "state": "COMPLETED", "stateRaw": 3, "completedAt": "2026-08-24T07:19:34.000Z", "entrant1": { "entrantId": 24480092, "name": "LittleMacMain", "seed": 5, "players": [{ "playerId": 3655189, "gamerTag": "LittleMacMain", "prefix": "" }], "score": 2 }, "entrant2": { "...": "same shape" }, "score": { "entrant1": 2, "entrant2": 3, "displayScore": "LittleMacMain 2 - RenSuø 3" }, "winnerEntrantId": 24481002, "phase": { "id": 1994001, "name": "Bracket" }, "vodUrl": null }
Notes grounded in the live API:
roundNumber < 0 means losers bracket; round is the human-readable name-1 is start.gg's disqualification marker"preview_3430499_2_0"state names are decoded from the integer stateRaw; both are always returnedentrant1/entrant2 use a players array, so doubles/teams work unchangedget_set_games (and get_event_sets with includeGames: true) add per-game details when start.gg has them:
{
"orderNum": 1, "winnerEntrantId": 24480092, "stage": { "id": 484, "name": "Small Battlefield" }, "selections": [{ "entrantId": 24481002, "character": { "id": 1846, "name": "Kazuya" } }] }
derivedCharacters summarizes unique character names per entrant in first-appearance order across games. This is derived, not an API field.
Character and stage data only exists when the set was reported with it. In a 2026-09 sample, late rounds (Top 8 / streamed) had it on about 90% of completed sets; early pools about 5%. An empty games array means not reported, not that no games were played. Typical flow: get_event_sets (e.g. phaseIds for Top 8) → pick set ids → get_set_games. For many sets at once, get_event_sets with includeGames: true.
Things to ask an MCP client once connected:
Find upcoming Super Smash Bros. Ultimate tournaments this week.
Get the entrants and seeds for this start.gg tournament URL: https://www.start.gg/tournament/.../event/...
Show me completed sets from Top 8 of that event.
Which streams are assigned to sets at this tournament?
What were the biggest seed upsets in this event?
A standalone example application (videogame lookup → upcoming tournaments → sets → upset candidates by seed difference) lives in examples/smash-ultimate-watcher.
| Variable | Required | Default | Purpose |
|---|---|---|---|
STARTGG_TOKEN | yes | — | start.gg API token |
STARTGG_ENABLE_WRITES | no | false | Reserved. No write tools exist yet; the flag only logs a notice |
STARTGG_RATE_LIMIT | no | 75 | Requests per 60s window (hard-capped at 80) |
STARTGG_TIMEOUT_MS | no | 30000 | Per-request HTTP timeout |
STARTGG_CACHE | no | on | Set off to disable the in-memory cache |
The API endpoint is deliberately not configurable through the environment: the token is only ever sent to api.start.gg. When using the client as a library (tests, tooling), inject apiUrl/fetchFn via the StartggClient constructor.
Out-of-range or non-numeric values for STARTGG_RATE_LIMIT / STARTGG_TIMEOUT_MS fall back to the default and log a warning on stderr.
Without STARTGG_TOKEN the server still starts and lists tools, but every call returns a clear AUTH_ERROR explaining how to fix it.
api.start.gg, and never included in tool output, logs, or error messages.env files are git-ignored; use .env.example as a templatestart.gg allows 80 requests per 60 seconds and at most 1000 objects per request. This server:
429 (honoring Retry-After) and transient 5xx errors with exponential backoff, at most 3 retries — GraphQL errors are never retriedperPage per tool so responses stay under the 1000-object complexity limit (sets are expensive: ~26+ objects each, hence perPage <= 30)fetchAll at 5 pages per tool (output is meant for an LLM context, so it stays around 100 KB of compact JSON) and reports truncated: true when it stops earlynpm run dev # run from source (tsx)
npm run build # compile to dist/ npm run
只显示了开头部分;其余内容请在仓库中阅读