# mcp-ecc [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/karljsamuel/mcp-ecc  
**GitHub Stars:** 5  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-ecc

## Description
Unified MCP server for Email, Calendar & Contacts (Google, M365, Zoho, IMAP/SMTP, DAV).

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/karljsamuel/mcp-ecc), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker run -d --name mcp-ecc \
  -p 127.0.0.1:3001:3001 \
  -v mcp-ecc-data:/data \
  karljsamuel/mcp-ecc:latest
```

2. Check the setup:

```sh
docker logs mcp-ecc 2>&1 | grep "Setup token:"
```

3. Configure:

```sh
sudo chown -R 1001:1001 ./data
```

4. Configure:

```sh
sudo chmod 2775 ./data     # optional: keeps group access for host users
```

5. Start the server:

```sh
docker run -d --name mcp-ecc \
  -p 127.0.0.1:3001:3001 \
  -v mcp-ecc-data:/data \
  --env-file ./mcp-ecc.env \
  karljsamuel/mcp-ecc:latest
```

6. Start the server:

```sh
docker run -d --name mcp-ecc \
  -p 127.0.0.1:3001:3001 \
  -v mcp-ecc-data:/data \
  -e MCP_ENV_FILE=/data/.env \
  karljsamuel/mcp-ecc:latest
```

## Documentation

## What the mcp-ecc MCP server does

The mcp-ecc MCP server consolidates mail, calendar, and contact operations behind a common MCP interface. Agents can use the same tool families regardless of whether an account is hosted by Google, Microsoft 365, Zoho, an IMAP/SMTP mail service, a CalDAV calendar server, or a CardDAV contact server.

Mail tools cover folder and message listing, retrieval, search, sending, moving, flag updates, and deletion. Calendar tools handle calendar and event discovery, event retrieval, availability checks, creation, updates, and deletion. Contact tools support listing, lookup, creation, editing, deletion, and search. Account tools let users list, inspect, add, remove, and synchronize configured accounts.

This fits workflows such as checking several inboxes, coordinating appointments across calendars, looking up contacts, or allowing an assistant to update records in connected services.

## How it works

The application can run as a self-hosted service with a web administration interface, REST API, and MCP endpoint on one port. A user creates or manages accounts through the interface, then gives an MCP client the service URL and that user’s API key. Requests are authenticated with a bearer token.

The npm CLI also provides an interactive terminal interface and a `start` command for running a stdio MCP server. Docker is another supported deployment path. The local deployment uses SQLite, while Cloudflare D1 is available as an alternative database for hosted deployments.

Cloud providers use OAuth 2.0, while IMAP/SMTP uses an app password and CalDAV/CardDAV use passwords. Google, Microsoft 365, and Zoho each provide mail, calendar, and contact access. IMAP/SMTP is limited to mail; CalDAV supplies calendars; and CardDAV supplies contacts.

## Setup and configuration

A Docker deployment requires publishing port 3001 and setting `MCP_ENCRYPTION_KEY`, then opening the local web interface to create the administrator account and add provider accounts. The npm route installs the package globally and can run either the interactive CLI or the stdio server. Source installations build the project before invoking the CLI entry point.

For an HTTP client, configure the `/mcp` endpoint and include the per-user API key in the `Authorization` header. The repository provides separate guidance for providers, deployment, account identity, authentication, and tool input schemas.

## Limitations and notes

Microsoft 365 should use Microsoft Graph OAuth because app passwords are being retired. CalDAV and CardDAV rely on standard WebDAV authentication and were tested against Radicale 3.7.8; other servers are not identified as tested. OAuth-only services such as iCloud without an app-specific password are not supported.

Credentials are encrypted at rest with AES-256-GCM. Installations upgrading from the 0.6.x encryption format must run the migration release first, retain the existing `MCP_ENCRYPTION_KEY`, and back up the SQLite or D1 database before moving to 0.7.x. The later release removes the legacy CryptoJS reader.

The mcp-ecc MCP server does not remove provider-specific account requirements: OAuth applications, app passwords, or WebDAV credentials still need to be configured with each service. Its unified tool names simplify agent access, but available operations remain determined by the connected provider type.

_Full upstream README: https://allmcps.com/mcp/mcp-ecc/readme_

