Skip to content
VS Code

Funplay Cocos MCP for VS Code

io.github.funplayai/funplay-cocos-mcp

stdio bridge for the local Cocos Creator Editor MCP server from FunplayAI/funplay-cocos-mcp.

client:VS Code transport:stdio runtime:npm

Install Funplay Cocos MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "funplay-cocos-mcp-url",
      "description": "FUNPLAY_COCOS_MCP_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "funplay-cocos-mcp-timeout-seconds",
      "description": "FUNPLAY_COCOS_MCP_TIMEOUT_SECONDS",
      "password": true
    }
  ],
  "servers": {
    "funplay-cocos-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "funplay-cocos-mcp"
      ],
      "env": {
        "FUNPLAY_COCOS_MCP_URL": "${input:funplay-cocos-mcp-url}",
        "FUNPLAY_COCOS_MCP_TIMEOUT_SECONDS": "${input:funplay-cocos-mcp-timeout-seconds}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Funplay Cocos MCP in other clients