gameface-devtools-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gameface-devtools-mcpshow me the console logs from the game UI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
coherent-gameface-agent-plugin
A Claude Code plugin: a generic toolkit for driving a running Coherent Gameface UI.
Coherent Gameface (Cohtml) is the
HTML/CSS/JS UI engine many games embed.
This plugin ships gameface-devtools-mcp, an MCP server that lets Claude drive
any Gameface UI over a direct Chrome DevTools Protocol (CDP) connection: evaluate JavaScript,
take screenshots, inspect and drive the DOM, capture the console, and set JS breakpoints.
Skills are planned on top, see docs/ROADMAP.md.
Generic, but developed against Cities: Skylines II. The server makes no assumptions about a specific application; it works against any Gameface CDP endpoint. It is developed and verified against Cities: Skylines II's Gameface UI, which is the reference target.
Not using Claude Code? The MCP server is also published on npm as
@csmodding/gameface-devtools-mcp
and works with any MCP client (Cursor, Codex CLI, Gemini CLI, VS Code, ...).
See mcp/README.md for the tool reference and per-client install snippets.
Requirements
A Gameface application running with its CDP debug endpoint reachable (default
http://localhost:9444). Verify with:curl http://localhost:9444/json/listYou should get back a JSON array containing a
"type": "page"target. Set the host/port to match your application if it differs (see Configuration).Node 22.4+ to launch the server. No
npm installis needed: the plugin launches the server from a committed, self-contained bundle, so it works offline and stays version-locked to the plugin.
Related MCP server: js-reverse-mcp
Install
In Claude Code, add this repository as a marketplace, then install the plugin from it:
/plugin marketplace add CitiesSkylinesModding/coherent-gameface-agent-plugin
/plugin install coherent-gameface@csmoddingOr from your terminal:
claude plugin marketplace add CitiesSkylinesModding/coherent-gameface-agent-plugin
claude plugin install coherent-gameface@csmoddingOnce enabled, Claude Code autoloads the gameface MCP server from .mcp.json.
Run /mcp to confirm it connected, then ask Claude to use the game_* tools.
The full tool reference (UI tools + JS debugger tools) lives in mcp/README.md.
Configuration
All are optional, surfaced in .mcp.json:
Variable | Default | Purpose |
|
| Runtime used to launch the server. |
|
| Host of the Gameface CDP endpoint. |
|
| Port of the Gameface CDP endpoint. |
|
| HTTP discovery / WebSocket open timeout. |
|
| Per-command reply timeout. |
Development
Uses mise + bun (never npx). The repository is a bun workspace: the root package.json
carries the lint/format tooling (oxlint, oxfmt) and the lefthook git hooks, while the MCP server
lives in the mcp/ workspace package (published on npm as @csmodding/gameface-devtools-mcp).
bun install # install all workspace deps (also installs the git hooks)
mise check # type-check, lint (with safe auto-fixes), and format
mise build # rebuild mcp/dist/server.mjs (commit the result)Run mise tasks for the full list.
After changing anything under mcp/src/, run mise check, rebuild, and commit the updated
mcp/dist/server.mjs.
Troubleshooting
/mcpshows the server failed / tools error with "Cannot reach ...": the Gameface application is not running or the debug port is not reachable. Checkcurl http://localhost:9444/json/list. Usegame_statusfor a structured diagnosis.Runtime not found: ensure
node(22.4+) is on yourPATH.Read the MCP server logs: Claude Code records each server's connection attempts and captured stderr to per-project JSONL files, the fastest way to see why a launch failed (e.g. a
-32000 Connection closedfrom a bad command/path before anygame_*tool runs). They live under the Claude CLI cache, in anmcp-logs-gameface/folder keyed by the project path (separators replaced with-); newest.jsonlfirst, and eachServer stderr: ...line is what the server printed:Windows:
%LocalAppData%\claude-cli-nodejs\Cache\<project-path>\mcp-logs-gameface\macOS / Linux:
~/.cache/claude-cli-nodejs/Cache/<project-path>/mcp-logs-gameface/
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CitiesSkylinesModding/coherent-gameface-agent-plugin'
If you have feedback or need assistance with the MCP directory API, please join our Discord server