274 lines
7.4 KiB
JSON
274 lines
7.4 KiB
JSON
{
|
|
"$schema": "./@types/schema/package/index.json",
|
|
"package_version": 2,
|
|
"name": "cocos-mcp-server",
|
|
"version": "1.8.0",
|
|
"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"
|
|
]
|
|
},
|
|
"get-network-status": {
|
|
"methods": [
|
|
"getNetworkStatus"
|
|
]
|
|
},
|
|
"set-proxy-config": {
|
|
"methods": [
|
|
"setProxyConfig"
|
|
]
|
|
},
|
|
"test-connectivity": {
|
|
"methods": [
|
|
"testConnectivity"
|
|
]
|
|
}
|
|
},
|
|
"scene": {
|
|
"script": "./dist/scene.js",
|
|
"methods": [
|
|
"createNewScene",
|
|
"addComponentToNode",
|
|
"removeComponentFromNode",
|
|
"getNodeInfo",
|
|
"getAllNodes",
|
|
"findNodeByName",
|
|
"setNodeProperty",
|
|
"setComponentProperty",
|
|
"getCurrentSceneInfo",
|
|
"getSceneHierarchy",
|
|
"createPrefabFromNode",
|
|
"captureContent"
|
|
]
|
|
}
|
|
}
|
|
} |