cocos-mcp@1.0.0
CAUTIONPublisher claims: "Enables MCP clients such as Claude Code, Cursor, and Codex to drive a live Cocos Creator 3.8.x editor and its project files, covering scene, node, component, asset, build, and view operations. Write operations run as undo-journaled transactions that roll back on failure, with a verified editor-message whitelist, path guards, tiered confirmations, and offline prefab/animation editing that works even when the editor is closed." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Server started and answered tools/list.- Tested
- MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
- Not tested
- what the tools do when called with real credentials
Behavior
In our sandbox run on 2026-11-18, [email protected] read 1 file and called no hosts, and its code names 3 environment variables. Coverage: full.
Files read
- ~/.cocos-mcp/editors
Hosts called
None recorded.
Environment variables its code names
COCOS_MCP_EDITOR_FILTER, COCOS_MCP_EXTRA_ROOTS, COCOS_MCP_HUB
Names only, read from the code. We never hold a value.
Tools offered
asset.copy, asset.create, asset.delete, asset.dependencies, asset.info, asset.isImported, asset.move, asset.path, asset.query, asset.refresh, asset.reimport, asset.save, asset.url, asset.users, asset.uuid, build.platforms, build.start, build.status, cocos_anim_batch, cocos_anim_ops, cocos_anim_query, cocos_knowledge, cocos_message, cocos_prefab_batch, cocos_prefab_edit, cocos_prefab_ops, cocos_prefab_query, component.add, component.call, component.list
40 more in behavior.json
Changes since the prior version
No prior version with a result to compare.
What we did not test
- what the tools do when called with real credentials
| Run date | 2026-11-18 |
| Coverage | full |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try cocos-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the code
- What we saw when it ran
- no credential files read · no network
- What we could not test
- what the tools do when called with real credentials
Reasonable to connect. No credential asked for, no third-party host named, Server started and answered tools/list.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-18 and scored it 76/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; References a credential file in the home directory. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 20 s · 2 scenariosStatic findings
/process\.env\.NODE_TEST_CONTEXT/,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.throws(() => assertInsideProject(ctx, '/etc/passwd'), /不在任何一个已注册的 Cocos 项目目录内/);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.() => handlers['asset.copy']({ from: '/etc/passwd', to: 'db://assets/x.png' }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* · 实测越界路径 `/etc/passwd` 原样直达引擎的 `asset-db` 频道。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.ok(!isUuidLike('../../etc/passwd'), '含路径成分的串不能当 uuid');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 项目里放一个 `assets_link -> ~/.ssh` 的软链,词法判断会认为Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.() => handlers['asset.copy']({ from: 'db://assets/../etc/passwd', to: 'db://assets/x.png' }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 而 `/etc/passwd` 原样直达了引擎。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 防的是「模型给一个 /etc/passwd 或 ~/.ssh/id_rsa,让工具去读/写」,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.filePath: '/etc/passwd',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.JSON.stringify({ ver: '1.1.0', importer: 'editor', uuid: '../../../../etc/passwd', files: [] })Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.() => handlers['asset.isImported']({ url: 'db://assets/../../etc/passwd' }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.() => handlers['asset.isImported']({ url: '/etc/passwd' }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 防的是「模型给一个 /etc/passwd 或 ~/.ssh/id_rsa,让工具去读/写」,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.await check('cocos_prefab_query', { filePath: '/etc/passwd', selector: 'tree' }, { expectError: true });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const evil of ['../../etc/passwd', '..', '../secret', 'a/b', '..%2Fetc']) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
4 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim ppppan9: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.