Skip to content
VS Code

Copilot Studio MCP for VS Code

io.github.jgt87/copilot-studio-mcp

Build, test, ship and maintain Microsoft Copilot Studio agents from the editor

client:VS Code transport:stdio runtime:npm

Install Copilot Studio MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cps-workspace",
      "description": "CPS_WORKSPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cps-tenant-id",
      "description": "CPS_TENANT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cps-client-id",
      "description": "CPS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cps-read-only",
      "description": "CPS_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cps-tools",
      "description": "CPS_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "copilot-studio-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "copilot-studio-mcp"
      ],
      "env": {
        "CPS_WORKSPACE": "${input:cps-workspace}",
        "CPS_TENANT_ID": "${input:cps-tenant-id}",
        "CPS_CLIENT_ID": "${input:cps-client-id}",
        "CPS_READ_ONLY": "${input:cps-read-only}",
        "CPS_TOOLS": "${input:cps-tools}"
      }
    }
  }
}

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

Copilot Studio MCP in other clients