1. Prepare Pear
Create a Pear account, connect Apple iCloud or Microsoft 365, and keep your Pear endpoint handy. Use OAuth if VS Code starts a browser auth flow; otherwise use a Pear API key as a bearer token.
Start Free2. Add Pear as an MCP server
VS Code's Copilot MCP docs support adding MCP servers through the UI or workspace/user configuration. For a checked-in workspace config, use a server entry like this and place the token in an environment variable rather than committing it.
{
"servers": {
"pear": {
"type": "http",
"url": "https://pearmcp.com/api/mcp",
"headers": {
"Authorization": "Bearer ${env:PEAR_API_KEY}"
}
}
}
}3. Verify from Copilot Chat
- Ask Copilot to list available Pear tools and confirm the server is enabled.
- Start with a read-only request such as checking today's calendar.
- Move to action prompts after you confirm the right provider account is connected.
- Keep the Pear API key in your local environment or secret store.