Skip to content

Connect LibreChat to your calendar and mail

Add Pear to a self-hosted LibreChat so each person can connect their own iCloud or Microsoft 365 account with their own Pear key.

Connection details

The values LibreChat asks for first.

Pear hosted endpointhttps://pearmcp.com/api/mcp
Authentication
Per-user API key
Setup surface
librechat.yaml mcpServers
Self-hostedPer-user API keyStreamable HTTP

LibreChat documents streamable-http MCP servers with per-user variables in headers. Pear testing in LibreChat remains open.

Setup guide availableOfficial setup reference
Get ready

1. Prepare Pear

Each person who will use Pear in LibreChat needs their own Pear account. They sign in to Pear, connect iCloud or Microsoft 365, and create an API key in Settings. Never put one person's key in a server-wide header.

Make the connection

2. Add Pear to librechat.yaml (administrator)

Add this entry under mcpServers and restart LibreChat. customUserVars asks each user for their own key and stores it per user and per server; LibreChat substitutes it into the header at runtime.

mcpServers:
  pear:
    type: streamable-http
    url: https://pearmcp.com/api/mcp
    headers:
      Authorization: "Bearer {{PEAR_API_KEY}}"
    customUserVars:
      PEAR_API_KEY:
        title: "Pear API key"
        description: "Create a key in Pear Settings. Each person enters their own."
        sensitive: true

Keep the Bearer prefix in the header. Do not add an oauth block: without a client ID LibreChat attempts dynamic client registration, which Pear does not offer.

Users with the CREATE permission can instead add a server from MCP Settings in the interface. If you do, choose a per-user API key so LibreChat creates a matching per-user variable.

Check it works

3. Enter your key and check a result

Each user opens Configure for Pear in the chat composer, or MCP Settings, and enters their Pear API key. Then ask: “Call pear_provider_status and tell me which accounts and services are ready. Do not change anything.”

Follow with one day of events from a named calendar in your timezone, and compare with your calendar app.

Put it to use

Try it in a conversation

Try: “Find the last three emails from my accountant and summarise what they asked for. Do not reply or change anything.” Review any proposed reply, its recipients and the sending account before approving a write.

Troubleshooting and removing access

A 401 error usually means the user has not entered a key, the key is inactive, or the Bearer prefix is missing. Check that type is streamable-http and the URL is complete.

To remove access, revoke the key in Pear, then clear it in LibreChat's MCP Settings. An administrator can remove the pear entry to remove the server for everyone.

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 25 November 2026. Setup guide available; a complete Pear authentication, tool-list, read, and approved-write test in LibreChat is still pending. LibreChat's configuration reference describes the current development version; check it against your installed release.

LibreChat: MCP servers configuration

All guides

Connect LibreChat

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.