Listed from the MCP registry; nobody on Odel publishes it.
Local-first mail, calendar, and task MCP with isolated accounts and guarded writes.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Distributed as an MCP bundle (`https://github.com/nkiyohara/corresync/releases/download/v0.10.0/corresync_0.10.0.mcpb`) — download it and import the bundle in your MCP client.
A local CLI and MCP server for mail, calendars, and tasks.
It runs on your computer and works across providers.
Website · Getting started · Providers · Features · Safety · Privacy · Terms · Technical docs
corr is a command-line tool and a local
Model Context Protocol (MCP) server that
reaches all your mail, calendar, and task accounts while keeping them separate.
Gmail, Google Calendar, and Google Tasks use a Desktop OAuth client in a Google Cloud project you control. Corresync-managed Google OAuth is dormant. Tasks also work with Microsoft To Do, Todoist, TickTick, and CalDAV VTODO, each a route you select yourself. Other task providers are unavailable until their contracts are implemented.
$ corr mail search --all-accounts \
--query 'subject:"Quarterly plan"' --limit 3
● work · microsoft-owa Ana Ruiz Plan review
· personal · jmap Finance Plan receipt
$ corr agenda list --all-accounts \
--start 2026-07-29T00:00:00Z \
--end 2026-07-30T00:00:00Z
Connect an agent to the same local server:
corr integrations detect
corr integrations plan codex claude-code
corr integrations setup codex claude-code
# Phase A also includes github-copilot, gemini-cli, qwen-code, qoder, kimi-code
Then ask it something like:
Check my inboxes, calendars, and task lists and summarize what needs attention today.
If one provider fails, the output reports a partial failure and still shows the results that succeeded. Writes always target exactly one account.
Mail, calendar, and tasks each have their own route. For example, an account can use IMAP/SMTP for mail and CalDAV for its calendar, and pick a task route separately.
| Route | Calendar | Tasks | Authentication | |
|---|---|---|---|---|
| Outlook Web | Typed reads and writes | Selectable calendars; provider-supported Teams link | — | Dedicated visible browser profile |
| Google (your OAuth client) | Gmail API reads and writes; no permanent delete | Selectable calendars; Google Meet when advertised | Google Tasks through a separate task-only grant | Your Desktop OAuth client; client credential and grants in the OS keyring |
| Microsoft Graph | Typed reads and writes | Selectable calendars; typed Teams-link creation | Microsoft To Do | Your authorized public OAuth client; OS-keyring grant |
| Todoist | — | — | Typed Todoist operations | Your authorized public OAuth client; OS-keyring grant |
| TickTick | — | — | Typed TickTick operations | Your authorized confidential OAuth client; external secret handle and OS-keyring grant |
| JMAP | Typed mail operations | — | — | OS keyring or approved credential helper |
| IMAP / SMTP | IMAP read/manage and SMTP draft/send | — | — | OS keyring or approved credential helper |
| CalDAV | — | Typed calendar operations and conditional scheduling | VTODO lists, search, sync, and reviewed writes | OS keyring or approved credential helper |
Discovery reads DNS, well-known, and provider metadata without credentials. It
never signs in or adds an account. Corresync never falls back to Microsoft
Graph or your own Google authorization; you must choose them. Google discovery
can guide you through creating the Desktop client, but no Google sign-in starts
until you run corr auth login. See the
annotated Google setup guide.
iCloud has a guided preset over the standard IMAP/SMTP and CalDAV adapters.
corr setup recognizes documented iCloud Mail address families, or a domain
with the complete verified set of Apple SRV endpoints. It reviews mail and
calendar as one account and uses one external credential handle by default.
After the account is added, you can have it open Apple's app-password page and
the OS credential prompt. The corr process never reads the app-specific
password.
Every available v0.9 route above has synthetic provider-contract and application tests. The user-owned Google API route is available but live-unobserved. Other provider and platform implementations stay live-unobserved until an authorized observation record with no account content is tied to the exact commit. Live-unobserved means the code passes synthetic tests, but no real-account check is on record for that commit. Read the compatibility evidence before you connect a sensitive account.
The setup buttons on the Corresync website open your desktop agent with a request already filled in. The request installs Corresync or updates an existing install. Nothing is sent until you review it and send it yourself. Manual commands, package managers, and downloads are below.
Set up with ChatGPT · Set up with Claude
Recommended: the standalone CLI. New setups turn on verified automatic updates. If Corresync is already installed, setup keeps your package manager, configuration and update setting unless you choose to change them.
You need the ChatGPT Codex or Claude Code desktop app with local access to this computer. Approve each permission prompt when it appears. You don't need administrator rights. Sign in to your accounts and complete MFA yourself. Never paste passwords or codes into the chat.
If you're on a phone, open this page on the computer you want to set up or copy the instructions to it.
For a guided page, follow getting started on the website.
The standalone installers are the quickest option on every platform. They pick the latest stable release, verify the archive and the binary, install for the current user without admin rights, and do not touch account setup.
curl -LsSf https://corresync.org/install.sh | sh
corr --version
powershell -NoProfile -Command "irm https://corresync.org/install.ps1 | iex"
corr --version
You can read install.sh or
install.ps1 before running it. Package
managers are fully supported too:
# Homebrew · macOS or Linux
brew install nkiyohara/corresync/corresync
# WinGet · Windows
winget install --id nkiyohara.Corresync --exact
# Scoop · Windows
scoop bucket add corresync https://github.com/nkiyohara/scoop-corresync
scoop install corresync/corresync
Direct archives, native Linux packages, version pinning, checksums, and Sigstore provenance are in the installation guide. The guided website shows the same commands for people who don't use GitHub much.
Claude Desktop users can also install the platform-universal .mcpb from the
latest release.
It runs the same verified corr mcp serve binary locally over stdio. It does
not deploy Corresync or relay mailbox data. Install the CLI first to add
accounts and sign in (steps below), then open or drag the .mcpb into Claude
Desktop.
Interactive commands do a quiet, cached release check at startup. If an update
exists, Corresync prints the command for your install: corr update for the
standalone build, or the matching Homebrew, Scoop, or WinGet command. It never
changes package-managed files.
Stable releases are the default. Standalone users who want signed release candidates can choose the preview channel in:
corr settings
For scripts, the same change is:
corr config set updates.channel preview
corr update
To switch back, run corr config set updates.channel stable. Corresync never
downgrades the running binary. Preview releases are not published to
package-manager catalogs.
New standalone configurations install verified updates automatically. Existing configurations keep their current setting. To turn it on:
corr config set updates.auto_install true
Automatic installation never runs during MCP tool calls, configuration changes,
daemon work, JSON output, pipes, or other non-interactive use. Bare corr also
checks when interactive. After verifying an update, the updater restarts the
session owner (the local process that holds your sign-in sessions) and runs
your command with the new executable. Session owners from 0.9.2 also
exit after something else replaces the executable, once accepted operations
finish. To turn installation off, run
corr config set updates.auto_install false.
corr setup
corr setup reads your local state to see what is already done, so you can
resume it. It can install shell completion at a user-local path it shows you.
It then discovers routes without credentials, previews the mail, calendar, and
task routes, and adds the account only after you confirm. Signing in, or
allowing access to an external credential, is a separate choice. The same run
can add more accounts, select several detected agent hosts, preview their local
integration plans, apply them after one confirmation, and check each result.
Running it again skips what already works and offers missing or repairable
steps.
After you choose a connection route, the wizard shows a checklist of services. For a Microsoft account, Outlook Mail and Calendar are checked by default, and you can change each one. Microsoft To Do is optional and needs its own Graph authorization. Teams messaging can be selected as a preview, through Teams Web or a Graph authorization you grant. Mattermost is also available as a preview. These previews lack complete live compatibility evidence. Discovery only shows which routes exist; it does not prove that a checked service is enabled for the account.
corr settings opens the same account wizard in an arrow-key form. Use it to
sign in to, rename, select, or remove accounts, and to manage updates, safety,
and browser sign-in. Its Setup entry runs corr setup.
The top-level Accounts category holds Add account and your accounts; selecting
one shows only its actions. Removal shows the local data it deletes and asks
you to confirm; removing the default first asks which account replaces it.
Each choice also shows the equivalent command. Set CORRESYNC_ACCESSIBLE=true
for line-by-line screen-reader prompts, and type :cancel to leave an input
step safely. To rename directly:
corr account rename personal work
For scripts, use the non-interactive form:
corr setup you@example.com --alias personal
corr auth login --account personal
corr doctor --account personal
corr setup ADDRESS writes the same secret-free local configuration, runs
discovery without credentials, and adds only a first-party route that can be
selected automatically. It never opens a sign-in page.
If no route can be selected safely, or you want an API or standards route, look at the discovery results and choose the provider settings yourself:
corr account discover reader@example.invalid
corr account add reader@example.invalid --help
For Gmail, Google Calendar, and Google Tasks, create a Desktop OAuth client in a Google Cloud project you control. Guided setup checks the client JSON you download and stores the credential generated from it in the OS keyring. The Google OAuth setup guide covers the current Cloud Console screens, audience choices, exact APIs and scopes, import, and login.
Before you install, you can use the optional
provider compatibility checker
to classify public evidence for an address. Your browser sends only the
domain after the @, in a request body. It never sends the part before the
@, stores the address, or starts sign-in. The service uses one fixed DNS
resolver and returns no raw DNS records. You can skip it and run
corr account discover ADDRESS locally.
Adding an account does not sign you in. OAuth routes need a client registration
you are authorized to use. Google also needs a separate external handle for its
generated Desktop client credential. Standards routes use a keyring entry or an
approved helper reference. Passwords and tokens never go into config.toml.
See account and provider configuration. For Outlook
Web, the later auth login opens a dedicated, visible browser profile. That
window holds the session until account logout or daemon shutdown. SSO, MFA,
Conditional Access, and organization notices stay in the provider's own sign-in
flow.
corr mcp setup codex
Run corr mcp --help for Claude Code, GitHub Copilot CLI, Gemini CLI, Qwen
Code, Qoder, Kimi Code CLI, and generic stdio clients. Corresync exposes 72
narrow tools and two read-only monitor resources. There is no HTTP, SSE, or
remote MCP endpoint, and no hosted relay.
An agent cannot sign you in by itself. When an account needs sign-in, the agent
can ask through the account_sign_in tool, and your MCP client then asks you.
The prompt names the account and the sign-in page. Only if you accept does
Corresync open the same browser sign-in as corr auth login. This works for
an account you have already signed in to once from the terminal with the same
connection settings, on a computer with a display; otherwise the agent gets
the command for you to run.
Writes such as sending mail use a server-enforced preview -> commit
protocol. The first command shows the normalized account, provider, target,
recipients, content digest, and version preconditions, and changes nothing.
printf 'Synthetic body.\n' | \
corr mail send \
--account work \
--to reader@example.invalid \
--subject 'Review example' \
--body-file -
Check every field, then run the same command again with --approve:
printf 'Synthetic body.\n' | \
corr mail send \
--account work \
--to reader@example.invalid \
--subject 'Review example' \
--body-file - \
--approve
Approval is short-lived, single-use, and tied to the caller, account, provider, target, payload, and effect. Changing any reviewed field invalidates it. Over MCP, preview and commit are separate tools.
See the complete safety model. The Privacy Policy covers Google data access, local storage, disclosure, retention, and removal. The Terms of Use keep the software rights that Apache-2.0 grants.
off to local notifications, a durable
queue, and finally one approved runner that uses no shell. Sending data off
your computer needs separate consent.gh client after an interactive failure.Corresync treats mailbox, calendar, import, and event-queue content as private, untrusted data. That content can never run a command or start an agent.
features.md lists each provider's actions and gaps.
AI agents ───────── MCP over stdio ─┐
├── typed use cases + effect policy
Humans and scripts ──────── corr ───┘ │
│ authenticated local IPC
session owner
├── browser-owned sessions
├── explicit OAuth + keyring
└── standards adapters
The session owner has no TCP listener. On Unix, before a client sends the local bearer token, it checks and pins the private runtime directory (which does not depend on environment variables), the singleton lock, the socket, and the peer UID. On Windows, clients first check the protected named pipe, its owner and DACL, the server process, and the SID.
See the architecture, authentication model, and threat model for details.
| I want to… | Start here |
|---|---|
| Install and verify a release | Installation |
| Add accounts and choose routes | Configuration |
| Understand browser, OAuth, and standards sign-in | Authentication |
| Learn CLI commands | CLI guide |
| Connect an AI client | MCP guide |
| Compare provider actions and degradations | Feature matrix |
| Consume stable machine output | JSON contract |
| Integrate versioned public/local contracts | Versioning policy |
| Verify compatibility claims | Evidence matrix |
| Review privacy and Google data handling | Privacy Policy |
| Review use and open-source license terms | Terms of Use |
| Connect Google with your own Desktop client | Google OAuth setup |
| Review the dormant managed-client plan | Google verification runbook |
| Review every guide | Documentation map |
If you are upgrading from a version before v0.7, see the
historical migration guide. corr is the main
command. The product, package, repository, configuration roots, plugin, and MCP
server are still named Corresync.
Read CONTRIBUTING.md and AGENTS.md. Default tests and CI use only synthetic fixtures:
mise exec -- task verify
Please report vulnerabilities through GitHub private vulnerability reporting, not in a public issue.
For remote terminals, see graphical login over SSH.