# proactive-mcp

Watches Gmail and Google Calendar through read-only scopes and hands your agent structured situations: a reply deadline, overlapping meetings, a personal date.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 12
- Author: madrobotnet
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/madrobotnet/proactive-mcp
- Updated: 2026-09-10
- HTML: https://affpapa.org/en/nevibecode/mcp/proactive-mcp

## What it does

A background watcher pulls mail and calendar events, and a rules engine compares those snapshots with memory stored in a local SQLite file. You do not get an alert for every new message. Instead the server produces a short list of situations, each with a title, a reason it matters now, bounded evidence, priority and expiry.

Your agent asks for them by calling `proactive_check`, then delivers whatever it finds over its own channel. The daemon never runs a host or a model, so scheduling belongs to the host. Text pulled from mail and calendar stays marked as untrusted.

Setup wants `uv`, Git and your own Google Cloud Desktop OAuth client JSON. The PyPI `0.2.0` package predates the setup wizard, so the README routes every command through `uvx --from git+https://github.com/madrobotnet/proactive-mcp@7cd0f03243027df464084c3957f03d3c42169268`; plain `uvx proactive-mcp` still resolves to the older release. Once Google consent is granted, register the watcher with `proactive-mcp service install` or run the daemon by hand.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add proactive-mcp -- uvx proactive-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from proactive-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add proactive-mcp -- uvx proactive-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from proactive-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "proactive-mcp": {
            "command": "uvx",
            "args": [
                "proactive-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from proactive-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "proactive-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "proactive-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from proactive-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add proactive-mcp uvx proactive-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from proactive-mcp <command>

## When to use it
- catch a message that needs a reply before the deadline passes
- spot two accepted calendar events that overlap
- remember a personal date saved in local memory
- let the agent open a conversation instead of waiting for a prompt
- keep situation data on the machine in SQLite

## Example prompts
- Run `proactive_check` and tell me if anything needs a reply today.
- Call `proactive_check` and list the high-priority situations.
- Check `proactive_check` for calendar conflicts this week.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
