{ "name": "funplay-cocos-mcp", "title": "i18n:funplay-cocos-mcp.title", "package_version": 2, "version": "0.6.4", "description": "Embedded MCP server for Cocos Creator with scene script execution, project resources, prompts, and file/scene tools.", "author": "Funplay", "license": "MIT", "main": "browser.js", "bin": { "funplay-cocos-mcp": "bin/funplay-cocos-mcp.js" }, "mcpName": "io.github.FunplayAI/funplay-cocos-mcp", "repository": { "type": "git", "url": "git+https://github.com/FunplayAI/funplay-cocos-mcp.git" }, "homepage": "https://github.com/FunplayAI/funplay-cocos-mcp#readme", "bugs": { "url": "https://github.com/FunplayAI/funplay-cocos-mcp/issues" }, "keywords": [ "mcp", "cocos", "cocos-creator", "funplay", "model-context-protocol", "ai" ], "engines": { "node": ">=18" }, "files": [ "bin/", "docs/", "lib/", "i18n/", "panel/", "browser.js", "scene.js", "server.json", "README.md", "README_CN.md", "CHANGELOG.md", "CONTRIBUTING.md", "LICENSE", "RELEASE_WORKFLOW.md", "RELEASE_CHECKLIST.md" ], "publishConfig": { "access": "public" }, "scripts": { "check": "node --check lib/jsonc.js && node --check lib/preview-runtime.js && node --check browser.js && node --check scene.js && node --check panel/index.js && node --check panel/shared.js && node --check panel/tool-description-i18n.js && node --check panel/tool-exposure.js && node --check panel/settings.js && node --check panel/project-skills.js && node --check bin/funplay-cocos-mcp.js && node --check i18n/en.js && node --check i18n/zh.js && node --check lib/activity-preview.js && node --check lib/script-execution.js && node --check lib/atomic-file.js && node --check lib/project-prompts.js && node --check lib/skill-platforms.js && node --check lib/assets.js && node --check lib/client-config.js && node --check lib/config.js && node --check lib/diagnostics.js && node --check lib/electron-tools.js && node --check lib/global-install.js && node --check lib/i18n.js && node --check lib/input.js && node --check lib/interaction-log.js && node --check lib/javascript-safety.js && node --check lib/logs.js && node --check lib/path-safety.js && node --check lib/prefab-metadata.js && node --check lib/prefabs.js && node --check lib/project-instructions.js && node --check lib/project-skills.js && node --check lib/prompts.js && node --check lib/resources.js && node --check lib/runtime-log.js && node --check lib/scenes.js && node --check lib/screenshots.js && node --check lib/server.js && node --check lib/tool-profiles.js && node --check lib/tool-registry.js && node --check lib/tools/assets-advanced.js && node --check lib/tools/cocos-project.js && node --check lib/tools/files.js && node --check lib/tools/scene-events.js && node --check lib/update-checker.js && node --check lib/updater.js && node --check lib/utils.js && node --check scripts/generate-tool-docs.js && node --check scripts/release.js", "test": "node --test", "docs:generate": "node scripts/generate-tool-docs.js", "docs:check": "node scripts/generate-tool-docs.js --check", "pack:dry-run": "npm pack --dry-run", "registry:validate": "mcp-publisher validate server.json", "release:check": "node scripts/release.js check && npm run docs:check", "release:package": "node scripts/release.js package", "release:verify": "npm run check && npm test && npm run release:check && npm run pack:dry-run && npm run release:package" }, "panels": { "default": { "title": "i18n:funplay-cocos-mcp.panel_server", "type": "dockable", "main": "panel/index.js", "size": { "min-width": 420, "min-height": 360, "width": 560, "height": 620 } }, "tool-exposure": { "title": "i18n:funplay-cocos-mcp.panel_tool_exposure", "type": "dockable", "main": "panel/tool-exposure.js", "size": { "min-width": 560, "min-height": 460, "width": 760, "height": 760 } }, "settings": { "title": "i18n:funplay-cocos-mcp.panel_settings", "type": "dockable", "main": "panel/settings.js", "size": { "min-width": 460, "min-height": 360, "width": 620, "height": 620 } }, "project-skills": { "title": "i18n:funplay-cocos-mcp.panel_project_skills", "type": "dockable", "main": "panel/project-skills.js", "size": { "min-width": 580, "min-height": 480, "width": 780, "height": 760 } } }, "contributions": { "menu": [ { "path": "Funplay", "label": "i18n:funplay-cocos-mcp.menu_server", "message": "open-panel" }, { "path": "Funplay", "label": "i18n:funplay-cocos-mcp.menu_tool_exposure", "message": "open-tool-exposure" }, { "path": "Funplay", "label": "i18n:funplay-cocos-mcp.menu_settings", "message": "open-settings" }, { "path": "Funplay", "label": "i18n:funplay-cocos-mcp.menu_project_skills", "message": "open-project-skills" } ], "messages": { "open-panel": { "methods": [ "openPanel" ] }, "open-tool-exposure": { "methods": [ "openToolExposurePanel" ] }, "open-settings": { "methods": [ "openSettingsPanel" ] }, "open-project-skills": { "methods": [ "openProjectSkillsPanel" ] }, "start-server": { "methods": [ "startServer" ] }, "stop-server": { "methods": [ "stopServer" ] }, "restart-server": { "methods": [ "restartServer" ] }, "get-status": { "methods": [ "getStatus" ] }, "get-panel-state": { "methods": [ "getPanelState" ] }, "clear-recent-activity": { "methods": [ "clearRecentActivity" ] }, "save-config": { "methods": [ "saveConfig" ] }, "list-tools": { "methods": [ "listToolsForPanel" ] }, "call-tool": { "methods": [ "callToolFromPanel" ] }, "get-project-skills-state": { "methods": [ "getProjectSkillsState" ] }, "preview-project-skill-update": { "methods": [ "previewProjectSkillUpdate" ] }, "install-or-update-project-skill": { "methods": [ "installOrUpdateProjectSkill" ] }, "restore-project-skill-backup": { "methods": [ "restoreProjectSkillBackup" ] }, "create-project-skill": { "methods": [ "createProjectSkillFromPanel" ] }, "reveal-project-skill": { "methods": [ "revealProjectSkill" ] }, "check-updates": { "methods": [ "checkUpdates" ] }, "auto-check-updates": { "methods": [ "autoCheckUpdates" ] }, "install-update": { "methods": [ "installUpdate" ] }, "install-globally": { "methods": [ "installGlobally" ] }, "open-update-release": { "methods": [ "openUpdateRelease" ] }, "read-resource": { "methods": [ "readResourceFromPanel" ] }, "get-client-config": { "methods": [ "getClientConfig" ] }, "configure-client": { "methods": [ "configureClient" ] } }, "scene": { "script": "scene.js" } } }