# API-Supp [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/yehudashtein/wa-bridge-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/api-supp

## Description
WhatsApp REST API and OAuth MCP for your existing number. Connects existing WhatsApp numbers by QR through an unofficial bridge. OAuth cloud MCP supports multiple numbers, text messaging and chat context. A separate local MCP adds files, voice notes and media downloads. REST and signed incoming webhooks are also available.

## Tools
Capabilities this server exposes over MCP:

- **search_contacts** — Search your contacts by name or number
- **list_chats** — List chats (with last message)
- **get_chat** — Look up chats
- **list_messages** — Read messages with filters (chat, time, sender, media, …)
- **get_message_context** — Messages around a specific one
- **get_last_interaction** — Most recent message with a contact
- **send_message** — Send a text message
- **send_file** — Send media / voice notes
- **download_media** — Download media from a message
- **sync_history** — Ask the bridge to re-sync history

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "api-supp": {
    "url": "https://api.api-supp.com/v1"
  }
}
```

## Documentation

## What API-Supp does

API-Supp MCP server gives MCP-compatible assistants access to WhatsApp through the api-supp hosted bridge. It is designed for an existing WhatsApp number and authenticates requests with a tenant token that is scoped to the account associated with that token.

The server supports both reading and writing workflows. An assistant can search contacts, inspect available chats, retrieve messages with filters, examine messages around a specific message, and find the latest interaction with a contact. It can also send text, files, and audio messages, download media attached to messages, and request a history resynchronization from the bridge.

## How it works

The repository runs as a thin HTTP client. Each MCP operation is sent to the bridge's REST API, using the configured bridge URL and bearer token. The server does not maintain a local database, perform QR pairing, or store sensitive WhatsApp information on the machine where it runs.

The token limits access to the user's own WhatsApp account. It does not provide access to other users' account data. The bridge also handles encoding for non-ASCII text, including Hebrew, Arabic, and emoji.

MCP clients communicate with the server through its standard local process configuration. Once the process is registered and running, the WhatsApp tools become available to the client.

## Setup and configuration

Python 3.11 or newer is required. The project recommends `uv`; installation can be completed by cloning the repository and running `uv sync`, or by installing the project with `pip install -e .`.

Set these environment variables before starting the server:

- `WHATSAPP_BRIDGE_TOKEN`: Required tenant bearer token, identified by the `wat_` prefix.
- `WHATSAPP_BRIDGE_URL`: Optional bridge base URL. It defaults to `https://api.api-supp.com/v1` and should include `/v1` when using another value.
- `WHATSAPP_HTTP_TIMEOUT`: Optional per-request timeout in seconds. The default is `30`.

For local configuration, the project supports copying `.env.example` to `.env`. MCP client configurations can also provide the variables directly. Claude Desktop and Claude Code launch the server with `uv`, pointing the command at the project directory and `main.py`. The client must be restarted after adding the server configuration so the tools are loaded.

## Tools and capabilities

The available operations include:

- `search_contacts` for finding contacts by name or number.
- `list_chats` for listing chats and their last messages.
- `get_chat`, `get_contact_chats`, and `get_direct_chat_by_contact` for chat lookup.
- `list_messages` for retrieving messages with chat, time, sender, media, and related filters.
- `get_message_context` for retrieving messages around a selected message.
- `get_last_interaction` for finding the most recent exchange with a contact.
- `send_message` for sending text.
- `send_file` and `send_audio_message` for sending media and voice notes.
- `download_media` for retrieving media from a message.
- `sync_history` for asking the bridge to synchronize history again.

## Limitations and notes

A valid tenant token and reachable bridge URL are necessary for API requests. The server itself does not pair a WhatsApp number through QR code, so account connection and bridge onboarding happen outside this local MCP process.

Because the server is an HTTP client, its behavior depends on the configured bridge and network connection. Keep the tenant token secret when placing it in environment files or MCP client configuration. The implementation is released under the MIT license and is derived from `lharries/whatsapp-mcp`; the repository includes a `NOTICE` file for that relationship.

_Full upstream README: https://allmcps.com/mcp/api-supp/readme_

