| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- {
- "$schema": "./@types/schema/package/index.json",
- "package_version": 2,
- "name": "cocos-mcp-server",
- "version": "1.7.9",
- "author": "LiDaxian",
- "editor": ">=3.7.0",
- "description": "i18n:cocos-mcp-server.description",
- "main": "./dist/main.js",
- "dependencies": {
- "@iarna/toml": "^2.2.5",
- "fs-extra": "^11.3.0",
- "puppeteer-core": "^25.1.0",
- "uuid": "^9.0.1",
- "vue": "^3.1.4"
- },
- "panels": {
- "default": {
- "title": "i18n:cocos-mcp-server.panel_title",
- "type": "dockable",
- "main": "dist/panels/default",
- "icon": "./static/icon.png",
- "size": {
- "min-width": 560,
- "min-height": 680,
- "width": 760,
- "height": 820
- }
- }
- },
- "contributions": {
- "menu": [
- {
- "path": "i18n:menu.extension/Cocos MCP Server",
- "label": "i18n:cocos-mcp-server.open_panel",
- "message": "open-panel"
- }
- ],
- "messages": {
- "open-panel": {
- "methods": [
- "openPanel"
- ]
- },
- "open-tool-manager": {
- "methods": [
- "openToolManager"
- ]
- },
- "start-server": {
- "methods": [
- "startServer"
- ]
- },
- "stop-server": {
- "methods": [
- "stopServer"
- ]
- },
- "get-server-status": {
- "methods": [
- "getServerStatus"
- ]
- },
- "update-settings": {
- "methods": [
- "updateSettings"
- ]
- },
- "getToolsList": {
- "methods": [
- "getToolsList"
- ]
- },
- "get-server-settings": {
- "methods": [
- "getServerSettings"
- ]
- },
- "getToolManagerState": {
- "methods": [
- "getToolManagerState"
- ]
- },
- "createToolConfiguration": {
- "methods": [
- "createToolConfiguration"
- ]
- },
- "updateToolConfiguration": {
- "methods": [
- "updateToolConfiguration"
- ]
- },
- "deleteToolConfiguration": {
- "methods": [
- "deleteToolConfiguration"
- ]
- },
- "setCurrentToolConfiguration": {
- "methods": [
- "setCurrentToolConfiguration"
- ]
- },
- "updateToolStatus": {
- "methods": [
- "updateToolStatus"
- ]
- },
- "updateToolStatusBatch": {
- "methods": [
- "updateToolStatusBatch"
- ]
- },
- "exportToolConfiguration": {
- "methods": [
- "exportToolConfiguration"
- ]
- },
- "importToolConfiguration": {
- "methods": [
- "importToolConfiguration"
- ]
- },
- "getEnabledTools": {
- "methods": [
- "getEnabledTools"
- ]
- },
- "get-config-status": {
- "methods": [
- "getConfigStatus"
- ]
- },
- "generate-cli-commands": {
- "methods": [
- "generateCLICommands"
- ]
- },
- "generate-client-config": {
- "methods": [
- "generateClientConfig"
- ]
- },
- "add-to-client": {
- "methods": [
- "addToClient"
- ]
- },
- "remove-from-client": {
- "methods": [
- "removeFromClient"
- ]
- },
- "add-to-all-clients": {
- "methods": [
- "addToAllClients"
- ]
- },
- "remove-from-all-clients": {
- "methods": [
- "removeFromAllClients"
- ]
- },
- "open-config-file": {
- "methods": [
- "openConfigFile"
- ]
- },
- "check-license": {
- "methods": [
- "checkLicense"
- ]
- },
- "subscription-status": {
- "methods": [
- "subscriptionStatus"
- ]
- },
- "login-subscription": {
- "methods": [
- "loginSubscription"
- ]
- },
- "login-subscription-google": {
- "methods": [
- "loginSubscriptionGoogle"
- ]
- },
- "logout-subscription": {
- "methods": [
- "logoutSubscription"
- ]
- },
- "activate-license": {
- "methods": [
- "activateLicense"
- ]
- },
- "deactivate-license": {
- "methods": [
- "deactivateLicense"
- ]
- },
- "get-license-info": {
- "methods": [
- "getLicenseInfo"
- ]
- },
- "check-update": {
- "methods": [
- "checkUpdate"
- ]
- },
- "skip-update": {
- "methods": [
- "skipUpdate"
- ]
- },
- "get-machine-id": {
- "methods": [
- "getMachineId"
- ]
- },
- "preview-play": {
- "methods": [
- "default.onPreviewPlay"
- ]
- },
- "preview-stop": {
- "methods": [
- "default.onPreviewStop"
- ]
- },
- "device-removed": {
- "methods": [
- "default.device-removed"
- ]
- }
- },
- "scene": {
- "script": "./dist/scene.js",
- "methods": [
- "createNewScene",
- "addComponentToNode",
- "removeComponentFromNode",
- "getNodeInfo",
- "getAllNodes",
- "findNodeByName",
- "setNodeProperty",
- "setComponentProperty",
- "getCurrentSceneInfo",
- "getSceneHierarchy",
- "createPrefabFromNode",
- "captureContent"
- ]
- }
- }
- }
|