Skip to main content

bodhisattva-mcp

The pause before a regrettable send.

demo placeholder — replaced in Task 13

An MCP server that intercepts email sends from AI agents (Claude Desktop, Claude Code, Cursor, Codex) and runs every draft through a wisdom-frame pass. Depending on what the frame sees, it either:

  • proceeds — sends immediately via Gmail;
  • revises — returns a suggested rewrite and does not send; or
  • holds — does not send (critical wellbeing signal, or consequential with no safe revision).

Every pause is logged to a local SQLite journal. A localhost-only web UI at http://localhost:8473 lets you review past pauses and see the framing's reasoning.

Quickstart

# 1. Install
uv tool install bodhisattva-mcp

# 2. Drop in your Google Cloud OAuth client secret (see Install guide).
#    Assumes exactly one client_secret_*.json in ~/Downloads — rename manually if you have several.
mkdir -p ~/.bodhisattva && mv ~/Downloads/client_secret_*.json ~/.bodhisattva/client_secret.json

# 3. Configure your LLM provider
export ANTHROPIC_API_KEY=sk-ant-...

# 4. Wire into your MCP client (example: Claude Code)
cat > .mcp.json <<'EOF'
{
  "mcpServers": {
    "bodhisattva": {
      "command": "uvx",
      "args": ["bodhisattva-mcp"]
    }
  }
}
EOF

Full setup (Google Cloud OAuth, all MCP clients): docs/install.md.

What it does

Existing AI safety layers protect infrastructure and budgets. Bodhisattva protects relationships. When an agent tries to send an email on your behalf, the framing looks at: emotional context, interpersonal stakes, whether the draft would be hard to take back — and inserts a pause.

You stay in the loop. The agent gets a clear structured response (proceed / revise / hold) it can act on. The journal at http://localhost:8473 lets you see your own patterns over time.

What it doesn't do (yet)

v0.1 is intentionally narrow:

  • Gmail only. Slack, Outlook, and other wrappers are v0.3+.
  • No hosted memory. The framing is stateless: it sees the current draft and optional context field, not your past conversations. Memory-aware framing is v0.2.
  • No Google verification. You bring your own Google Cloud OAuth app, so you're a "test user" of your own app. This is a feature: your drafts never touch any server except the LLM provider you chose.

Privacy

Local-first. Your drafts stay on your machine except for the framing call you chose to route through your LLM provider. Credentials are stored at ~/.bodhisattva/ with 0600 permissions. Full details: docs/privacy.md.

Install

Full install guide: docs/install.md.

Status

  • v0.1 (this release): free tier — one wrap (send_email), local journal, bring-your-own LLM key.
  • v0.2 (planned): hosted memory-aware framing + paid subscription.
  • v0.3+: Slack, Outlook, additional wrappers as demand dictates.

Contributing

See CONTRIBUTING.md. Changelog: CHANGELOG.md.

License

MIT — see LICENSE.

Metadata

Release files for bodhisattva-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bodhisattva-mcp 0.1.0
File Size Uploaded Provenance Actions
bodhisattva_mcp-0.1.0.tar.gz 159.3 kB With provenance Details for bodhisattva_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bodhisattva-mcp 0.1.0
File Interpreter ABI Platform Actions
bodhisattva_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for bodhisattva_mcp-0.1.0-py3-none-any.whl

Total release size: 185.7 kB

Release files / bodhisattva_mcp-0.1.0.tar.gz

Download URL bodhisattva_mcp-0.1.0.tar.gz
Size 159.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bf06464397a7274654fadf97432664d373837097c79056747dc026ca9a405b21
BLAKE2b-256 checksum
How to use checksums
9f1e4cfdd22fd8f0a6719b70ea5e1f1fd424260a96111a92688035747e1cde42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

Release files / bodhisattva_mcp-0.1.0-py3-none-any.whl

Download URL bodhisattva_mcp-0.1.0-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5e56c73a31c102724d4389180b133425db0baf0ef76631afcb066e5d97bbb9c
BLAKE2b-256 checksum
How to use checksums
9fff7c803302e25bf9a4c3c6559eefc923838c1c52486b89a02ea81564711267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

Security for bodhisattva-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bodhisattva_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page