Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DaxianLee/cocos-mcp-server
/ functions
Functions
464 in github.com/DaxianLee/cocos-mcp-server
⨍
Functions
464
◇
Types & classes
64
↓ 1 callers
Function
collectNodes
(node: any)
source/scene.ts:172
↓ 1 callers
Method
compressTextures
(directory: string = 'db://assets', format: string = 'auto', quality: number = 0.8)
source/tools/asset-advanced-tools.ts:507
↓ 1 callers
Method
convertToCSV
(data: any[])
source/tools/asset-advanced-tools.ts:580
↓ 1 callers
Method
convertToXML
(data: any[])
source/tools/asset-advanced-tools.ts:597
↓ 1 callers
Method
copyAsset
(source: string, target: string, overwrite: boolean = false)
source/tools/project-tools.ts:772
↓ 1 callers
Method
copyNode
(uuids: string | string[])
source/tools/scene-advanced-tools.ts:463
↓ 1 callers
Method
countNodes
(nodes: any[])
source/tools/debug-tools.ts:393
↓ 1 callers
Method
createAsset
(url: string, content: string | null = null, overwrite: boolean = false)
source/tools/project-tools.ts:740
↓ 1 callers
Method
createAssetWithAssetDB
* 使用 asset-db API 创建资源文件
source/tools/prefab-tools.ts:1587
↓ 1 callers
Method
createCompleteNodeTree
* 递归创建完整的节点树,包括所有子节点和对应的PrefabInfo
source/tools/prefab-tools.ts:1696
↓ 1 callers
Method
createComponentObject
* 创建组件对象
source/tools/prefab-tools.ts:1876
↓ 1 callers
Method
createEngineStandardNode
* 创建符合引擎标准的节点对象
source/tools/prefab-tools.ts:2174
↓ 1 callers
Method
createMetaData
(prefabName: string, prefabUuid: string)
source/tools/prefab-tools.ts:1264
↓ 1 callers
Method
createMetaWithAssetDB
* 使用 asset-db API 创建 meta 文件
source/tools/prefab-tools.ts:1605
↓ 1 callers
Method
createNode
(parentUuid?: string, position?: any)
source/tools/prefab-tools.ts:610
↓ 1 callers
Method
createNode
(args: any)
source/tools/node-tools.ts:309
↓ 1 callers
Method
createNodeObject
(nodeData: any, parentId: number | null, prefabData: any[], currentId: number)
source/tools/prefab-tools.ts:2440
↓ 1 callers
Method
createPrefabCustom
(nodeUuid: string, prefabPath: string, prefabName: string)
source/tools/prefab-tools.ts:830
↓ 1 callers
Method
createPrefabData
(nodeData: any, prefabName: string, prefabUuid: string)
source/tools/prefab-tools.ts:1130
↓ 1 callers
Method
createPrefabNative
(nodeUuid: string, prefabPath: string)
source/tools/prefab-tools.ts:818
↓ 1 callers
Method
createPrefabWithAssetDB
* 使用 asset-db API 创建预制体的新方法 * 深度整合引擎的资源管理系统,实现完整的预制体创建流程
source/tools/prefab-tools.ts:673
↓ 1 callers
Method
createSafeStringValue
(value: string)
source/tools/validation-tools.ts:128
↓ 1 callers
Method
createScene
(sceneName: string, savePath: string)
source/tools/scene-tools.ts:205
↓ 1 callers
Method
createSizeObject
(data: any)
source/tools/prefab-tools.ts:2725
↓ 1 callers
Method
createStandardMetaContent
* 创建标准的 meta 文件内容
source/tools/prefab-tools.ts:2326
↓ 1 callers
Method
createStandardMetaData
(prefabName: string, prefabUuid: string)
source/tools/prefab-tools.ts:2800
↓ 1 callers
Method
cutNode
(uuids: string | string[])
source/tools/scene-advanced-tools.ts:499
↓ 1 callers
Method
deleteAsset
(url: string)
source/tools/project-tools.ts:838
↓ 1 callers
Method
deleteConfiguration
(configId: string)
source/tools/tool-manager.ts:293
↓ 1 callers
Method
deleteNode
(uuid: string)
source/tools/node-tools.ts:958
↓ 1 callers
Method
detectNodeType
(uuid: string)
source/tools/node-tools.ts:1006
↓ 1 callers
Method
duplicateNode
(uuid: string, includeChildren: boolean = true)
source/tools/node-tools.ts:989
↓ 1 callers
Method
duplicatePrefab
(args: any)
source/tools/prefab-tools.ts:1504
↓ 1 callers
Method
endUndoRecording
(undoId: string)
source/tools/scene-advanced-tools.ts:633
↓ 1 callers
Method
enhanceTreeWithMCPComponents
* 使用MCP接口增强节点树,获取正确的组件信息
source/tools/prefab-tools.ts:975
↓ 1 callers
Method
escapJsonString
(str: string)
source/tools/validation-tools.ts:197
↓ 1 callers
Method
executeComponentMethod
(uuid: string, name: string, args: any[] = [])
source/tools/scene-advanced-tools.ts:554
↓ 1 callers
Method
executeSceneScript
(name: string, method: string, args: any[] = [])
source/tools/scene-advanced-tools.ts:574
↓ 1 callers
Method
executeScript
(script: string)
source/tools/debug-tools.ts:255
↓ 1 callers
Method
exportAssetManifest
(directory: string = 'db://assets', format: string = 'json', includeMetadata: boolean = true)
source/tools/asset-advanced-tools.ts:517
↓ 1 callers
Method
exportConfiguration
(configId: string)
source/tools/tool-manager.ts:374
↓ 1 callers
Method
exportPreferences
(exportPath?: string)
source/tools/preferences-tools.ts:296
↓ 1 callers
Method
exportToolConfiguration
(config: ToolConfiguration)
source/tools/tool-manager.ts:63
↓ 1 callers
Method
extractComponentsFromNode
(nodeData: any)
source/tools/prefab-tools.ts:2544
↓ 1 callers
Method
extractNodeUuid
* 从节点数据中提取UUID
source/tools/prefab-tools.ts:2242
↓ 1 callers
Method
findAssetByName
(args: any)
source/tools/project-tools.ts:960
↓ 1 callers
Method
findNodeByName
(name: string)
source/tools/node-tools.ts:586
↓ 1 callers
Method
findNodeInTree
(node: any, targetUuid: string)
source/tools/prefab-tools.ts:951
↓ 1 callers
Method
findNodes
(pattern: string, exactMatch: boolean = false)
source/tools/node-tools.ts:535
↓ 1 callers
Method
fixJsonString
(jsonStr: string)
source/tools/validation-tools.ts:173
↓ 1 callers
Method
focusCameraOnNodes
(uuids: string[] | null)
source/tools/scene-view-tools.ts:493
↓ 1 callers
Method
formatFileSize
(bytes: number)
source/tools/debug-tools.ts:630
↓ 1 callers
Method
formatMcpRequest
(toolName: string, toolArgs: any)
source/tools/validation-tools.ts:141
↓ 1 callers
Method
generateAvailableUrl
(url: string)
source/tools/asset-advanced-tools.ts:264
↓ 1 callers
Method
generateComponentSuggestion
* 生成组件建议信息
source/tools/component-tools.ts:1699
↓ 1 callers
Method
generateCurlCommand
(jsonStr: string)
source/tools/validation-tools.ts:257
↓ 1 callers
Method
generateCurlExample
(category: string, toolName: string, schema: any)
source/mcp-server.ts:415
↓ 1 callers
Method
generateSampleParams
(schema: any)
source/mcp-server.ts:425
↓ 1 callers
Method
getActiveListeners
()
source/tools/broadcast-tools.ts:247
↓ 1 callers
Method
getAllNodes
()
source/tools/node-tools.ts:637
↓ 1 callers
Method
getAssetDependencies
(urlOrUUID: string, direction: string = 'dependencies')
source/tools/asset-advanced-tools.ts:487
↓ 1 callers
Method
getAssetDetails
(assetPath: string, includeSubAssets: boolean = true)
source/tools/project-tools.ts:1034
↓ 1 callers
Method
getAssetInfo
(prefabPath: string)
source/tools/prefab-tools.ts:600
↓ 1 callers
Method
getAvailableComponents
(category: string = 'all')
source/tools/component-tools.ts:1169
↓ 1 callers
Method
getAvailableTools
()
source/tools/tool-manager.ts:238
↓ 1 callers
Method
getBroadcastLog
(limit: number = 50, messageType?: string)
source/tools/broadcast-tools.ts:153
↓ 1 callers
Method
getBuildSettings
()
source/tools/project-tools.ts:666
↓ 1 callers
Method
getComponentCategory
(componentType: string)
source/tools/node-tools.ts:1096
↓ 1 callers
Method
getConfigurations
()
source/tools/tool-manager.ts:242
↓ 1 callers
Method
getConsoleLogs
(limit: number = 100, filter: string = 'all')
source/tools/debug-tools.ts:221
↓ 1 callers
Function
getCreatorTypesVersion
()
scripts/preinstall.js:58
↓ 1 callers
Method
getCurrentScene
()
source/tools/scene-tools.ts:124
↓ 1 callers
Method
getEditorInfo
()
source/tools/debug-tools.ts:403
↓ 1 callers
Method
getFilesFromDirectory
(dirPath: string, fileFilter: string[], recursive: boolean)
source/tools/asset-advanced-tools.ts:377
↓ 1 callers
Method
getFilteredTools
(enabledTools: any[])
source/mcp-server.ts:128
↓ 1 callers
Method
getJsonFixSuggestions
(jsonStr: string)
source/tools/validation-tools.ts:238
↓ 1 callers
Method
getLogFileInfo
()
source/tools/debug-tools.ts:493
↓ 1 callers
Method
getNetworkInterfaces
()
source/tools/server-tools.ts:223
↓ 1 callers
Method
getNodeTree
(rootUuid?: string, maxDepth: number = 10)
source/tools/debug-tools.ts:275
↓ 1 callers
Method
getNodeWithChildren
(nodeUuid: string)
source/tools/prefab-tools.ts:925
↓ 1 callers
Method
getPerformanceStats
()
source/tools/debug-tools.ts:326
↓ 1 callers
Method
getPrefabList
(folder: string = 'db://assets')
source/tools/prefab-tools.ts:213
↓ 1 callers
Method
getProjectInfo
()
source/tools/project-tools.ts:495
↓ 1 callers
Method
getProjectLogs
(lines: number = 100, filterKeyword?: string, logLevel: string = 'ALL')
source/tools/debug-tools.ts:424
↓ 1 callers
Method
getProjectSettings
(category: string = 'general')
source/tools/project-tools.ts:518
↓ 1 callers
Method
getSceneHierarchy
(includeComponents: boolean = false)
source/tools/scene-tools.ts:398
↓ 1 callers
Method
getSceneViewStatus
()
source/tools/scene-view-tools.ts:535
↓ 1 callers
Method
getServerStatus
()
source/tools/server-tools.ts:132
↓ 1 callers
Method
getSimplifiedToolsList
()
source/mcp-server.ts:398
↓ 1 callers
Method
getStatus
()
source/mcp-server.ts:326
↓ 1 callers
Method
getTestReport
()
source/test/tool-tester.ts:139
↓ 1 callers
Method
getToolManagerState
()
source/tools/tool-manager.ts:409
↓ 1 callers
Method
getUnusedAssets
(directory: string = 'db://assets', excludeDirectories: string[] = [])
source/tools/asset-advanced-tools.ts:497
↓ 1 callers
Method
groupResultsByTool
()
source/test/tool-tester.ts:156
↓ 1 callers
Method
handleMCPRequest
(req: http.IncomingMessage, res: http.ServerResponse)
source/mcp-server.ts:204
↓ 1 callers
Method
handleMessage
(message: any)
source/mcp-server.ts:246
↓ 1 callers
Method
handleSimpleAPIRequest
(req: http.IncomingMessage, res: http.ServerResponse, pathname: string)
source/mcp-server.ts:334
↓ 1 callers
Method
importAsset
(sourcePath: string, targetFolder: string)
source/tools/project-tools.ts:561
↓ 1 callers
Method
importConfiguration
(configJson: string)
source/tools/tool-manager.ts:383
↓ 1 callers
Method
importPreferences
(importPath: string)
source/tools/preferences-tools.ts:323
← previous
next →
101–200 of 464, ranked by callers