Add the Copilot Studio MCP server to OpenCode

Add the Copilot Studio entry the way OpenCode’s own docs describe, fill in what it needs, then check it’s connected.

  1. Open opencode.json

    Where the file is: ~/.config/opencode/opencode.json, opencode.json

  2. Paste the server entry

    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "microsoft-copilot-studio": {
          "type": "local",
          "command": [
            "npx",
            "-y",
            "@microsoft/copilot-studio-mcp"
          ],
          "enabled": true
        }
      }
    }

    If the file already has servers, add the entry inside the existing object.

  3. Check it’s connected

    Restart or reload OpenCode and look for microsoft-copilot-studio in its list of MCP servers. A server that needs sign-in opens it on first use.

OpenCode’s MCP docs · Copilot Studio MCP server →

Other clients