{"_id":"@csmodding/gameface-devtools-mcp","_rev":"13-3f17fe32144f4b73798800c6ae20b9ef","name":"@csmodding/gameface-devtools-mcp","dist-tags":{"latest":"1.3.1"},"versions":{"0.1.0":{"name":"@csmodding/gameface-devtools-mcp","version":"0.1.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@0.1.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/coherent-gameface-agent-plugin","bugs":{"url":"https://github.com/CitiesSkylinesModding/coherent-gameface-agent-plugin/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"27634b727c9ec1f87cb4091be70d32c39eb4b7ac","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-0.1.0.tgz","fileCount":4,"integrity":"sha512-XghS01VHNsryTWgy1/ouAoy3ZR1V4UPzNtKqMWcB3kDjhpt1IBRozRWzL6QG/EifViqf1G8pJHXOw3TjSA1xKw==","signatures":[{"sig":"MEUCICwxVhIuHKtRLQonp0Gr4X79fhrpn1iz6KXs/Jv2Sbm9AiEAokOVy2etWN5gbs2y3eQ2IAC67X+Bqc1Iwi4Ma2voYSg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1120718},"type":"module","engines":{"node":">=22.4"},"gitHead":"1a580e4b1f95faad745041866195df81b0e90409","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/coherent-gameface-agent-plugin.git","type":"git","directory":"mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_0.1.0_1784019198626_0.6368245827115508","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@csmodding/gameface-devtools-mcp","version":"0.2.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@0.2.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"9377a5da25b76bb1a63f8a64c979e66d88fbb5f6","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-0.2.0.tgz","fileCount":4,"integrity":"sha512-8jGpGZzuJA2fFn2xd3vR8zG6HBj8UARjCa2/MLKbpAdf4A/JwOaTA9DXb80IVfb2gMKl1ba/jxfJTS/nPHSuFA==","signatures":[{"sig":"MEUCIQCW/5CaJ7Y0emHiaCP8NtbqanrNgdGHzx02cbLucuky3wIgezwQT+3q6pcyYIzfhauMwo7pPDCVjLiHMfIJnnYFMBk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1122240},"type":"module","engines":{"node":">=22.4"},"gitHead":"2fbb2ae0b13089a9d88cf8a69667f8a78041ac32","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_0.2.0_1784051889510_0.2610929437469498","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@csmodding/gameface-devtools-mcp","version":"0.3.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@0.3.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"0a247644108db278446708d814bfcd69b76ffcff","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-0.3.0.tgz","fileCount":4,"integrity":"sha512-ry3gK0YPmRrErcdwFMU3G3n8PO5FAAPNT1eo/Qt3DxzdXvH5buYb9FGZ+ykYO5yWWTFlyKFTkIobC6wnbwUkJQ==","signatures":[{"sig":"MEQCIEysP40zNNmn/xHVeJ+j3ERRY7pDRJwzOjyYf+KoSJjPAiBUINXDLgf+cI3b91KAjnR1beSPUkStjJ/C2SzSIK+1wg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1144967},"type":"module","engines":{"node":">=22.4"},"gitHead":"15782ce0dc212573c3ca3b2e7aa78ae949bfb7fd","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_0.3.0_1784541019788_0.5357522141853424","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@csmodding/gameface-devtools-mcp","version":"1.0.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.0.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"4982964393134eb5b9025de3c9574f1eb1a89a95","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.0.0.tgz","fileCount":4,"integrity":"sha512-FkK6kngKLHfFQb2z6OEX5SahUT9LfYOO1e4AQDNhnnVLb6sNxgDnqc8Bz11xAhMxShD0hcdAndXJqDiMRuqCww==","signatures":[{"sig":"MEQCIAErUsqqfEWcKSbG6lD91z/9U2wY8eCTiEKZZz5RaVFBAiBCxhPFZWM4U/rQ45EVtT3emLcuEEdpzN2/Rxn9FZ2YXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1171147},"type":"module","engines":{"node":">=22.4"},"gitHead":"335f222006532b9f686d61a63c2104ef54808735","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.0.0_1786731581443_0.4211269761643719","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@csmodding/gameface-devtools-mcp","version":"1.0.1","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.0.1","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"99b7cb299dec0742f666850ecb02bc133efa1f73","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.0.1.tgz","fileCount":4,"integrity":"sha512-qrJ0xHMx13st56Ho9dHay9H+yxR8gMNutz0PlKdPaNaQER+WwxJwDW74gGuuRzFdgCQPJ1WKUNwUgxSAzRum5Q==","signatures":[{"sig":"MEUCIF0rXB19P+WURX+uGUN5jTdhp8msob7hdUzu4rfW93GeAiEAjgIns/+Z5WP5Mxi52p6Tnu9s5lA3I1lW7eaXrgwIeM8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1171147},"type":"module","engines":{"node":">=22.4"},"gitHead":"917009534e3523bc52d3394b68f04fd9af26892a","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.0.1_1786809132342_0.2841497124954071","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@csmodding/gameface-devtools-mcp","version":"1.1.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.1.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"ce65fc53144de8d8bf980e3a7cca17fba6655bee","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.1.0.tgz","fileCount":4,"integrity":"sha512-5FEH5JxouSCBtigS6KVE4OS/zLndzV1tVUXDoSxsW2PJl0WsMaXryjmX4U7VXS6Mt5mWv4WIVn0qxgO0yJG28Q==","signatures":[{"sig":"MEUCIFuhS5GqOUqAig1b+S0PXocQ7foxbHo8rZ7i9rbupelMAiEA2OemjbbnTVryBK/ehWqQLCkRWyw4EMQnAL7GoYqhuak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1177298},"type":"module","engines":{"node":">=22.4"},"gitHead":"a5940e9065d37e05914cf1b70eac7c60405ffd2a","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.1.0_1787083881419_0.8369987030239288","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@csmodding/gameface-devtools-mcp","version":"1.1.1","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.1.1","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"a31bb0d6bb4c5796ad477cbc7fbdbc53448b216f","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.1.1.tgz","fileCount":4,"integrity":"sha512-qylEgghIkUf1Zs8+rzTGuk6/y9E7m3tienh6LlUN91zmL8ShqZebuTN3OnBXngqnr9Jt4utST33kE6kGi1ERcg==","signatures":[{"sig":"MEUCIFKyMnqTeD6j4LH8Uef3BUB8fZS/u4484ayu0T1SEDB0AiEA+mT1oHRkDO/TFp+U8MmLdRe5W4yLx1Kqz0lWZugyMO8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1177836},"type":"module","engines":{"node":">=22.4"},"gitHead":"b858d444f01d2d6cad3aed4897554e734180d2af","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"toverux","email":"morgan.touverey@outlook.fr"},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"10.9.8","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.1.1_1787573558417_0.04309783525993205","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@csmodding/gameface-devtools-mcp","version":"1.2.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.2.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"6db223efb7054086be01d1ba2faafa978e5eea6b","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.2.0.tgz","fileCount":4,"integrity":"sha512-JTIc0FxoYF+viSxrHORtZlOVkwsmFQnQ+LEiZCro59PoslPuxkU6JncL2LfWvCpcdWwZfAjxYi9DdeGAKn0sYQ==","signatures":[{"sig":"MEYCIQD6O0N9mdYrcZnEHBkNLs3KKFNjcRbpXn/CPaysCzGylAIhANeYM8z8fnuHTA9vELJFRMcPrgsfKS4SmHa+2zaiHWW8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csmodding%2fgameface-devtools-mcp@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1179847},"type":"module","engines":{"node":">=22.4"},"gitHead":"0c1d09ddd3acaf5f7f518e0caa6e8c3b5885e5a8","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c9804854-115d-4093-b2ea-0919bbbfe072"}},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"11.19.1","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"24.4.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","happy-dom":"^20.12.2","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.2.0_1789068061453_0.3527593216293594","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@csmodding/gameface-devtools-mcp","version":"1.2.1","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.2.1","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"ac71707f702243468206794f77d00613bf85c38c","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.2.1.tgz","fileCount":4,"integrity":"sha512-ZHu3fGETdLbcYbjx3UCU23E3kGF1T5l7+NAFBQ54RRxyeveijUH6acvv8CCdXhGRTscFOl6QI1d885v1WEE+mw==","signatures":[{"sig":"MEYCIQDIzcq/RpcctJq1YGd01vIUj/X03+7Mh6kRZ6ve4cWVLAIhAI6zyvTx27nV3V29Pgpj+gZvIp25iv77BLh1fZ7FxeOT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDiQtVEW6heddrOy6xz99BqdZoY2CpQGn9HKp62cc/HOAiEA9jNGlD4Y+YT2u77EN3kgAs5pKPliaHkLRkIBZZ4Lg1A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csmodding%2fgameface-devtools-mcp@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1181231},"type":"module","engines":{"node":">=22.4"},"gitHead":"9c9d4f2e1117201d2135f9d38143246d45acbeaf","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c9804854-115d-4093-b2ea-0919bbbfe072"}},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"11.19.1","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"24.4.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","happy-dom":"^20.12.2","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.2.1_1789812975326_0.1471723060777359","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@csmodding/gameface-devtools-mcp","version":"1.2.2","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.2.2","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"f7f7e5ba96d2d6a9a6988b98f2332e5bd25dbf2b","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.2.2.tgz","fileCount":4,"integrity":"sha512-tuXLZanYxzIEpOqRL0n9I1RJIQt2fSNr9zn2Rh4VKDUTBw3FqxTE469SQC034Yzuu+Y68FJ3SFHXhOEWoRj9RA==","signatures":[{"sig":"MEQCIF93y5CPHHCTw+knhn8MbwrGR26NRyX5YlCyfWkIR7R3AiBLdmNO3/7ZJt7qj5obJA6iV/cCpURjvOggVuwUdxYPHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCxcVBQ83D376utmIps1/t5UJ1Fl/fabZ9W2QNQXcTfYAIhAJmglJDB2t+ts1GzelGw8jzHpLDNAcEgAtOCfgOATzCq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csmodding%2fgameface-devtools-mcp@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1181231},"type":"module","engines":{"node":">=22.4"},"gitHead":"a0d65bed0e4d57fc2c1701377ddfe782c13a193c","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c9804854-115d-4093-b2ea-0919bbbfe072"}},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"11.20.0","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"24.4.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","happy-dom":"^20.12.2","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.2.2_1790785913608_0.9413346843609112","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@csmodding/gameface-devtools-mcp","version":"1.2.3","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.2.3","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"f60fd2109e3cb1bcadd3ee985fdcee463729b46b","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.2.3.tgz","fileCount":4,"integrity":"sha512-Exd9hIIoLZ83nNbZk83Cy7NNlpPMKEf0O7kqAaZSr6VDVFh3mlbmjVc+a4q+D/mKgsqBw/WanyYLmwZl/HAklA==","signatures":[{"sig":"MEQCIDOjx/QbxUFDX3Tbn7IIi8rnyI0fXs9B1odUBJU0vS1zAiAXxv+tHbYm//9xPD/gCQrT1FE64Z2zvJPp3zUxSwW49A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD+2UQlMYPtfqmA1SFZHFDnQaUJ+8EaFT+u8htxJu9OlAIhAIsgQ4Kd8M9t4dm5cAwu2sHV1E2CCfwXur5fi7tLYpHR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csmodding%2fgameface-devtools-mcp@1.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1181231},"type":"module","engines":{"node":">=22.4"},"gitHead":"87925df77c2a807e609f7c6bcaa62c465c466263","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c9804854-115d-4093-b2ea-0919bbbfe072"}},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"11.21.2","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"24.4.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","happy-dom":"^20.12.2","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.2.3_1794363545009_0.9328237652476002","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@csmodding/gameface-devtools-mcp","version":"1.3.0","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","_id":"@csmodding/gameface-devtools-mcp@1.3.0","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"bin":{"gameface-devtools-mcp":"dist/server.mjs"},"dist":{"shasum":"cf12f7e62e3a0cc85a374563ab88285e251c1403","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.3.0.tgz","fileCount":4,"integrity":"sha512-cVEgOo+vUrIzHg/RwU+J2TB8q0O6P54MbRUSg/GimPX2+pI8uWKN27GkuJFgnrEz0SoZFbjhzI1WjwKM/nDJiQ==","signatures":[{"sig":"MEQCICzmuexfXqFfTqL1k+WognwIJUEWoadOGAlxP19UzLI8AiBPYbrnaKIk33JPKA3TWkWKi2Gnptv/p3tBbhm2rq6VHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCQ1FYHGa1Bgj7LWC5ajIZG+EGGV+O3nblVI3oZ0sWp7QIhAI4ifSdEeSnEE8B2a/OBnztlQQ+jlQPMSAzn0CmM3rdS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csmodding%2fgameface-devtools-mcp@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1181231},"type":"module","engines":{"node":">=22.4"},"gitHead":"cde4355892cac8d5b4e31dacc021f6027dcf6719","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c9804854-115d-4093-b2ea-0919bbbfe072"}},"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"11.21.2","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"_nodeVersion":"24.4.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","happy-dom":"^20.12.2","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"tmp":"tmp/gameface-devtools-mcp_1.3.0_1794408033737_0.6990027284136922","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"_id":"@csmodding/gameface-devtools-mcp@1.3.1","bin":{"gameface-devtools-mcp":"dist/server.mjs"},"bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"dist":{"shasum":"370497b7452df7f7e955a9c7792214b05483da34","tarball":"https://registry.npmjs.org/@csmodding/gameface-devtools-mcp/-/gameface-devtools-mcp-1.3.1.tgz","fileCount":4,"integrity":"sha512-jL1LJNw6DkBix6kpAfdpet8V74ChBgH+NJ7zMI8rqo3BP8MT42x+oF6hhlGiEk5mWfMcGhztGcq4J/8bcqSG7Q==","signatures":[{"sig":"MEYCIQCFLjNsYJF58b8+w3W6Plb8lSw8ZHWxPte+9SsxwQZ4XgIhANdhdiYegcl0BTwDxg4dz1zLMuA4Rst0KtauSCM2j5oF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDFnKL9B7hsvmrtIlskg/xDl3Z0HKx2UodnANhsQMa8/AiEAuqtZZl9oSiigJl9b/g/lAOMXTriTEWaftqSyzwmfMhA="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@csmodding%2fgameface-devtools-mcp@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1181381},"name":"@csmodding/gameface-devtools-mcp","type":"module","author":{"name":"Morgan Touverey Quilling"},"engines":{"node":">=22.4"},"gitHead":"d91a6cb5150a410d8b4d938427402709ad696104","license":"MIT","scripts":{"// We use mise-en-place to manage tasks. See mise.toml for more info.":""},"version":"1.3.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c9804854-115d-4093-b2ea-0919bbbfe072"}},"homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"_npmVersion":"11.21.2","description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","directories":{},"maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"_nodeVersion":"24.4.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","happy-dom":"^20.12.2","typescript":"^7.0.2","@types/node":"^24.13.3","common-tags":"^1.8.2","@types/common-tags":"^1.8.4","@modelcontextprotocol/sdk":"^1.29.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gameface-devtools-mcp_1.3.1_1794665592200_0.49932968361388763"}}},"time":{"created":"2026-07-14T08:53:18.532Z","modified":"2026-11-14T14:13:12.640Z","0.1.0":"2026-07-14T08:53:18.782Z","0.2.0":"2026-07-14T17:58:09.695Z","0.3.0":"2026-07-20T09:50:19.969Z","1.0.0":"2026-08-14T18:19:41.676Z","1.0.1":"2026-08-15T15:52:12.518Z","1.1.0":"2026-08-18T20:11:21.585Z","1.1.1":"2026-08-24T12:12:38.591Z","1.2.0":"2026-09-10T19:21:01.621Z","1.2.1":"2026-09-19T10:16:15.406Z","1.2.2":"2026-09-30T16:31:53.702Z","1.2.3":"2026-11-11T02:19:05.139Z","1.3.0":"2026-11-11T14:40:33.850Z","1.3.1":"2026-11-14T14:13:12.285Z"},"bugs":{"url":"https://github.com/CitiesSkylinesModding/agents-plugins/issues"},"author":{"name":"Morgan Touverey Quilling"},"license":"MIT","homepage":"https://github.com/CitiesSkylinesModding/agents-plugins","keywords":["browser-automation","cdp","chrome-devtools-protocol","coherent-gameface","cohtml","debugger","game-ui","gameface","mcp","mcp-server"],"repository":{"url":"git+https://github.com/CitiesSkylinesModding/agents-plugins.git","type":"git","directory":"plugins/coherent-gameface/mcp"},"description":"MCP server that drives a running Coherent Gameface (Cohtml) game UI over a direct Chrome DevTools Protocol connection: evaluate JS, screenshot, inspect and drive the DOM, capture the console, and set JS breakpoints.","maintainers":[{"name":"toverux","email":"morgan.touverey@outlook.fr"}],"readme":"# gameface-devtools-mcp\n\nAn MCP server that drives a running **Coherent Gameface** UI, for any MCP client.\n\n[Coherent Gameface](https://coherent-labs.com/products/coherent-gameface/) (Cohtml) is the\nHTML/CSS/JS UI engine many games embed.\nThis server connects to its **Chrome DevTools Protocol (CDP)** debug endpoint directly and exposes\nMCP tools to evaluate JavaScript, take screenshots, inspect and drive the DOM, capture the console,\nand set JS breakpoints.\n\n> **Generic, but developed against Cities: Skylines II.** The server makes no assumptions about a\n> specific application; it works against any Gameface CDP endpoint. It is developed and verified\n> against Cities: Skylines II's Gameface UI, which is the reference target and the source of the\n> CDP quirks noted below.\n\n> **Why direct CDP instead of Puppeteer/Playwright (or chrome-devtools-mcp)?** Gameface does not\n> implement the browser-level handshake those tools rely on (`Browser.getVersion` is missing and\n> `Target.attachedToTarget` is never emitted), so they connect but find zero drivable pages.\n> A direct CDP client only sends the commands Gameface supports, and works end-to-end.\n\n> **Why not Coherent Labs' own Gameface MCP?** Theirs is built and documented around a `Player.exe`\n> from a licensed Gameface SDK, and targets Cohtml 3.1.2+. This one attaches to a **game that is\n> already running** — no SDK, no licence, no version floor, field-verified down to Cohtml 1.64 — and\n> adds a JS debugger, view-reload tracking and wait primitives for a UI that will not hold still.\n> [**Read the full comparison →**](https://github.com/CitiesSkylinesModding/agents-plugins/blob/main/plugins/coherent-gameface/WHY.md)\n\n## Requirements\n\n- **A Gameface application running** with its CDP debug endpoint reachable (default\n  `http://localhost:9444`). Verify with:\n  ```sh\n  curl http://localhost:9444/json/list\n  ```\n  You should get back a JSON array containing a `\"type\": \"page\"` target. Set the host/port to match\n  your application if it differs (see Configuration).\n- **Node.js 22.4+**. The package is a self-contained bundle; `npx` installs nothing else.\n\n## Install\n\nThe server speaks MCP over stdio. Register it in your client under the name `gameface`, launched\nas `npx -y @csmodding/gameface-devtools-mcp@latest` (`@latest` keeps it fresh on each launch).\n\nMost clients accept the canonical `mcpServers` JSON shape:\n\n```json\n{\n  \"mcpServers\": {\n    \"gameface\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@csmodding/gameface-devtools-mcp@latest\"],\n      \"env\": {\n        \"GAMEFACE_HOST\": \"localhost\",\n        \"GAMEFACE_PORT\": \"9444\"\n      }\n    }\n  }\n}\n```\n\nThe `env` block is optional; defaults are shown (see Configuration for all variables).\n\n### Claude Code\n\n```sh\nclaude mcp add gameface -- npx -y @csmodding/gameface-devtools-mcp@latest\n```\n\nAdd `--scope project` to share it with your team via a committed `.mcp.json`. To pass env vars,\nnote that another option must sit between `--env` and the server name:\n\n```sh\nclaude mcp add --env GAMEFACE_PORT=9444 --transport stdio gameface -- npx -y @csmodding/gameface-devtools-mcp@latest\n```\n\nClaude Code and Codex CLI users can also install the\n[coherent-gameface plugin](https://github.com/CitiesSkylinesModding/agents-plugins)\ninstead, which bundles this server (no npm involved) plus skills that teach the agent the Gameface\nworkflows.\n\n### Cursor\n\nAdd the canonical JSON above to `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json`\nglobally.\n\n### Codex CLI\n\n```sh\ncodex mcp add gameface -- npx -y @csmodding/gameface-devtools-mcp@latest\n```\n\nOr in `~/.codex/config.toml`:\n\n```toml\n[mcp_servers.gameface]\ncommand = \"npx\"\nargs = [\"-y\", \"@csmodding/gameface-devtools-mcp@latest\"]\n```\n\nCodex CLI users can also install the\n[coherent-gameface plugin](https://github.com/CitiesSkylinesModding/agents-plugins)\ninstead (see the note under Claude Code above).\n\n### Gemini CLI\n\n```sh\ngemini mcp add gameface npx -- -y @csmodding/gameface-devtools-mcp@latest\n```\n\n(The `--` goes after `npx`: it separates dash-prefixed server args from Gemini's own flags.)\nOr add the canonical JSON above to `.gemini/settings.json` (project) or `~/.gemini/settings.json`.\n\n### VS Code / GitHub Copilot\n\n```sh\ncode --add-mcp \"{\\\"name\\\":\\\"gameface\\\",\\\"command\\\":\\\"npx\\\",\\\"args\\\":[\\\"-y\\\",\\\"@csmodding/gameface-devtools-mcp@latest\\\"]}\"\n```\n\nOr in `.vscode/mcp.json` (note the `servers` key, not `mcpServers`):\n\n```json\n{\n  \"servers\": {\n    \"gameface\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@csmodding/gameface-devtools-mcp@latest\"]\n    }\n  }\n}\n```\n\n## Tools\n\n| Tool | What it does | Under the hood |\n| --- | --- | --- |\n| `game_status` | Reachability + page target + engine info + view-reload tracking (count, last reload, context id). Run first when things fail. | `/json/list` + `/json/version` + `Runtime.executionContextCreated` |\n| `game_eval` | Evaluate a JS expression in the Gameface UI, returns the value as JSON. | `Runtime.evaluate` (returnByValue) |\n| `game_screenshot` | Screenshot the viewport (or a selector's box) as an inline image. | `Page.captureScreenshot` (+ `clip`) |\n| `game_dom` | DOM details (tag, classes, attributes, rect, outerHTML) for a CSS selector. | `Runtime.evaluate` |\n| `game_query` | Find elements by selector and/or text; returns rect + optional attributes and handles. | `Runtime.evaluate` |\n| `game_wait` | Wait for a view reload and/or until a selector matches (optionally visible) or a JS predicate is truthy. | polled `Runtime.evaluate` + `Runtime.executionContextCreated` |\n| `game_click` | Click an element by dispatching real bubbling DOM events. | `Runtime.evaluate` (see note) |\n| `game_fill` | Set an input/textarea/contenteditable value. | `Runtime.evaluate` (see note) |\n| `game_type` | Type text key by key (real KeyboardEvents + value sync). | `Runtime.evaluate` (see note) |\n| `game_key` | Press a named key (Escape/Enter/arrows/…) as bubbling keydown+keyup, with modifiers/repeats. | `Runtime.evaluate` (see note) |\n| `game_hover` | Hover an element (over/enter/move sequence) to trigger tooltips/hover state. | `Runtime.evaluate` (see note) |\n| `game_console` | Recent `console.*`, log entries, and uncaught exceptions from the Gameface UI, timestamped, with object arguments expanded to their real values and re-readable deeper. | `Log` + `Runtime.consoleAPICalled` + `Runtime.exceptionThrown` + `Runtime.callFunctionOn` |\n\n> [!IMPORTANT]\n> **Input is done via DOM events, not CDP `Input`.** Gameface accepts `Input.dispatchMouseEvent` /\n> `dispatchKeyEvent` but never delivers them to the UI — the mouse command measured on Cohtml 1.64\n> and 2.2, the key and text ones on 2.2, with a 3.x Player untested. So `game_click`, `game_fill`,\n> `game_type`, `game_key`, and `game_hover` dispatch real DOM events in the page. These reach the\n> UI's own JS handlers, but not any input the game routes at the native/engine level (e.g.\n> Escape-to-close is often handled natively and will not respond to a dispatched key).\n\n### JS debugger tools\n\nThe Gameface UI's V8 `Debugger` domain is fully supported, so these drive a real source-level\ndebugger.\n\n| Tool | What it does |\n| --- | --- |\n| `game_debug_status` | Debugger state: paused?/where, pause-on-exceptions, breakpoints, script count. Also sets pause-on-exceptions. |\n| `game_debug_scripts` | List parsed UI scripts (scriptId + url), filterable by url substring. |\n| `game_debug_source` | Get a script's source (by scriptId) with line numbers, optionally a line range. |\n| `game_debug_search_source` | Find a literal string across the parsed sources; returns url + line + column (1-based) and a snippet per hit. |\n| `game_debug_set_breakpoint` | Break at url-substring + line, optionally column (both 1-based), with an optional JS condition. Reports where the engine bound it. |\n| `game_debug_remove_breakpoint` | Remove a breakpoint by id, or `all`. |\n| `game_debug_pause_state` | When paused: the call stack, optionally with each frame's local/closure variables. |\n| `game_debug_evaluate` | Evaluate in the paused frame's scope (read locals), or globally when running. |\n| `game_debug_step` | `resume` / `over` / `into` / `out` / `pause`. |\n\n> **Hitting a breakpoint or pausing FREEZES the UI thread until you resume** (`game_debug_step`\n> with `resume`). Prefer conditional breakpoints to limit freezes, and while paused inspect with\n> `game_debug_evaluate` rather than `game_eval`. Safety net: if the server's connection drops while\n> paused, the engine auto-resumes.\n\n> **The debugger only sees scripts parsed since it attached**: Gameface does not replay\n> `scriptParsed`, so a late attach lists nothing until a view reload re-parses everything.\n> Breakpoints, on the other hand, survive a reload: the engine re-binds its own registrations to the\n> re-parsed script.\n\n## Configuration\n\nAll are optional, read by the server from the environment:\n\n| Variable | Default | Purpose |\n| --- | --- | --- |\n| `GAMEFACE_HOST` | `localhost` | Host of the Gameface CDP endpoint. |\n| `GAMEFACE_PORT` | `9444` | Port of the Gameface CDP endpoint. |\n| `GAMEFACE_CONNECT_TIMEOUT_MS` | `5000` | HTTP discovery / WebSocket open timeout. |\n| `GAMEFACE_CALL_TIMEOUT_MS` | `15000` | Per-command reply timeout. |\n\n## Troubleshooting\n\n- **Tools error with \"Cannot reach ...\"**: the Gameface application is not running or the debug\n  port is not reachable. Check `curl http://localhost:9444/json/list`. Use `game_status` for a\n  structured diagnosis.\n- **The server fails to launch**: check your client's MCP logs for the server's stderr. Common\n  causes: `npx` not on `PATH`, or Node older than 22.4 (the bundle needs the global `WebSocket`).\n\n## Development\n\nThe server is developed in the\n[agents-plugins](https://github.com/CitiesSkylinesModding/agents-plugins)\nrepository, where this package lives as the `plugins/coherent-gameface/mcp/` workspace. See the\nrepository README for the development setup, and the plugin's `AGENTS.md`\n(`plugins/coherent-gameface/AGENTS.md`) for the verified Gameface CDP behavior matrix.\n","readmeFilename":"README.md"}