crusty-proxy
Provides tools for Gmail through Google Workspace/gws CLI, enabling email operations such as sending and managing messages subject to the operations allowlist.
Integrates with Google services including Google Workspace (Calendar, Gmail, Drive, etc.) via gws CLI, Google Places API for read-only places search, and Gemini/Imagen for image generation and editing.
Provides calendar access via CalDAV for iCloud accounts, enabling calendar event operations subject to the operations allowlist.
Provides calendar access via CalDAV for Nextcloud accounts, enabling calendar event operations subject to the operations allowlist.
Integrates with Todoist's official hosted MCP to expose Todoist task management tools, with tool schemas kept current automatically.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
crusty-proxy
A self-hosted MCP proxy server that sits between an AI agent and external APIs as a security layer. The proxy holds all API keys and enforces an operations allowlist — the agent connecting to it never sees a credential.
crusty-proxy was originally built to give OpenClaw safe access to personal services, but it speaks standard MCP (Streamable HTTP and SSE) and works with any MCP client: agentic workflows, coding agents like Claude Code, schedulers, or home-grown automations.
Why
Handing an AI agent your API keys is risky: a compromised or manipulated agent can exfiltrate them. crusty-proxy removes that risk class entirely:
Credential isolation — the agent only sees MCP tools. Keys live in a config file the agent's process can't read, mounted read-only into the proxy container.
Operations allowlist — every tool is gated by
allowlist.json, checked both when the tool list is built and again at call time. Destructive operations (delete email, delete calendar event, …) can simply be left out.Hardened runtime — the container runs as a non-root user with a read-only root filesystem, all capabilities dropped, and no ports exposed beyond an internal Docker network.
What this does not prevent: malicious use of the tools that are permitted. A compromised agent could still send emails or create events within the bounds of the allowlist — keep the allowlist tight.
Related MCP server: mailpouch
How it works
MCP client (AI agent, workflow, …)
│ MCP over Streamable HTTP or SSE
│ http://crusty-proxy:3000/mcp
▼
crusty-proxy container (non-root, read-only rootfs)
│ keys.json (bind-mount, read-only)
│ allowlist.json (bind-mount, read-only)
│
├──► Google Workspace (Calendar, Gmail, … via gws CLI)
├──► CalDAV (Fastmail, iCloud, Nextcloud, …)
├──► IMAP / SMTP
├──► Todoist (official hosted MCP)
├──► Google Places API
└──► Gemini / Imagen (image generation)See docs/architecture.md for the full picture, including the three integration patterns (direct API, upstream MCP passthrough, CLI bridge).
Quick start
The Docker image is published to GHCR — no build step needed.
mkdir -p mcp-proxy/config && cd mcp-proxy
BASE=https://raw.githubusercontent.com/stefanhoth/crusty-proxy/main
curl -fsSL $BASE/docker-compose.yml -o docker-compose.yml
curl -fsSL $BASE/config/keys.example.json -o config/keys.example.json
curl -fsSL $BASE/config/allowlist.json -o config/allowlist.json
cp config/keys.example.json config/keys.json
# Fill in credentials for the services you want (see docs/services.md),
# enable them in config/allowlist.json, then:
docker network create openclaw-internal # shared network the proxy and your agent join
docker compose up -dPoint your MCP client at http://crusty-proxy:3000/mcp (from a container on the same network). docs/deployment.md walks through this setup with a few good-to-know hints; if an autonomous agent runs on the same host, consider the hardened deployment with a dedicated system user and locked-down file permissions.
Documentation
Doc | Contents |
Straightforward Docker Compose deployment, plus good-to-know hints | |
Maximum-isolation setup on a VPS: dedicated system user, file permissions, health checks | |
Per-service credential setup, the operations allowlist, and the full list of available tools | |
Connecting MCP clients — generic clients, mcporter, and OpenClaw specifically | |
System overview, request flow, integration patterns, security model, source layout | |
Running the proxy locally, tests, typechecking | |
Ready-made OpenClaw skill files for the exposed services |
Supported services
Service | Backed by | Notes |
Google Workspace (Calendar, Gmail, Drive, …) | OAuth2; each service toggled independently | |
Calendar (CalDAV) | tsdav | Fastmail, iCloud, Nextcloud, Radicale, … |
IMAP / SMTP | any provider | |
Todoist | official hosted MCP ( | tool schemas stay current automatically |
Places search | Google Places API (New) via goplaces | read-only |
Image generation & editing | Gemini / Imagen | returns MCP image content |
License
See LICENSE. Security policy: SECURITY.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Hosted MCP server for scoped credential retrieval by AI agents. Approve specific service keys, review credential-access audit logs, and revoke future retrieval access. Connect with OAuth or an agent token.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that lets AI agents call APIs without ever seeing the credentials, using a local encrypted vault and per-secret allowlist policies for HTTP requests and subprocess environment variables.1AGPL 3.0
- AlicenseAqualityAmaintenanceAn MCP server that gives AI agents permission-gated, audit-logged access to private email providers (Proton Mail via Bridge and plain IMAP), running locally with OAuth-based authentication and human-controlled escalation for destructive operations.6617MIT
- AlicenseNot gradedqualityBmaintenanceA local-first MCP server that lets AI agents use gated APIs without holding keys, enforcing declarative policies, injecting secrets server-side, and auditing access without content.85 npm3Apache 2.0
- AlicenseNot gradedqualityBmaintenancePermission gateway that hands an AI agent a scoped MCP endpoint instead of an OAuth token: connect 27 services (Gmail, Google Calendar/Drive/Ads/Search Console, Slack, Notion, GitHub, Jira, Salesforce, HubSpot, Stripe, LinkedIn, X, Meta Ads and more), grant per-action permissions finer than native OAuth scopes, audit every call and revoke a key in one click. Self-hostable, MIT.18MIT