Add the Work IQ User MCP server to OpenCode

Add the Work IQ User 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-work-iq-user": {
          "type": "remote",
          "url": "https://agent365.svc.cloud.microsoft/agents/tenants/<tenant_id>/servers/mcp_MeServer",
          "enabled": true
        }
      }
    }

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

  3. Fill in the values

    What you fill in

    Required values appear as <NAME> placeholders in the snippets; add optional ones the same way. Descriptions are the server’s registry entry’s.

    • <tenant_id> Value Required

      Microsoft Entra tenant ID

  4. Check it’s connected

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

OpenCode’s MCP docs · Work IQ User MCP server →

Other clients