Use the iClosed MCP server from GitHub Copilot's agent mode in Visual Studio Code.
Before you connect: MCP must be turned on for your workspace (Settings → Developer → MCP, by an account owner or super admin). You don't need an API key. More about requirements.
VS Code opens and asks you to confirm the new server. Then go to Sign in.
To add iClosed to one workspace, create .vscode/mcp.json:
{
"servers": {
"iclosed": {
"type": "http",
"url": "https://mcp.iclosed.io/mcp"
}
}
}To add it for all your workspaces instead, run MCP: Open User Configuration from the Command Palette and add the same iclosed entry under servers.
- Click Start above the
iclosedentry inmcp.json, or run MCP: List Servers and start iclosed. - VS Code asks to sign in. Your browser opens the iClosed consent screen. Sign in and click Allow access.
Open Copilot Chat in Agent mode and ask: "Show me my contacts in iClosed." You should see an iClosed tool call and an answer from your workspace.
If something goes wrong, see Troubleshooting.