Skip to content

Trae client guide

Connect Trae to your calendar and mail

Use Pear tools from Trae with your connected iCloud or Microsoft 365 account and a static private header.

Connection details

The values Trae asks for first.

Pear hosted endpointhttps://pearmcp.com/api/mcp
Authentication
Static Bearer header
Setup surface
MCP servers → add manually
Streamable HTTPPersonal API keyStreamable HTTP

Trae documents remote HTTP MCP with static headers. Pear host testing remains open.

Setup guide availableOfficial setup reference
Get ready

1. Prepare the account

Sign in to Pear, connect iCloud or Microsoft 365, and create an API key in Settings. Trae sends the header you type. It does not open a browser to sign in to Pear, and it does not refresh an expired token.

Make the connection

2. Add Pear manually

In Trae, open the AI chat, then MCP servers, and add a server manually. Paste this remote configuration into your private Trae settings and replace the placeholder with your Pear key.

{
  "mcpServers": {
    "pear": {
      "url": "https://pearmcp.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_PEAR_API_KEY"
      }
    }
  }
}

Keep the Bearer prefix. Do not commit this file or paste the completed header into a chat. If the key is revoked, edit the header yourself. Trae's documented remote path is this static header, not interactive OAuth.

Check it works

3. Verify a real tool result

Ask Trae to call pear_provider_status and name the ready services for your account. Then ask it to find a calendar event you already know, with a narrow date range and the correct timezone.

Inspect the actual tool response. If Trae only describes how it would check your calendar, the read has not happened.

Put it to use

From a read to a reviewed draft

Try: “Find tomorrow's planning meeting and summarize its time and attendees. Then preview a follow-up email for me to review; do not send it.” Review the draft, recipient list, and sending account before approving any write through Pear.

Troubleshoot the connection or remove access

An authentication error calls for checking the URL, the header name, and that the value starts with Bearer . An unavailable provider calls for checking the connected account in Pear.

Revoke the key in Pear to end its access, then delete the Trae server entry or replace the header value.

Put it to use

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 26 September 2026. Setup guide available; a complete Pear authentication, tool-list, read, and approved-write test in Trae is still pending.

Official Trae IDE MCP settings

Official Trae remote MCP servers

Related guides
All guides
Trae + Pear

Put Trae to work across your providers.

Free includes 50 counted provider actions/month. Most provider reads or writes count as one action. Batch writes count once per item. Setup and discovery do not count. Failed actions Pear can confirm had no provider effect also do not count; actions with an unknown outcome may count. Pro removes the cap.