# Automata [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/ju-li/automata-mcp  
**GitHub Stars:** 21  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/automata

## Description
Scoped, revocable access to your WhatsApp, Telegram, IMAP email and PostgreSQL for AI agents.

## 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": {
  "automata": {
    "url": "https://mcp.getautomata.app/mcp"
  }
}
```

## Documentation

## What Automata does

Automata combines four connectors behind MCP: WhatsApp, Telegram, IMAP email, and PostgreSQL. It lets compatible AI clients list, search, and read communications; send text in permitted WhatsApp or Telegram chats; inspect mail and attachments; and query PostgreSQL. Email remains read-oriented: the connector can save drafts but cannot send, move, flag, or delete messages.

Access is organized around connector tokens. Each token belongs to exactly one linked account or database connection, so an AI request does not select another account by passing an account or database argument. Tokens can be restricted to selected chats, mail folders, database tables, and tools. They can also expire, be rotated, or be revoked.

## How it works

The hosted deployment exposes a streamable-HTTP MCP endpoint at `https://mcp.getautomata.app/mcp`. Clients authenticate with a connector token using a bearer header; clients unable to set headers can use the token in the MCP URL path. Tokens are displayed once and stored as SHA-256 hashes.

WhatsApp connects a phone number as a linked device through Evolution API. Telegram links a personal account as an extra device rather than using the Bot API. IMAP uses an account username and app password. PostgreSQL uses a connection string, preferably with a least-privilege database role.

Permission checks are applied before data is returned. Searches and listings exclude resources outside the token scope. PostgreSQL reads run one statement at a time in a read-only transaction, and the query plan is checked against the table allowlist before rows are read. The database role remains an important security boundary.

## Setup and configuration

You can use the hosted service by signing up at `mcp.getautomata.app`, then creating a connection and minting a connector token from its dashboard. Add the resulting connector URL to an MCP client.

Self-hosting is available through Railway or Docker. The Docker deployment runs the all-in-one image, publishes port 3000, and persists application data in `/data`. Its example configuration sets `NUXT_PUBLIC_APP_URL` to the public URL of the deployment. After deployment, create connections and tokens through the dashboard in the same way as the hosted service.

## Tools and capabilities

Connector capabilities include:

- WhatsApp: list chats, read and search messages, and send text in allowed chats and groups.
- Telegram: list chats, read and search messages, and send text in allowed chats.
- IMAP: list folders, list and search mail, read messages, fetch attachments, and save drafts.
- PostgreSQL: list and describe tables, run read-only queries, inspect a query plan with `explain`, and run writes through `run-statement` when that tool is granted.

New PostgreSQL and email tokens start read-only. Tools outside a token's grants are not registered for that request, and the AI cannot expand its own permissions.

## Limitations and notes

PostgreSQL writes require the `run-statement` tool and are limited to one `INSERT`, `UPDATE`, `DELETE`, or `MERGE` statement; operations are rolled back when they exceed the configured row cap. Email has no send capability, even when other write-like actions are available elsewhere. WhatsApp and Telegram sending is limited to chats included in the token scope.

A least-privilege PostgreSQL role should be used in the connection string. The server is MIT-licensed and can be hosted by the service or run on infrastructure you control.

_Full upstream README: https://allmcps.com/mcp/automata/readme_

