get_scene_list
获取项目场景列表 / List all scenes in the project
How to use it
get_scene_list is exposed by the Cocos MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_scene_list tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Cocos MCP Server
claude mcp add --transport http cocos-creator http://127.0.0.1:3000/mcpOther tools in Cocos MCP Server (39)
添加组件 / Add a component to a node
将节点变更应用到预制体 / Apply node changes back to the prefab asset
关闭当前场景 / Close the current scene
复制资源 / Copy an asset to a new path
创建新资源 / Create a new asset
创建新节点 / Create a new node
从节点创建预制体 / Create a prefab asset from a node
创建新场景 / Create a new scene
删除节点 / Delete a node
检测节点类型 / Detect the type of a node
复制节点 / Duplicate a node
进入预制体编辑模式 / Enter prefab editing mode
执行组件方法 / Call a method on a component
退出预制体编辑模式 / Exit prefab editing mode
按名称查找节点 / Find a node by name
按条件查找节点 / Find nodes by filter criteria
获取场景所有节点 / Get all nodes in the scene
获取资源信息 / Get information about an asset
获取资源列表 / List assets in the project
获取组件信息 / Get component information
获取节点所有组件 / Get all components on a node
获取当前场景信息 / Get current scene information
获取节点详细信息 / Get detailed information about a node
获取场景层级结构 / Get the full scene node hierarchy
导入资源文件 / Import an asset file
实例化预制体 / Instantiate a prefab into the scene
移动资源 / Move an asset to a new path
移动节点到新父节点 / Move a node to a new parent
打开指定场景 / Open a scene by path
移除组件 / Remove a component from a node
重置组件属性 / Reset a component to its default values
重置节点属性 / Reset a node property to its default
从预制体还原节点 / Revert a prefab instance to the asset
保存预制体 / Save the current prefab
保存当前场景 / Save the current scene
场景另存为 / Save the current scene to a new path
设置组件属性 / Set a component property value
设置节点属性 / Set a property on a node
设置节点变换(位置/旋转/缩放)/ Set node position, rotation, and scale