# Automata MCP

> Your WhatsApp, Telegram, email and Postgres as a Claude connector

- Page: https://www.whatwemade.app/p/automata-mcp
- What it is: Web app (also MCP server), for productivity, also engineering and data
- Made by: [Ju Li](https://www.whatwemade.app/u/ju-li)
- Run it yourself: get the code and run your own copy
- Live: https://mcp.getautomata.app
- Code: https://github.com/ju-li/automata-mcp (MIT, 8 stars)
- Languages: English
- Tags: mcp, whatsapp, telegram, postgres, claude
- Upvotes: 0, comments: 0

## About

Automata lets Claude, Codex or any MCP client read your WhatsApp, Telegram, email and PostgreSQL. You connect an account by scanning a QR code, signing in to a mailbox or pasting a connection string. Then you create a connector token, limit it to the chats, folders, tables and tools you choose, and paste its URL into Claude as a custom connector. Claude can read, search and summarise conversations and query data. It can send messages, save email drafts or write rows only when the token allows it.

I built it because I wanted Claude to answer questions from my team's group chats and our database without handing it everything. So it's made for teams: organizations with admins and members, connections assigned to people, scoped tokens that can be rotated or revoked, two-factor sign-in, email alerts when a connection drops, and a 30-day log of tool calls with the one-line reason Claude gave for each.

Most of the hard work was making the answers trustworthy. WhatsApp stores the same message several times with different sender names, so reads remove duplicates in SQL before paging. Every page says when there is more, so Claude doesn't summarise half a conversation as the whole thing. For databases, scoped tokens are checked against the query plan, not the SQL text, and run read-only one statement at a time. That catches functions, partitions and statements that never name a table.

It runs hosted or self-hosted: one-click Railway template, Docker Compose, or a single all-in-one container with Postgres, Redis, Evolution API and the Telegram bridge inside.

## How it was made

- Claude Code, 26% of the work: Wrote and reviewed code across the web app, Telegram bridge and docs
- Stack: TypeScript, Node, Postgres, Tailwind, shadcn/ui, Stripe, Railway, MCP SDK

## What you need to run it

- Tools: Docker
- Platform: Railway (optional)
- Accounts and keys: Spare WhatsApp number (optional), Telegram API ID and hash (optional), SMTP server (optional)

Shared on WhatWeMade: https://www.whatwemade.app/p/automata-mcp
