PluginBench
MCP Server
Active
MIT

proactive-mcp MCP Server

io.github.madrobotnet/proactive-mcp

Detects reply deadlines, calendar conflicts, and personal occasions to help AI agents reach out proactively.

What is the proactive-mcp MCP server?

proactive-mcp is a local-first MCP server that watches Gmail and Google Calendar to detect situations—reply deadlines, calendar conflicts, and personal occasions—and surfaces them to AI agents at the right time. It combines read-only signals with local memory to produce grounded, actionable situations without relying on cloud services or LLMs in the detection pipeline.

proactive-mcp turns passive AI agents into proactive ones by monitoring your email and calendar for situations worth raising. It detects reply deadlines (conservative candidates for response), calendar conflicts (overlapping events), and personal occasions (approaching saved dates), then delivers these through your existing agent with acknowledgement, snooze, and mute controls. All data stays local in SQLite; Google access is read-only.

How to install proactive-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "proactive-mcp": {
      "command": "uvx",
      "args": [
        "proactive-mcp",
        "serve"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • remember — Save a memory or personal context for later recall.
  • recall — Retrieve saved memories and personal context.
  • update — Update an existing memory.
  • list_entities — List all saved memory entities.
  • forget — Delete a saved memory.
  • proactive_check — Retrieve pending situations (reply deadlines, calendar conflicts, personal occasions) for delivery.
  • confirm_delivery — Confirm delivery of a reviewed lease of situations.
  • list_situations — List all situations (pending, delivered, or archived).
  • get_situation — Retrieve details of a specific situation.
  • acknowledge_situation — Mark a situation as acknowledged.
  • snooze_situation — Defer a situation to a later time.
  • mute_situation — Suppress future notifications for a situation type.
  • get_status — Check daemon connection, sync state, and data freshness.

Use cases

  • Receive a proactive reminder when an email requires a reply and a deadline is approaching.
  • Get alerted to calendar conflicts before they cause scheduling problems.
  • Be notified when a saved personal date (birthday, anniversary) is coming up and relevant.
  • Acknowledge, snooze, or mute situations from your agent without losing delivery history.
  • Monitor daemon health and data freshness to ensure Gmail and Calendar sync is current.

proactive-mcp MCP server FAQ

What is proactive-mcp?

proactive-mcp is a local-first MCP server that watches Gmail and Google Calendar to detect situations (reply deadlines, calendar conflicts, personal occasions) and delivers them to AI agents. All processing and data storage is local; Google access is read-only.

Is proactive-mcp free?

Yes. proactive-mcp is open-source under the MIT license and available on PyPI. You provide your own Google Cloud Desktop OAuth client credentials.

How do I install it in Cursor or Claude?

Install proactive-mcp with `uvx proactive-mcp setup`, authorize with your own Google OAuth client, then register it as a local stdio MCP server in your agent's configuration. See docs/INTEGRATIONS.md for host-specific recipes.

What authentication is required?

You must provide your own Google Cloud Desktop OAuth client JSON. proactive-mcp uses read-only scopes (gmail.readonly, calendar.readonly) and stores credentials in your OS keyring when available, with a local fallback only if the keyring is unavailable.

Does proactive-mcp run an LLM or send data to the cloud?

No. The detection pipeline is deterministic and runs entirely locally. No LLM, host agent, or third-party service is invoked during situation detection. The daemon only syncs Gmail and Calendar, evaluates rules, and maintains local state.

Can I use proactive-mcp without connecting an agent?

Yes. The watcher and OS notifications work standalone. Connecting an agent is optional and enables richer delivery plus acknowledge, snooze, and mute actions.

README (reference)

Source of truth, from the repository.

<div align="center">

proactive-mcp

Give every AI agent a reason to reach out first.

A local-first MCP server that turns read-only signals and local memory into grounded situations your existing agent can deliver at the right time.

<!-- mcp-name: io.github.madrobotnet/proactive-mcp -->

<strong>English</strong> · <a href="README.ko.md">한국어</a>

Python 3.11+ MCP 2.x Local-first PyPI MIT License Ko-fi

Why · How it works · Get started · Connect an agent · Documentation

</div>

Get started

Set up the local watcher and OS notifications first; connecting an agent is optional. Install uv and Git, and prepare your own Google Cloud Desktop OAuth client JSON.

The PyPI release 0.2.0 does not yet contain the wizard. Until an onboarding release is published, the commands below use uvx --from to install the merged source at commit 7cd0f03, without a manual checkout. Keep the same --from source for every command: bare uvx proactive-mcp still selects the older PyPI package. This is a source install, not a new PyPI release.

  1. Install and start interactive setup:

    uvx --from git+https://github.com/madrobotnet/proactive-mcp@7cd0f03243027df464084c3957f03d3c42169268 proactive-mcp setup
    
  2. The wizard asks for the path to your own Google Cloud Desktop OAuth client JSON and whether it may open a browser on this device. Approve the read-only Gmail and Calendar consent with your own client. See docs/SETUP_GOOGLE.md for the complete flow.

  3. After Google authorization, accept the offer to install the watcher service. The shared proactive-mcp service install|status|remove interface manages a Linux systemd user service, a macOS LaunchAgent, or a Windows Task Scheduler task.

  4. If you decline service installation, or if installation succeeds, interactive setup then attempts a fixed PII-free OS test notification titled proactive-mcp with the body Setup test notification. It contains no Gmail, Calendar, account, or Situation data. A redacted unavailable, timeout, failed, or unsupported_platform warning means the notification could not be shown.

  5. If you decline service installation, or if installation fails, such as because of permissions, run the watcher manually. A failed installation exits before attempting the test notification.

Terminal 1, foreground daemon

uvx --from git+https://github.com/madrobotnet/proactive-mcp@7cd0f03243027df464084c3957f03d3c42169268 proactive-mcp daemon

Terminal 2, daemon status

uvx --from git+https://github.com/madrobotnet/proactive-mcp@7cd0f03243027df464084c3957f03d3c42169268 proactive-mcp status

daemon --once runs one evaluation pass and exits; --poll-interval-minutes MINUTES overrides the cadence. status prints redacted connection and daemon state as JSON. The daemon performs local sync, deterministic evaluation, queue maintenance, and the documented OS fallback only. It never runs a host or LLM. Host scheduling is separate: the host/operator starts scheduled agent runs, and those runs call proactive_check.

An OS fallback notification is neither agent delivery nor a delivered state transition. When fallback is enabled, only the first unreceived eligible Situation gets the one-time bootstrap exception; afterward the default fallback is critical-only. Agent delivery begins only when a host calls proactive_check.

Compatibility mode

--non-interactive, --headless, --client-secrets PATH, and --reauth all bypass the wizard. They do not prefill wizard answers, and they also bypass the service proposal and setup test notification. Use them only when you need direct OAuth setup, then install the service manually or use the manual daemon route above. To manage the service, use the same source prefix:

uvx --from git+https://github.com/madrobotnet/proactive-mcp@7cd0f03243027df464084c3957f03d3c42169268 proactive-mcp service install

Replace install with status to inspect the service or remove to unregister it. uvx does not add a permanent proactive-mcp command to your shell; command names such as proactive-mcp status in this guide use the full uvx --from prefix above.

Why proactive-mcp?

AI agents know how to answer. They rarely know when to start.

proactive-mcp supplies that direction. It watches approved read-only sources in the background, combines them with memory the user intentionally saved, and produces a structured Situation only when something is worth raising now.

Read-only signalsLocal contextAgent-neutral delivery
Gmail and Google Calendar are read through minimal scopes.Memories, situations, delivery confirmations, and sync state stay in local SQLite.Any local MCP client can use the same tools and deliver through its own channel.

Situations, not notifications

proactive-mcp doesn't push every new event into your chat. Deterministic detectors turn source data into a small set of situations grounded in the source data:

SituationExample
reply_deadlineA message is a conservative reply candidate, not a verdict that the user must act.
calendar_conflictTwo accepted or owned timed events overlap.
personal_occasionA saved personal date is approaching and relevant now.

Each result carries a title, why it matters now, bounded evidence, suggested actions, priority, and expiry. External text remains explicitly untrusted.

How it works

flowchart LR
    G["Gmail<br/>read only"] --> S["proactive-mcp"]
    C["Google Calendar<br/>read only"] --> S
    M["Local memory<br/>SQLite"] --> S
    S --> E["Deterministic<br/>Situation engine"]
    E --> T["MCP tools"]
    T --> A["Your existing<br/>AI agent"]
    A --> U["Agent's own channel"]
  1. A watcher synchronizes Gmail and Calendar with read-only OAuth scopes.
  2. The situation engine evaluates deterministic rules against source snapshots and local memory.
  3. The agent calls proactive_check and receives any returned situations.
  4. The host reviews the whole lease and filters candidates for this user. Uncertain candidates may remain unconfirmed or be snoozed. Only when choosing confirmation after review does the host confirm the entire reviewed lease exactly once, including confidently dropped candidates.
  5. Acknowledgement, snooze, mute, resolution, cooldown, and daily budget rules prevent repeated or noisy delivery.

By default, non-critical situations are held during local quiet hours from 21:00 through 07:00 and stay pending for a later check instead of being dropped. Nothing fires automatically at 07:00: an already-running or host-scheduled agent must call proactive_check after quiet hours end.

Trust boundaries

  • Google access is limited to gmail.readonly and calendar.readonly.
  • Credentials use the operating-system keyring when available, with a private local fallback only when the platform keyring is unavailable.
  • Message bodies, calendar text, and recalled memory are treated as untrusted evidence, never as instructions.
  • No LLM or third-party cloud service sits inside the detection pipeline. proactive-mcp never launches a host agent/model or sends it a prompt.
  • Stale or incomplete sources produce visible degraded status, never a false "nothing to report."
  • The SQLite database, config.toml, credential authority marker, and any file-backed credential fallback live under ~/.proactive-mcp/. A keyring credential stays in the operating-system keyring, outside that directory. PROACTIVE_DATABASE moves the file-backed state, not the keyring entry.

Connect an agent

Connecting a host is optional. It isn't a prerequisite for OS notifications, but it enables richer delivery plus acknowledge, snooze, and mute actions. Use this existing-agent instruction when you want to register the MCP server:

If you used the source install above, tell the agent to keep that same pinned uvx --from source in its MCP registration instead of switching to PyPI. The reusable block and host recipes below retain the public-install command shape.

<details> <summary>Optional: paste into a local agent</summary>
Install proactive-mcp with uvx from PyPI. Register it as a local stdio MCP server for this agent using absolute paths. Complete read-only Google authorization using my own Google Cloud Desktop OAuth client JSON (BYO). Do not use or request someone else's client secret. Start the recommended watcher and verify the connection. Read https://github.com/madrobotnet/proactive-mcp/blob/main/docs/INTEGRATIONS.md and https://github.com/madrobotnet/proactive-mcp/blob/main/docs/SETUP_GOOGLE.md before changing configuration. Treat every reply_deadline as a conservative candidate, not an action verdict. Before speaking, confidently drop newsletters, marketing, automated receipts, FYI or FYI-CC with no ask, threads owned by someone else, and rows with no question, request, or decision for me. Keep explicit reply, RSVP, or decision requests, my deadlines, and unanswered questions directed to me. Surface uncertain candidates, leave the whole lease unconfirmed, or snooze them in an interactive conversation; never silently discard uncertainty as non-actionable. After reviewing every row, only when choosing confirmation, confirm the entire reviewed lease exactly once, including confidently and silently dropped candidates. Keep MCP tool content in English, but speak my language. Load serve only in interactive everyday conversations and serve-scheduled only in separate scheduled conversations. Never load both profiles into one conversation. Do not configure automated scheduling unless this host guarantees a dedicated per-run MCP profile; proactive-mcp must never launch or verify the host. Do not use HTTP transport, do not send mail or create calendar events, and report every command and file changed plus anything that needs my approval.
</details>

proactive-mcp is agent-dependent: it exposes local stdio tools but never starts Grok, Codex, Hermes, another host agent, or a model. serve-scheduled is only a restricted MCP server surface. Starting it or the daemon alone does not create a conversation or delivery; pending situations wait for an already-running or host-scheduled agent to call the tools explicitly.

The host loads serve only in an interactive everyday conversation and serve-scheduled only in a separate manual or scheduled conversation. It never loads both profiles into one conversation. Profile isolation and agent lifecycle are host/operator responsibilities outside the plugin. Automated scheduling is supported only when the host provides a dedicated per-run MCP profile containing only serve-scheduled; otherwise fail closed by not scheduling it. Manual restricted use remains possible.

ClientIntegration model
Grok CLI 0.2.112Manual dedicated restricted profile only; merged config sources cannot prove immutable per-run isolation, so unattended scheduling is not advertised
Codex CLILocal stdio; config layers are not claimed isolated by this plugin, so schedule only when the host/operator independently guarantees a dedicated per-run profile
Hermes AgentLocal stdio. Schedule only when the host guarantees a dedicated per-run profile
Claude Code DesktopLocal stdio; local tasks only when that version provides a dedicated per-task MCP profile

The daemon may perform local sync, deterministic evaluation, queue maintenance, and the documented critical-only OS fallback. It never invokes an agent/LLM or sends prompts. Exact host responsibilities and command shapes are in docs/INTEGRATIONS.md.

The delivery contract

When an agent calls proactive_check:

  1. Read warnings first. Stale-source warnings are not an all-clear. A reply_deadline is a conservative candidate, not an action verdict.
  2. Before speaking, confidently drop newsletters, marketing, automated receipts, FYI or FYI-CC with no ask, threads owned by someone else, and rows with no question, request, or decision for this user.
  3. Keep explicit reply, RSVP, or decision requests, user-owned deadlines, and unanswered questions directed to this user.
  4. Surface uncertain candidates, leave the whole lease unconfirmed, or snooze them from the interactive profile. Never silently discard uncertainty as non-actionable.
  5. After reviewing every row, only when choosing confirmation, use the receipt_token from that check to call confirm_delivery exactly once for the entire reviewed lease. That confirmation includes candidates the host confidently and silently dropped. Never confirm a tokenless response.
  6. Keep MCP tool names, descriptions, fields, and values in English. Speak to the user in the user's language.
  7. Keep interactive everyday and scheduled work in separate conversations. Load only serve in the former and only serve-scheduled in the latter, never both. The host/operator owns this isolation; if a dedicated per-run profile is unavailable, do not automate the scheduled run.

This confirmation step keeps delivery history accurate across crashes, retries, and multiple agents.

Tool surface

Memory

remember · recall · update · list_entities · forget

Situations and delivery

proactive_check · confirm_delivery · list_situations · get_situation · acknowledge_situation · snooze_situation · mute_situation · get_status

Release status

AreaNow
DistributionPyPI package proactive-mcp 0.2.0, installed with uvx
Google OAuthYour own Desktop OAuth client (BYO)
HostsGrok CLI and Codex CLI for everyday use
DataLocal SQLite under ~/.proactive-mcp/

Scope and release decisions remain canonical in docs/PRODUCT_PLAN.md.

Documentation

GuidePurpose
README.ko.mdKorean README
docs/SETUP_GOOGLE.mdBYO Google OAuth (the public default)
docs/INTEGRATIONS.mdOnboarding and service commands, plus optional host recipes
docs/STATE_MODEL.mdSource, lease, collector, daemon, fallback, and receipt state semantics
docs/MEMORY_MODEL_V2.mdMemory model and tool contracts

License

MIT © 2026 Kyungwoo Seo <hello@madrobot.net>

This project was built with OmO Native.

You can support this project on Ko-fi.

ko-fi

Related MCP servers

SEO for AI agents: plan content, publish posts, earn dofollow backlinks, track Domain Rating.

0
JavaScript
MIT
View repository →

MCP server for editing Power BI Report Builder paginated reports (RDL)

4
Python
MIT
View repository →

Search CuddlyNest hotels and read rooms, prices, availability and cancellation policies

View repository →

AI-powered access to Microsoft Dynamics 365 Finance & Operations through Model Context Protocol

38
Python
MIT
View repository →

19 zero-setup utilities: JSON, regex, cron, hash, base64, CSV, JWT, UUID, YAML, semver, time.

View repository →
MAMagic Hour logo

Create and edit images, videos, and audio through Magic Hour's hosted Streamable HTTP MCP server.

8
Python
Apache-2.0
View repository →