1. Prepare Visual Studio and Pear
You need Visual Studio 2026, or Visual Studio 2022 version 17.14 or later, signed in to GitHub Copilot. Your organisation's Copilot policy must allow agent mode and MCP servers; an organisation allow list can block servers it has not approved.
Sign in to Pear, connect iCloud or Microsoft 365, and create an API key in Settings.
2. Add Pear from the chat tool picker
Open GitHub Copilot Chat, switch to Agent mode, select Tools, then the plus (+) button. In Visual Studio 2026 choose Add custom MCP server. In the dialog, use Pear as the server ID, choose HTTP/SSE as the type, enter the endpoint, and add a header named Authorization with the value Bearer YOUR_PEAR_API_KEY.
https://pearmcp.com/api/mcpSave it to your user configuration, %USERPROFILE%\.mcp.json, not a solution file. A <SOLUTIONDIR>\.mcp.json is meant for source control and would publish your key. The saved entry looks like this:
{
"servers": {
"pear": {
"url": "https://pearmcp.com/api/mcp",
"requestInit": {
"headers": {
"Authorization": "Bearer YOUR_PEAR_API_KEY"
}
}
}
}
}This file holds the key as plain text. Keep it out of shared folders and backups you do not control. If Visual Studio shows an Authentication Required CodeLens for Pear, the header is missing or wrong; Pear has no Visual Studio OAuth client to sign in with.
3. Enable the tools and check a result
Visual Studio disables new MCP tools by default. In the tool picker, enable the Pear tools you want, starting with pear_provider_status and the calendar read tools. Ask: “Call pear_provider_status and tell me which accounts and services are ready. Do not change anything.”
Copilot asks before running each tool. Then request one day of events from a named calendar in your timezone and compare it with your calendar app.
Plan work around your day
Try: “Check my calendar for this afternoon and tell me the longest free block before 5pm in Australia/Sydney. Do not create anything.” When you ask for a change, keep tool confirmation on and review the exact event or email before approving it.
Troubleshooting and removing access
If Pear does not appear, check the file is valid JSON and in a location Visual Studio reads. Saving the file reloads the servers. A server not on your organisation's allow list shows a policy error that only an admin can resolve. For authentication errors, check the Bearer prefix and that the key is active.
When Pear adds or changes tools, Visual Studio resets earlier tool approvals and may ask you to trust the server again. To remove access, revoke the key in Pear and delete the pear entry from .mcp.json.
Choose a useful first workflow
Start with a read. Ask which calendars are connected, find an event in a specific date range, or search a mail folder for a message you already know. Specify the account and timezone when they matter.
For Apple accounts, see iCloud setup and services and iCloud Mail workflows. For Microsoft accounts, see Microsoft 365 setup, Outlook Mail, and Microsoft To Do.
Apple Reminders availability depends on the Apple account. For Apple, Pear can read and write only the legacy reminder lists Apple still exposes through CalDAV. If the account has been upgraded to Apple's newer Reminders store, Pear cannot access those native lists and does not copy them into a separate reminder store. Apple may instead return compatibility placeholders, such as repeated "Where are my reminders?" items; Pear did not create them. Pear's safe fallback hides known placeholders and blocks writes to affected lists. Reconnecting iCloud or replacing the App-Specific Password will not change this Apple limitation. Calendar, Contacts, and Mail are unaffected, and Microsoft To Do uses Microsoft Graph and is unaffected. Full modern Apple Reminders access would require an Apple-platform companion using EventKit with the user's permission; Pear does not currently provide one. Google Workspace remains coming soon.
Pear exposes tools allowed by your account and permissions. Your AI client decides when to call them. Review recipients, dates, and content before approving writes. Read how Pear handles your data and the current plans before expanding the workflow.
Sources and compatibility status
Documentation checked on 25 November 2026. Setup guide available; a complete Pear authentication, tool-list, read, and approved-write test in Visual Studio is still pending. Microsoft's page does not show the header field; the header steps and requestInit format come from GitHub's Visual Studio instructions.
Microsoft: use MCP servers in Visual Studio · GitHub: MCP server headers in Visual Studio

