Skip to content
Gemini CLI

Copilot Studio MCP for Gemini CLI

io.github.jgt87/copilot-studio-mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install Copilot Studio MCP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "copilot-studio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "copilot-studio-mcp"
      ],
      "env": {
        "CPS_WORKSPACE": "<CPS_WORKSPACE>",
        "CPS_TENANT_ID": "<CPS_TENANT_ID>",
        "CPS_CLIENT_ID": "<CPS_CLIENT_ID>",
        "CPS_READ_ONLY": "<CPS_READ_ONLY>",
        "CPS_TOOLS": "<CPS_TOOLS>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Copilot Studio MCP in other clients