Capes is a self-hosted MCP (Model Context Protocol) server designed to give AI assistants access to real accounts. After users deploy Capes to their own Vercel account, the same server can serve any client that supports MCP over HTTP, including Claude Desktop, Claude Code, Cursor, and Codex. All service credentials (Gmail app passwords, Discord bot tokens, Apify tokens, etc.) are stored in the user's own Vercel environment variables or their own Postgres database and never pass through a third-party platform.
Key capabilities: Capes provides 68 tools covering Gmail (17), Discord (47), X search (1, via Apify), and Telegram (3). Gmail tools support searching, reading emails and threads, fetching attachments, managing labels, sending/replying/forwarding emails, creating and sending drafts, modifying email status (read/unread, starred, archived, labeled), deleting, marking as spam, and more. Discord tools cover sending messages (text, embeds, replies), direct messages, file uploads, polls, editing/deleting messages, bulk deletion, pinning, reactions, channel and thread management, forum tags, webhooks, roles and permissions, member management (nicknames, kick/ban/timeout), invites, audit logs, and more. Telegram tools support sending messages, getting chat information, and polling updates.
Usage: Users can deploy with one click via the Vercel deploy button (requires five mandatory variables: MCP_API_KEY, ENCRYPTION_KEY, DATABASE_URL, DASHBOARD_USER, DASHBOARD_PASSWORD), or use the command-line installer node scripts/capes.mjs install to complete deployment and automatically connect AI clients. After deployment, log in via the /dashboard dashboard to test connectors, browse tools, run read-only tools, view activity, copy client configuration, and generate Discord invite links. Clients must be configured with the server address https://<project>.vercel.app/mcp and Authorization: Bearer <MCP_API_KEY>.
Use cases: Suitable for individuals or small teams that need AI assistants to help with email, community messages, and social media monitoring. For example, having the assistant summarize unread customer emails, read unanswered questions in Discord channels, search X for product discussions, and draft replies for users to review before sending.
Limitations and security: Each tool is marked as read, write, or destructive, and clients can request confirmation before executing risky operations. Users can disable a service or an individual tool in the dashboard, or set the entire server to read-only mode. All calls undergo key verification, parameter validation, and limit checks. The project uses the MIT license and is open source and extensible. Note: Sent emails and messages cannot be undone, so it is recommended to have the assistant generate drafts first. Some features (such as Discord application commands and stickers) are not yet available.