# Automata

Automata connects AI agents to WhatsApp, Telegram, IMAP mailboxes, and PostgreSQL with scoped, revocable permissions.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 15 repo stars
- Author: ju-li
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ju-li/automata-mcp
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/automata

## What it does

Automata bridges AI assistants to your communication channels and relational databases. You link WhatsApp or Telegram via QR code, register a mailbox over IMAP, or supply a PostgreSQL connection string. Each linked source produces an isolated connector token. You decide exactly which conversation threads, mailbox folders, database tables, or execution tools that token can touch.

The server bundles twenty-two distinct MCP tools. They cover reading message archives, pulling email attachments, drafting replies, and querying tables. PostgreSQL queries run in read-only transactions by default, checking the query execution plan against your table allowlist before executing any statement.

Repeatedly pairing and unpairing WhatsApp numbers risks carrier account bans, so keep testing on a disposable SIM card. Automata runs either via a hosted web dashboard or locally through Docker containers and Railway templates.

## Requirements
- Remote server: `https://mcp.getautomata.app/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http automata https://mcp.getautomata.app/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add automata --url https://mcp.getautomata.app/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "automata": {
            "url": "https://mcp.getautomata.app/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "automata": {
            "type": "http",
            "url": "https://mcp.getautomata.app/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http automata https://mcp.getautomata.app/mcp
```

## When to use it
- search past discussions across linked WhatsApp and Telegram groups
- inspect mailbox folders and retrieve attachments via IMAP
- run restricted analytical queries on PostgreSQL without risking accidental data overwrites

## Example prompts
- Summarize the action items discussed in our Telegram project group today
- Query the orders table in Postgres to get total revenue grouped by month
- Draft a reply to the newest email received from our support address

## Similar
- [telegram-group-statistics-analytics-bot](https://affpapa.org/en/nevibecode/skills/telegram-group-statistics-analytics-bot.md) — skill · 610 installs
- [WSENDER](https://affpapa.org/en/nevibecode/mcp/wsender.md) — MCP server
- [MailFathom](https://affpapa.org/en/nevibecode/mcp/mailfathom.md) — MCP server · ★ 22 repo stars
- [DialogBrain](https://affpapa.org/en/nevibecode/mcp/dialogbrain.md) — MCP server · 2553 installs
- [InboundPilot — AI Lead Qualifier & Support for Social Media](https://affpapa.org/en/nevibecode/mcp/inboundpilot-ai-lead-qualifier-support-for-social-media.md) — MCP server · 643 installs
- [openclaw-config](https://affpapa.org/en/nevibecode/skills/openclaw-config.md) — skill · 2900 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
