Self-Hosting & Integration Guide

1. Community Self-Host (Docker Compose — AGPL-3.0)

git clone https://github.com/TechButton/relaydesk.git
cd relaydesk
cp .env.example .env
docker compose up -d postgres s3
pnpm install && pnpm db:migrate && pnpm db:seed
pnpm dev

2. Self-Hosted Enterprise (Stalwart Native IMAP/SMTP + Nightly Backups)

docker compose -f deploy/docker/docker-compose.enterprise.yml up -d
# Or Kubernetes HA Helm Chart:
helm upgrade --install relaydesk deploy/helm/relaydesk -f my-values.yaml

3. Connect Existing Apps via Open SupportDesk /v1 API

TriagePost implements drop-in `/v1/tickets`, `/v1/admin/tickets*`, and `/v1/inbound/email` endpoints compatible with RallyText and CrewLog/Sitepunch (`X-Product` + `X-Application-Key` and `X-Admin-Key`).

4. Bring-Your-Own AI Provider

Navigate to Settings & AI Profile in the Console to link local Ollama, Open WebUI, ChatGPT (OpenAI), Claude (Anthropic), Google Gemini, or any Antigravity / OpenAI-compatible gateway, and configure your brand voice & guardrails.

5. One-Prompt Migration & Environment Setup via Remote MCP (27 Tools)

Full MCP Reference

Connect Antigravity, Claude Desktop, or Cursor to https://api.triagepost.com/mcp with an admin rd_live_* key (mcp:access + webhooks:manage) and run bootstrap_project_environment to provision domains, mailboxes, ticket queues, email forwards, wildcard *@domain webhook rules, Slack/Discord/Teams alerts, AI brand profiles, and app API keys in one call—then verify live DNS cutover with get_migration_readiness and import legacy tickets via create_ticket_importer + trigger_importer_sync.

{
  "mcpServers": {
    "triagepost": {
      "url": "https://api.triagepost.com/mcp",
      "headers": {
        "Authorization": "Bearer rd_live_YOUR_ADMIN_API_KEY"
      }
    }
  }
}