---
title: "Deploy Automata | WhatsApp, Telegram, SQL MCP"
description: "WhatsApp, Telegram & Postgres MCP for Claude | Alt to Zapier, Composio"
category: "Automation"
url: https://railway.com/deploy/automata-or-whatsapp-telegram-sql-mcp
---

# Deploy Automata | WhatsApp, Telegram, SQL MCP

WhatsApp, Telegram & Postgres MCP for Claude | Alt to Zapier, Composio

**[Deploy Automata | WhatsApp, Telegram, SQL MCP on Railway](https://railway.com/template/automata-or-whatsapp-telegram-sql-mcp)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/automata-or-whatsapp-telegram-sql-mcp/manifest.json

- **Creator:** Ju Li's Projects
- **Category:** Automation
- **Total deploys:** 2

## Template content

### Automata MCP https://lhbaovhjuhitknbfclbg.supabase.co/storage/v1/object/public/logos/automata.png

- **Image:** ghcr.io/ju-li/automata-mcp-web:1
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Automata MCP Telegram Bridge https://lhbaovhjuhitknbfclbg.supabase.co/storage/v1/object/public/logos/automata.png

- **Image:** ghcr.io/ju-li/automata-mcp-telegram-bridge:1

### Evolution API https://evolutionfoundation.com.br/favicon.png

- **Image:** evoapicloud/evolution-api:latest
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# Deploy and Host Automata | WhatsApp, Telegram, SQL MCP on Railway

Automata is a self-hosted MCP server that connects Claude to your WhatsApp, Telegram and PostgreSQL. Link an account by QR code or paste a database URL, then issue connector tokens limited to specific chats, tables and tools. Teams share connections inside an organization, with roles, invitations and email alerts when a connection drops.

## About Hosting Automata | WhatsApp, Telegram, SQL MCP

The template deploys the Automata web app (dashboard plus the `/mcp` endpoint), PostgreSQL, Evolution API with Redis for WhatsApp, and a Telegram bridge. Everything shares one Postgres, each part in its own schema, and the app runs its migrations at boot. After deploying, open the web app and sign up, which creates your organization. Then add a connection and mint a token. Paste the `/mcp/` URL into Claude as a custom connector. Telegram needs an API ID and hash from my.telegram.org. These are optional: without them, WhatsApp and SQL work normally. Add SMTP settings to send alert and invitation emails.

## Common Use Cases

- Let Claude/Codex/Grok read, search and summarize WhatsApp or Telegram conversations, including history imported when the account was linked, and send replies
- Give Claude/Codex/Grok read-only (or write) SQL access to a Postgres database, limited to the tables you choose
- Share messaging accounts and databases across a team, with per-member tokens that can be revoked or rotated

## Dependencies for Automata | WhatsApp, Telegram, SQL MCP Hosting

- PostgreSQL (app data, WhatsApp messages, Telegram sync)
- Evolution API + Redis (WhatsApp connections)
- Automata Telegram bridge (Telegram connections; API ID/hash optional)
- SMTP server (optional, for disconnect alerts and invitation emails)

### Implementation Details

- Tokens are bound to a single connection. Tools take no account or database argument, so a token can only reach the connection it was issued for.
- Linking a WhatsApp account imports that number's past conversations once, at pairing. Use a spare number while testing: repeated pairing can get a number banned.
- Run the web app as a single replica. Disconnect alerts are checked in-process, so each extra replica sends duplicate emails.
- For SQL connections, the database role in your connection URL is the real security boundary. Give Claude a role that can only reach what you want it to reach.

## Why Deploy Automata | WhatsApp, Telegram, SQL MCP on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Automata | WhatsApp, Telegram, SQL MCP on Rail to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/automata-or-whatsapp-telegram-sql-mcp
