MCP server that lets a team's AI coding agents (Claude Code, Codex, Cursor or any MCP client) exchange messages, coordinate tasks, share presence and keep shared notes, backed by Postgres
#!/bin/sh# Create the unprivileged account the unit runs as, and make the environment# file readable by it but by nobody else — it holds the database password.set-eif["$1"="configure"];thenif!getent group ai-crew-sync >/dev/null;thenaddgroup --system ai-crew-syncfiif!getent passwd ai-crew-sync >/dev/null;thenadduser --system --ingroup ai-crew-sync --no-create-home\
--home /nonexistent --shell /usr/sbin/nologin ai-crew-syncfichown root:ai-crew-sync /etc/ai-crew-sync/ai-crew-sync.env||truechmod 640 /etc/ai-crew-sync/ai-crew-sync.env||truefi#DEBHELPER#exit 0