# Dipeshpal/capes [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/Dipeshpal/capes  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dipeshpal-capes

## Description
Free, self-hosted MCP server you deploy to your own Vercel: 62 tools for Gmail (app password), Discord (bot) and X search, with an owner dashboard, per-tool switches and a read-only mode. No database needed.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Dipeshpal/capes), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Configure:

```sh
node scripts/capes.mjs env --name <your-project-name>
```

2. Install:

```sh
git clone https://github.com/Dipeshpal/capes.git
```

3. Install:

```sh
cd capes
```

4. Install:

```sh
node scripts/capes.mjs install
```

5. Install:

```sh
node scripts/capes.mjs install --name my-capes --database postgres://... --dashboard-user admin --dashboard-password your8pluscharpassword --discord TOKEN --apify TOKEN --gmail you@gmail.com --gmail-password APP_PASSWORD --clients desktop,cursor
```

6. Add to your MCP client:

```sh
node scripts/capes.mjs connect        # configures Claude Desktop, Claude Code, Cursor, Codex
```

## Documentation

## What Dipeshpal/capes does

Dipeshpal/capes connects MCP-compatible AI clients to four services through a server you deploy in your own Vercel account: Gmail, Discord, X, and Telegram. The project exposes 68 tools in one endpoint rather than requiring a separate connector for each client or service.

Gmail support includes Gmail-syntax search, message reading, sending, replying, forwarding, drafts, labels, archiving, and trash operations. Discord tools cover reading and posting messages, edits, deletion, reactions, threads, forums, polls, files, webhooks, channels, roles, permissions, moderation, and audit logs. X is represented by a tweet-search tool backed by an Apify scraper. Telegram tools send messages, retrieve chat information, and poll recent updates.

The owner dashboard lets you test service credentials, inspect and try available tools, review recent activity, and copy client connection configuration. It also provides controls for disabling a service, disabling individual tools, or switching the entire server into read-only mode. Tools are categorized as read, write, or destructive.

## How it works

The deployed application exposes an `/mcp` endpoint for AI clients and a `/dashboard` route for administration. Requests to the MCP endpoint use an `MCP_API_KEY`. Before a tool runs, a guard checks the key, validates arguments, and applies the configured access limits.

Credentials can be supplied through Vercel environment variables or stored in encrypted form in the owner’s Postgres database. The supported service credentials include a Gmail app password, a Discord bot token, and an Apify token for X search. The deployment is intended to keep these credentials within the owner’s Vercel project and database.

## Setup and configuration

Create a Vercel account, generate an MCP API key, obtain credentials for the services you plan to use, and deploy the project. The documented setup flow takes about 20 minutes, depending on how many service credentials you create. A Postgres connection is used for the deployment, with a session-pooler URL recommended for hosted Postgres providers such as Supabase.

Configure `MCP_API_KEY`, `DATABASE_URL`, and `ENCRYPTION_KEY` for the deployment. The encryption key and MCP key should be separate long random strings. The dashboard can use the MCP key for sign-in, or you can configure separate `DASHBOARD_USER` and `DASHBOARD_PASSWORD` values. Service credentials may be entered during deployment or added afterward through the dashboard.

After deployment, open `/dashboard` to test connectors and adjust tool access. Connect an MCP client to the deployed `/mcp` endpoint using the API key and the generated client configuration.

## Tools and capabilities

- Search Gmail using Gmail query syntax and manage messages, drafts, labels, archives, and trash.
- Read, post, edit, delete, and react to Discord messages.
- Work with Discord threads, forums, polls, files, webhooks, channels, roles, permissions, moderation, and audit logs.
- Search tweets through an Apify-backed X connector.
- Send Telegram messages, inspect chat information, and poll recent updates.
- Test connectors and invoke tools from the dashboard.
- Apply read-only, service-level, and individual-tool restrictions.

## Limitations and notes

The deployment requires your own Vercel project and Postgres database. Gmail access uses an app password rather than a Google Cloud project. X search depends on an Apify scraper and token. Write and destructive actions can be restricted, but the corresponding services and tools must be configured before they can be used. The server is designed for a single owner-controlled deployment rather than a centrally managed hosted account.

_Full upstream README: https://allmcps.com/mcp/dipeshpal-capes/readme_

