glitchless-mcp

中文文档
0.14.0发布于 2026/11/03MITES Module

Coding agents can build a game. They can't see anyone play it. Glitchless lets them. The MCP server for Glitchless, game observability for coding agents: Claude Code, Codex, Cursor and others read real players' stutters, crashes, custom metrics and ranked

原始使用文档
文档目录6 节
  1. Sign in to a workspace (Glitchless Cloud)
  2. Serve it over HTTP yourself
  3. Settings
  4. Add it to your agent
  5. Tools
  6. License

glitchless-mcp

The Glitchless MCP server. It lets any coding agent (Claude Code, Codex, Cursor or another MCP client) read how your game runs for real players, from a Glitchless server: ranked findings, frame-time breakdowns, errors, level funnels, death hotspots and version comparisons. It can also run playtest bots before and after a change, to check a fix.

It's a stdio server. Run it with npx, no install needed:

npx -y glitchless-mcp

Apps that connect to a URL instead of starting a process (claude.ai, ChatGPT, Claude Code's HTTP servers) use Glitchless Cloud's hosted copy at https://api.glitchless.gg/mcp and sign in with OAuth: see Glitchless by URL. It has the same tools, less the ones that act on your own computer.

Sign in to a workspace (Glitchless Cloud)

npx -y glitchless-mcp login

It prints a link and a code; you approve the code in the Glitchless dashboard, and it saves a workspace key in ~/.config/glitchless/credentials.json (readable only by you). From then on the server reaches every game in that workspace: glitchless_list_games lists them, glitchless_create_game makes one and returns its client token, and every tool takes game (a name or id). The key acts as you, with your role in the workspace, and never deletes data or touches billing or people. npx -y glitchless-mcp whoami shows where you're signed in, logout deletes the saved key, and Settings → Keys & access in the dashboard lists and revokes keys. An agent can also sign in from inside a chat with the glitchless_sign_in tool: it shows the link and code, and the running server switches over once you approve.

Serve it over HTTP yourself

npx -y glitchless-mcp serve [--port 3001] [--host 127.0.0.1]

The tools that work from a server (all but sign-in, playtests and the Steam Deck) at http://127.0.0.1:3001/mcp, over Streamable HTTP, for clients of the 2026-07-28 protocol and older ones alike. It reads with the same settings as the stdio server (below), for a self-hosted server or a signed-in workspace. It answers this computer only, and checks Host and Origin so web pages can't reach it; to listen on another address, set GLITCHLESS_MCP_TOKEN and have clients send it as Authorization: Bearer.

Settings

VariableWhat
GLITCHLESS_URLYour Glitchless server. Default: the signed-in workspace's, else http://localhost:7777
GLITCHLESS_API_KEYA key, if the server needs one: a workspace key (gl_ws_…) for every game, or a secret key (gl_sk_…) for one. Overrides a sign-in. Keep it out of git and out of the game
GLITCHLESS_GAMEWith a workspace key, the game to use when a call doesn't name one. Optional
GLITCHLESS_SERVICEThe service to use when a call doesn't name one. Optional

Add it to your agent

Claude Code:

claude mcp add glitchless -e GLITCHLESS_URL=http://localhost:7777 -e GLITCHLESS_API_KEY=gl_sk_… -- npx -y glitchless-mcp

Codex, in ~/.codex/config.toml:

[mcp_servers.glitchless]
command = "npx"
args = ["-y", "glitchless-mcp"]
env = { GLITCHLESS_URL = "http://localhost:7777", GLITCHLESS_API_KEY = "gl_sk_…" }

Cursor, in .cursor/mcp.json (add the file to .gitignore if it holds the key):

{
  "mcpServers": {
    "glitchless": {
      "command": "npx",
      "args": ["-y", "glitchless-mcp"],
      "env": { "GLITCHLESS_URL": "http://localhost:7777", "GLITCHLESS_API_KEY": "gl_sk_…" }
    }
  }
}

Any other MCP client: the command is npx, the arguments are -y glitchless-mcp, and the settings above go in its environment.

Tools

ToolWhat it answers
glitchless_list_gamesWhich games report to the server, with their versions and environments; signed in to a workspace, every game in it with its client token
glitchless_sign_inConnect to a Glitchless Cloud workspace: a link and a code for the person to approve
glitchless_create_gameA new game in the workspace, with its client token and intake URL; demo: true makes the demo game (a week of sample play)
glitchless_share_linksA read-only link to one board page, for a dev log, Discord or a game's "Live stats" link (page); lists them, and revokes one (revoke)
glitchless_triageThe headline numbers (sessions, players, crash-free sessions, frame time, rage quits), then ranked findings: stutter per level and what it correlates with, leaks, top errors, difficulty spikes. Start here
glitchless_mark_knownMark a finding the game's owner accepts as known, so the weekly summary stops listing it (triage shows it last, with the note); clear: true removes the mark
glitchless_resolve_errorResolve an error issue the game's owner fixed or accepts: hidden from the Errors page, triage and the weekly summary until it fires again in a newer version (any_version: any); clear: true unresolves it
glitchless_alertsA game's alerts: where they go, which rules are on, the weekly summary, the env, and the last sends; glitchless_set_alerts turns rules, the weekly summary and email on or off, sets the env, removes the webhook and sends a test (a webhook URL is added in Settings → Alerts)
glitchless_performanceFrame time per level, with draw calls, geometry counts and game gauges
glitchless_get_errorOne error issue, with its stack and the gameplay before it
glitchless_player_funnelPer level: starts, completions, deaths and their causes, disconnects, rage quits; split by what describes the attempt (tier, party size, class), runs per level, and retention; with hotspots, where players die on a level, clustered in world coordinates
glitchless_eventsThe game's own events (whatever it sends with track, and the streams it counts with count): counts, attribute breakdowns, rates, distributions and funnels, and the session properties it sets
glitchless_dashboardThe game's dashboard: its pages, and one board's panels with their numbers
glitchless_set_dashboardSave the game's pages: boards of panels in its own words, and the built-in views it keeps. Needs a key with the dashboard scope
glitchless_compare_versionsTwo or more versions side by side, in the game's own stats first, to confirm a fix with real players
glitchless_sessionOne play session in detail, with its whole event timeline
glitchless_bug_reportsBug reports players sent from inside the game: their notes, levels, positions and sessions, and one report's screenshot when asked
glitchless_storeFor a game connected to a store (Glitchless Cloud: Steam, Google Play, the App Store): what players wrote there, by store, build or version, sentiment, topic (stutter, lag, fps, freeze, crash), device and, on Steam, Steam Deck, each build with the frame-time p95 and crash-free sessions measured on it; with show: "vitals", what Google Play (slow rendering, crash and ANR rates, the slowest devices and GPUs) or the App Store (hang rate, launch time, animation hitches, hang signatures) measured of each version, next to what Glitchless measured, and where the two disagree
glitchless_revenueFor a game connected to RevenueCat or to its own Stripe account (Glitchless Cloud; source picks one, else both): its real revenue by day and revenue per player measured. RevenueCat's (production purchases only): installs (new customers) and active users, MRR, active subscriptions and trials, and revenue by version where RevenueCat splits it. Stripe's: refunds, disputes, fees and net, new paying customers, revenue by product, and by version and platform for purchases the game tied to a session. All next to the sessions, players and new players Glitchless measured and what the game's own purchase events add up to
glitchless_matchA multiplayer game's matches (the worst by lag or disconnects on request), or one match from every side, 30 seconds at a time: each player's ping, frame time and outcome, the server's ticks, and whether the whole lobby lagged at once (the server) or one player did (their connection)
glitchless_networkPing, lag (play over 150 ms), packet loss and disconnects by level, version, platform, kind of connection and region, with the worst matches and the network findings
glitchless_serversA game's dedicated servers in server mode: servers running now and their players, tick time against its budget by players connected, map and version, crashes with the matches they ended, and memory that climbs. Every other tool reads them with service <game>.server
glitchless_playtestAutoplay bots play the game and compare with a saved baseline (glitchless-playtest; needs Playwright in the game project)
glitchless_deckBuild the game, send it to the paired Steam Deck, add it to the Deck's library and optionally start it (glitchless-deck; pair once with npx glitchless-deck pair); with measure: true, measure a Unity, Godot or Unreal build there and compare it with a saved run

The reads take hours, version, env (e.g. prod), session_type (user for players only, tester for people on TestFlight and other test builds, synthetic for bots, playtests and store test devices, all) and props, the session properties the game sets ({ rank: "diamond" }, or a list of values). Unless env or session_type is given, findings read the production sessions of players and say so; the other numbers count every session in the window.

To let the agent drive the running game as well (measure frame times, inspect the scene, load a level), add the WebMCP server beside this one: npx -y @jason.today/webmcp@latest --mcp.

License

MIT

版本与发布记录

glitchless-mcp 共发布 20 个版本,首次发布于 2026/10/21;过去 12 个月发布了 20 个版本。

版本发布日期距今
0.14.0latest2026/11/03今天
0.13.02026/11/03今天
0.12.02026/11/031 天前
0.11.02026/10/314 天前
0.10.22026/10/278 天前
0.10.12026/10/278 天前

关于 glitchless-mcp 的常见问题

glitchless-mcp 是什么?

编码代理可以构建游戏。他们不能看到任何人玩它。无故障让他们。MCP服务器用于Glitchless,游戏可观察性用于编码代理:Claude Code, Codex, Cursor等读取真实玩家的口吃,崩溃,自定义参数和排名

如何安装 glitchless-mcp?

在项目目录运行 npm install glitchless-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 glitchless-mcp,可以用 npx glitchless-mcp 直接运行。

glitchless-mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/glitchless-mcp 是否存在。

glitchless-mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

glitchless-mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

glitchless-mcp 可以商用吗?

glitchless-mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

glitchless-mcp 还在维护吗?

最新版本 0.14.0 发布于 2026/11/03(今天);至今共发布 20 个版本,其中过去 12 个月发布了 20 个;首次发布于 2026/10/21。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。