Realtime messaging and streaming infrastructure.
## Ably MCP Server: Real-Time Messaging Platform The **Ably MCP Server** integrates Ably's enterprise real-time messaging platform into Google Antigravity. This enables building live experiences with guaranteed message delivery, presence, and history at massive scale. ### Why Ably MCP? Ably guarantees real-time delivery: - **99.999% Uptime**: Enterprise SLA - **Message Ordering**: Guaranteed delivery order - **Presence**: Track connected users - **History**: Message persistence - **Global Edge**: Low latency worldwide ### Key Features #### 1. Publish Messages ```python from ably import AblyRest client = AblyRest("your-api-key") channel = client.channels.get("notifications") # Publish message channel.publish("update", {"status": "deployed", "version": "2.1.0"}) # Publish with metadata channel.publish("alert", { "severity": "high", "message": "CPU usage at 95%" }) ``` #### 2. Realtime Subscriptions ```python from ably import AblyRealtime realtime = AblyRealtime("your-api-key") channel = realtime.channels.get("updates") def on_message(message): print(f"Received: {message.data}") channel.subscribe("update", on_message) ``` #### 3. Presence ```python # Enter presence channel.presence.enter({"status": "online", "name": "DevBot"}) # Get current members members = channel.presence.get() for member in members.items: print(f"{member.data['name']} is {member.data['status']}") # Subscribe to presence changes channel.presence.subscribe(lambda member: print(f"{member.action}: {member.client_id}")) ``` ### Configuration ```json { "mcpServers": { "ably": { "command": "npx", "args": ["-y", "@anthropic/mcp-ably"], "env": { "ABLY_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Live Dashboards**: Real-time metrics and updates. **Collaboration**: Multi-user editing and presence. **IoT**: Device communication at scale. The Ably MCP Server brings enterprise real-time messaging to Antigravity.
{
"mcpServers": {
"ably": {}
}
}