ai-crew-sync 0.5.3

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
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "ai-crew-sync"
version = "0.5.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "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"
readme = "README.md"
keywords = [
    "mcp",
    "claude",
    "agents",
    "coordination",
    "postgres",
]
categories = [
    "development-tools",
    "web-programming::http-server",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/joaquinbejar/ai-crew-sync"

[package.metadata.deb]
maintainer = "Joaquin Bejar <jb@taunais.com>"
copyright = "2026, Joaquin Bejar <jb@taunais.com>"
license-file = [
    "LICENSE",
    "0",
]
extended-description = "Coordination bus between a team's AI coding agents — Claude Code, Codex, Cursor or any MCP client — with all state in PostgreSQL. Ships the server, the operator CLI and the console client in one binary."
section = "utils"
priority = "optional"
depends = ""
assets = [
    [
    "target/release/ai-crew-sync",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/ai-crew-sync/README.md",
    "644",
],
    [
    "packaging/ai-crew-sync.env",
    "etc/ai-crew-sync/ai-crew-sync.env",
    "600",
],
]
conf-files = ["/etc/ai-crew-sync/ai-crew-sync.env"]
maintainer-scripts = "packaging/debian"

[package.metadata.deb.systemd-units]
unit-name = "ai-crew-sync"
unit-scripts = "packaging"
enable = false
start = false

[package.metadata.generate-rpm]
summary = "MCP coordination bus for a team's AI coding agents"
license = "MIT"
post_install_script = """
getent group ai-crew-sync >/dev/null || groupadd --system ai-crew-sync
getent passwd ai-crew-sync >/dev/null || useradd --system --gid ai-crew-sync --home-dir /nonexistent --no-create-home --shell /sbin/nologin ai-crew-sync
# Readable by the service, by nobody else: it holds the database password.
chown root:ai-crew-sync /etc/ai-crew-sync/ai-crew-sync.env 2>/dev/null || true
chmod 640 /etc/ai-crew-sync/ai-crew-sync.env 2>/dev/null || true
systemctl daemon-reload >/dev/null 2>&1 || true
"""

[[package.metadata.generate-rpm.assets]]
source = "target/release/ai-crew-sync"
dest = "/usr/bin/ai-crew-sync"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/ai-crew-sync/README.md"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "LICENSE"
dest = "/usr/share/doc/ai-crew-sync/LICENSE"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "packaging/ai-crew-sync.service"
dest = "/usr/lib/systemd/system/ai-crew-sync.service"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "packaging/ai-crew-sync.env"
dest = "/etc/ai-crew-sync/ai-crew-sync.env"
mode = "640"
config = "noreplace"

[lib]
name = "ai_crew_sync"
path = "src/lib.rs"

[[bin]]
name = "ai-crew-sync"
path = "src/main.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.dotenvy]
version = "0.15"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
default-features = false

[dependencies.rmcp]
version = "3.0"
features = [
    "server",
    "macros",
    "schemars",
    "transport-streamable-http-server",
    "server-side-http",
    "tower",
    "client",
    "transport-streamable-http-client-reqwest",
    "reqwest",
]

[dependencies.schemars]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls-ring",
    "postgres",
    "uuid",
    "chrono",
    "json",
    "migrate",
    "macros",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "cors",
    "limit",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]

[profile.release]
lto = "thin"
codegen-units = 1
strip = true