# Factory Droid MCP setup for iCloud and Outlook with Pear

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

Use the authentication method shown for each client surface.

| Client surface | Authentication | Setup guide |
| --- | --- | --- |
| Factory Droid | API key via environment | Setup guide available |
<!-- MCP_HOST_COMPATIBILITY:END -->

Add Pear to the Droid CLI so it can read your connected iCloud or Microsoft 365
account, with the API key kept in your shell environment.

## 1. Prepare the key

[Sign in to Pear](https://pearmcp.com/login), connect iCloud or Microsoft 365, and
create an API key in Settings. Make it available as `PEAR_API_KEY` in the environment
that starts Droid. Do not paste it into a chat or a committed file.

## 2. Add Pear to your user configuration

```bash
droid mcp add pear https://pearmcp.com/api/mcp --type http \
  --header 'Authorization: Bearer ${PEAR_API_KEY}' --no-oauth
```

The single quotes keep `${PEAR_API_KEY}` literal so Droid expands it when it connects.
`--no-oauth` stops Droid trying an OAuth sign-in; Pear has no Droid OAuth client. The
command writes to `~/.factory/mcp.json`:

```json
{
  "mcpServers": {
    "pear": {
      "type": "http",
      "url": "https://pearmcp.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${PEAR_API_KEY}"
      },
      "oauth": false,
      "disabled": false
    }
  }
}
```

Do not add Pear to a project's `.factory/mcp.json`, which is committed to the
repository. If `PEAR_API_KEY` is unset, Droid reports the missing variable.

## 3. Check the connection and one result

Type `/mcp` in Droid to see Pear's status. Ask Droid 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 sign-in prompt means the server was added without `--no-oauth`. For authentication
errors, check `PEAR_API_KEY` in the shell that started Droid. Revoke the key in Pear and
remove the server from the `/mcp` manager.

## 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 Factory Droid is still pending.

- [Factory: MCP configuration for Droid](https://docs.factory.com/cli/configuration/mcp)
- [HTML setup guide](https://pearmcp.com/guides/factory-droid)
