실시간 상태, 프레임 데이터, 자동 퍼징을 사용하여 AI agent가 2D 웹 게임을 조사, 구축, 테스트 및 플레이할 수 있도록 지원합니다.
다른 이름 debuffjp/debuff, @debuffjp/mcp
- 스타
- 12
- Tools
- 22
- 다운로드, 30일
- 11,216
- 최신 버전
- 0.35.0
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- MIT
debuff MCP란?
debuff은(는) MCP server입니다. 실시간 상태, 프레임 데이터, 자동 퍼징을 사용하여 AI agent가 2D 웹 게임을 조사, 구축, 테스트 및 플레이할 수 있도록 지원합니다. 22개 도구를 제공합니다. 예: inspect_project, list_assets, typecheck.
프로젝트 README에서 생성된 요약
debuff MCP server 정보
이 server는 AI agent를 통해 2D 웹 게임을 구축하고 테스트하는 기능을 제공합니다. 개발자는 프로젝트 의존성을 조사하고, 프로젝트 자체 설정을 사용하여 타입 체크를 실행하며, 크기 보고서와 함께 프로덕션 빌드를 수행할 수 있습니다. 이 server는 라이브 게임 탭에 연결하거나 재현 가능한 테스트를 위해 프라이빗 headless browser 인스턴스를 실행하는 방식으로 로컬에서 작동합니다.
Agent는 시뮬레이션 단계를 진행하는 game_step, 키보드 또는 터치 상호작용을 시뮬레이션하는 game_input, 검증된 게임 변수를 조정하는 game_params와 같은 도구를 사용하여 게임 엔진과 상호작용할 수 있습니다. 디버깅을 위해 server는 렌더링 시간을 분석하는 game_frames와 런타임 문제의 소스 라인을 식별하는 game_errors를 제공합니다. 또한 무작위 입력을 사용하여 충돌이나 무한 루프를 찾는 퍼징 도구가 포함되어 있으며, 특정 실패 사례를 재현하기 위한 시나리오를 자동으로 생성합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
debuff MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 debuff MCP 설치
$ claude mcp add debuff -- npx -y @debuffjp/mcpCursor에 debuff MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"debuff": {
"command": "npx",
"args": [
"-y",
"@debuffjp/mcp"
]
}
}
}VS Code에 debuff MCP 설치
.vscode/mcp.json
{
"servers": {
"debuff": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@debuffjp/mcp"
]
}
}
}VS Code CLI에 debuff MCP 설치
$ code --add-mcp '{"name":"debuff","type":"stdio","command":"npx","args":["-y","@debuffjp/mcp"]}'Claude Desktop에 debuff MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"debuff": {
"command": "npx",
"args": [
"-y",
"@debuffjp/mcp"
]
}
}
}Codex에 debuff MCP 설치
$ codex mcp add debuff -- npx -y @debuffjp/mcpCodex config.toml에 debuff MCP 설치
~/.codex/config.toml
[mcp_servers.debuff] command = "npx" args = ["-y", "@debuffjp/mcp"]
Gemini CLI에 debuff MCP 설치
$ gemini mcp add -s user debuff npx -- -y @debuffjp/mcpGemini settings.json에 debuff MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"debuff": {
"command": "npx",
"args": [
"-y",
"@debuffjp/mcp"
]
}
}
}debuff MCP 도구 22
README에서 감지됨inspect_projectlist_assetstypecheckbuildrun_testsrun_scenariosfuzzgame_startgame_stepgame_pausegame_framesgame_notes
| inspect_project | — | |
| list_assets | — | |
| typecheck | — | |
| build | — | |
| run_tests | — | |
| run_scenarios | — | |
| fuzz | — | |
| game_start | — | |
| game_step | — | |
| game_pause | — | |
| game_frames | — | |
| game_notes | — |
도구 22개 모두 보기도구 수 줄이기
game_rewindgame_replaygame_inputgame_stategame_commandgame_capturegame_clipgame_errorsgame_stopreport_papercut
| game_rewind | — | |
| game_replay | — | |
| game_input | — | |
| game_state | — | |
| game_command | — | |
| game_capture | — | |
| game_clip | — | |
| game_errors | — | |
| game_stop | — | |
| report_papercut | — |
자동 검사
2026년 11월 12일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용검사되지 않음
- 파괴적인 도구에 라벨 표시됨통과
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기@debuffjp/mcp
An MCP server that lets AI agents inspect, build, test and play a debuff game. It uses the same evidence a human would want: real state, real frames, real test results.
Setup
New projects from npm create debuff include a .mcp.json, so MCP clients that read it (such as Claude Code) pick the server up automatically. For other clients:
claude mcp add debuff -- npx -y @debuffjp/mcp # Claude Code
{
"mcpServers": {
"debuff": { "command": "npx", "args": ["-y", "@debuffjp/mcp"] }
}
}
Run it from the game's folder, or pass --root <dir> (or set DEBUFF_ROOT).
As a Claude Code plugin, which also adds a skill that teaches Claude the workflow:
/plugin marketplace add debuffjp/debuff
/plugin install debuff@debuff
As a Codex plugin: codex plugin marketplace add debuffjp/debuff, then codex plugin add debuff@debuff.
For Claude Desktop, mcpb/manifest.json describes a desktop extension that asks for the game folder. Pack it from that folder with npx @anthropic-ai/mcpb pack.
Tools
| Tool | What it does |
|---|---|
inspect_project |
Dependencies, plugins and their contributions, assets, last build size |
list_assets |
Every asset with its type, size and importer, plus warnings and possibly unused ids |
typecheck |
Type-check with the project's own tsc; no browser needed. Vite doesn't type-check, so run it after edits |
build |
Production build plus size report; leaks must be empty |
run_tests |
Run the logic tests in tests/ (keiko): the real game in Node, no browser; failures carry the tick, scene and state |
run_scenarios |
Run scenarios/*.json headless; per-step results, errors, captures |
fuzz |
Play with random input; each crash, stuck state or back-and-forth loop comes with an explained error and a scenario that replays it |
game_start |
Attach to the live game, or open a private headless copy, paused (see below). Headless takes a viewport: [w, h]; reducedMotion forces it on or off |
game_step |
Advance fixed simulation steps (pausing first); returns state (quiet leaves out your inspect() data) |
game_pause |
Pause or resume a live game |
game_frames |
Recent frame breakdown: update/render ms, catch-up steps, quads, draw calls, long tasks; summary gives percentiles and the 3 slowest |
game_notes |
Moments the human flagged in the overlay, with the state at that tick |
game_rewind |
Live mode: take the human's game back (or forward) to a tick, paused, with its exact state then |
game_replay |
Save the live session up to a tick (for example a note's) as a scenario in .debuff/replays/ that reproduces it. From 0.31 it holds state checkpoints, so run_scenarios warns at the tick where the replay stops matching |
game_input |
press / release keys (and PointerRight / PointerMiddle); tap, pointer_down (with an optional kind: mouse, touch or pen), pointer_move, pointer_up; wheel (dy, dx); touch_down, touch_move, touch_up by contact id |
game_state |
Scene, tick, logical width/height, renderer, frame stats, reducedMotion, your inspect() data |
game_command |
Run a command the game registered with devTools({ commands }), with JSON args |
game_params / game_set_param |
Read and tune typed params (validated) |
game_capture |
The current frame as a PNG image; path also saves it in the project (thumbnails, store art). social: true letterboxes it into 1200×675 for X and Bluesky posts (added in 0.26) |
game_clip |
Live mode: start a rolling recording, save the last 15 s as a video in .debuff/captures/, stop. For devlogs and press kits; the human posts. Added in 0.26 |
game_errors |
Runtime errors, explained: whose problem (your code, a rejected call, a debuff bug), the source line, a hint |
game_stop |
Close the game. From 0.28, a headless game also closes after 15 idle minutes, and a call that takes over 60 s fails with game_hung |
report_papercut |
Report tooling friction in debuff, keiko, myaku, spryte or debuff.jp to papercuts.debuff.jp. Returns close matches instead of filing a duplicate; call again with hit: <id> or force: true. With hit, workaround fills the papercut's workaround when it has none (from 0.24.1). Added in 0.24 |
Tool calls that fail on setup twice in a week, or run far too long, are reported to papercuts.debuff.jp on their own, and the result says so (see debuff papercuts in the CLI README to turn it off). From 0.24.
Prompts
Workflows clients can offer as slash commands: playtest, fix-errors, tune-feel, add-mechanic, devlog-post (added in 0.26: capture a still and a clip, then draft short posts for the human to send) and explain-stutter.
Live and headless
If you have the game open under debuff dev, game_start attaches to that tab (mode live). The overlay shows an agent badge, and every pause, step and param change the agent makes appears in its activity log, where you can undo it. Type a note in the overlay ("jump feels floaty here") to flag a moment; the agent reads it, along with the game state at that tick, through game_notes. game_stop resumes your game and disconnects.
Otherwise, or with mode: "headless", the agent gets a private copy in a headless browser. Time only advances through game_step, so what it sees is reproducible, and a scenario can replay it exactly.
debuff MCP 질문
debuff MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add debuff -- npx -y @debuffjp/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
debuff MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
debuff MCP는 어떤 도구를 제공하나요?
22개 도구를 제공합니다. 예: inspect_project, list_assets, typecheck, build, run_tests.
Claude Code에서 이 server를 어떻게 실행하나요?
claude mcp add debuff -- npx -y @debuffjp/mcp 명령어를 사용하여 Claude Code에 server를 추가할 수 있습니다.
AI agent가 브라우저에서 게임을 플레이할 수 있나요?
네, agent는 브라우저 탭에서 실행 중인 라이브 게임에 연결하거나 headless browser에서 프라이빗 복사본을 실행할 수 있습니다.
퍼즈 테스트(fuzz test) 중에는 어떤 일이 일어나나요?
fuzz 도구가 무작위 입력을 사용하여 플레이하며, 충돌, 정지 상태 또는 루프가 발생하면 설명된 에러와 함께 재현 가능한 시나리오를 제공합니다.
agent가 런타임 에러를 어떻게 처리하나요?
game_errors 도구가 설명된 런타임 에러를 제공하며, 소스 라인을 식별하고 해당 문제가 코드, 거부된 호출 또는 debuff 버그 중 어디에 있는지 알려줍니다.