# LibreChat MCP setup for iCloud and Outlook with Pear

<!-- MCP_HOST_IDS: librechat -->
<!-- MCP_HOST_COMPATIBILITY:START -->
## Connection and authentication

Use the authentication method shown for each client surface.

| Client surface | Authentication | Setup guide |
| --- | --- | --- |
| LibreChat | API key | Setup guide available |
<!-- MCP_HOST_COMPATIBILITY:END -->

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

## 1. Prepare Pear

Each person who will use Pear needs their own Pear account: [sign in to
Pear](https://pearmcp.com/login), connect iCloud or Microsoft 365, and create an API
key in Settings. Never put one person's key in a server-wide header.

## 2. Add Pear to librechat.yaml (administrator)

```yaml
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
```

`customUserVars` asks each user for their own key and stores it per user and per
server. Keep the `Bearer ` prefix. 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 the server from MCP Settings with a per-user API
key.

## 3. Enter your key and check a result

Each user opens Configure for Pear in the chat composer, or MCP Settings, and enters
their key. Ask LibreChat to call `pear_provider_status` and name the ready accounts and services. Then read one day of events from a named calendar with your timezone, and compare the result with your calendar app. If no Pear tool ran, nothing was read.

## Troubleshooting and revocation

A 401 error usually means no key was entered, the key is inactive, or the `Bearer `
prefix is missing. Revoke the key in Pear, then clear it in MCP Settings; an
administrator can remove the `pear` entry for everyone.

## Provider limits and next steps

Tools depend on your connected provider, account permissions, and client settings. Start with a read, then inspect a preview before approving writes.

- [iCloud setup](https://pearmcp.com/icloud-mcp-server)
- [iCloud Mail](https://pearmcp.com/ai-icloud-mail)
- [Microsoft 365 setup](https://pearmcp.com/microsoft-365-mcp-server)
- [Outlook Mail](https://pearmcp.com/outlook-mail-mcp)
- [Microsoft To Do](https://pearmcp.com/microsoft-to-do-mcp)
- [Data handling](https://pearmcp.com/data-handling)
- [Plans](https://pearmcp.com/pricing)

Pear's hosted CalDAV connection cannot access Apple's upgraded Reminders store. Only legacy reminder data still exposed through CalDAV is available; reconnecting cannot change this limit. Microsoft To Do is unaffected. Gmail works with a Google app password. Google sign-in for Calendar, Tasks and Contacts is coming soon.

## 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](https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers)
- [HTML setup guide](https://pearmcp.com/guides/librechat)
