cocos-mcp

tidys/cocos-mcp

3.4

If you are the rightful owner of cocos-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

cocos-mcp is a tool that allows AI to interact with the CocosCreator editor using the MCP protocol.

cocos-mcp

基于mcp协议,实现通过AI去操作CocosCreator编辑器。

使用教程

  1. 安装nodejs,并全局安装cocos-mcp

    npm i cocos-mcp -g

  2. 在mcp客户端(vscode/windsurf等)中配置mcp-server

    {
        "cocos-mcp": {
            "command": "cocos-mcp",
        }
    }
    
  3. 下载支持mcp协议的cocos creator插件,并安装到creator项目中

  4. 在mcp客户端中刷新mcp-server,如果一切正常,就会看到creator插件提供的mcp tools。