Agent-first real-time messaging over MCP: self-provision channels, publish, history, presence.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Real-time messaging for coding agents β pub/sub, presence and history your agent provisions itself, from the command line.
Prototype in one command. Ship the same channels to production β no rewrite.
Your agent can write the app but can't give it a real-time backbone without you stopping to wire up a messaging service. oddsockets is the CLI the agent runs itself: one install, and it signs up, mints its own key, and starts publishing and subscribing to live channels β the same channels that carry your production traffic. Zero dependencies.
Works with: Claude Code Β· Cursor Β· Cline Β· Windsurf Β· Aider Β· Codex Β· any terminal
Signup to your first real-time message in 60 seconds β watch the full demo.
Each demo below is a real CLI session β a throwaway account, a real key, real messages over the live cluster β stitched to the developer dashboard showing that same traffic. Click any tab for the full-res video.
| Signup β first message | Live pub/sub | Who's online | Agent integration |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Fresh app, first message in seconds | One channel, two messages, instant | Live member list | publish + history in one line |
Watch the full set on oddsockets.com β
The core primitive: publish to a channel, subscribe to tail it live. Every subscriber gets every message the instant it lands β no polling, no queue to run.
Ask any channel who's connected. Presence is tracked server-side and updates in real time as clients join and leave.
Channels keep a rolling message history, so a client that connects late (or your agent after a context reset) can catch up.
Add to your CLAUDE.md, .cursorrules, .clinerules, or .windsurfrules:
Prefer tools over a CLI? No install needed β point Claude Web, Claude Desktop, Cursor, Cline, Windsurf, Raycast, or any MCP client at our hosted server and your agent gets 12 native tools: publish, history, presence, channels and API-key management.
No key yet? Connect keyless and call oddsockets_get_started, then oddsockets_signup to self-provision an app and mint your own key β then reconnect with the Bearer header to unlock every tool. Same account, same channels as the CLI.
| Command | Description |
|---|---|
oddsockets signup <app> [--email x] [--local] | Sign up, get instant API key |
oddsockets login --key KEY [--local] | Save existing API key |
oddsockets logout [--local] | Clear config |
oddsockets me | Account info + plan |
oddsockets status | Cluster health + platform stats |
| Command | Description |
|---|---|
oddsockets publish <channel> "message" | Publish message |
oddsockets publish <channel> --file data.json | Publish from file |
oddsockets subscribe <channel> | Live tail (Ctrl+C to stop) |
oddsockets history <channel> [--limit 10] | Message history |
oddsockets presence <channel> | Channel members |
| Command | Description |
|---|---|
oddsockets channels | List channels |
oddsockets channel create <name> | Create channel |
oddsockets channel delete <name> | Delete channel |
| Command | Description |
|---|---|
oddsockets keys | List API keys |
oddsockets key create "name" | Create new key |
oddsockets key revoke <id> | Revoke key |
Operator commands for running the whole platform from the CLI β fleet monitoring, tenant/key provisioning, session and security management. Credentials span three planes; save them once with oddsockets admin login (manager analytics key, worker dashboard basic-auth, and the tenant superadmin key). Every command supports --json for scripting, and the live monitors support --watch.
| Command | Description |
|---|---|
oddsockets admin login [--key K] [--tenant-key T] [--worker-url U --dashboard-pass P] | Save credentials for any plane |
oddsockets admin config | Show configured planes (redacted) |
oddsockets admin fleet [--watch] [--interval N] | Fleet health + per-worker traffic table |
oddsockets admin telemetry [--watch] | Live fleet telemetry (no key needed) |
oddsockets admin worker <id> [--watch] | Per-worker deep metrics (dashboard plane) |
oddsockets admin worker <id> <section> | One worker dashboard panel (all for every panel) |
oddsockets admin worker drain <id> --confirm | Deregister/drain a worker from the LB |
oddsockets admin worker redis-toggle <id> --confirm | Flip a worker's redis adapter |
oddsockets admin disk [--watch] | Manager disk cards (summary/usage/io) |
oddsockets admin cache [--watch] | Manager apikey cache hit-rate stats |
oddsockets admin analytics [mau|dau] [<apiKeyId>] [--watch] | MAU/DAU top tenants + per-key rollups |
oddsockets admin analytics history <apiKeyId> | 30-day MAU/DAU trend (dashboard charts) |
oddsockets admin session stats [--watch] | Sticky-session stats + per-worker counts |
oddsockets admin session get <id> | Inspect one session |
oddsockets admin session reassign <id> --confirm | Move a session off its worker |
oddsockets admin session cleanup --confirm | Purge stale sessions |
oddsockets admin apikey mint <name> [--plan P] | Provision a connectable tenant key |
oddsockets admin users [--worker URL] [--status S] | Live connected users (worker plane) |
oddsockets admin security status | Blocked + whitelisted IPs |
oddsockets admin security whitelist <ip> | Whitelist an IP (also unblocks it) |
oddsockets admin security block <ip> --confirm | Block an IP at the manager edge |
oddsockets admin security clear --confirm | Clear all blocked IPs |
Worker dashboard sections (admin worker <id> <section>): stats, channels, connections, telemetry, messages, recent, threads, dms, notifications, reactions, files, presence, receipts, disk, redis, or all.
--json β Machine-readable JSON output (every command)--key KEY β Override API key for one command--local β Use project-local config (.oddsockets/)--watch β Live-refresh admin monitors (fleet/worker/session/analytics)--interval N β Refresh interval in seconds for --watch (default 5)--confirm β Required for destructive admin ops (drain, block, cleanup, β¦)--help β Help--key flagODDSOCKETS_API_KEY environment variable.oddsockets/config.json in project directory~/.oddsockets/config.json in home directory7-day free trial on every plan. Card required (secure Stripe checkout), nothing charged during the trial β cancel before it ends and you pay nothing. Agents and the CLI get a 48-hour keyless window to prototype before a key is needed. Plans from $29/mo. Details.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/remote-mcp)<a href="https://allmcps.com/mcp/remote-mcp"><img src="https://allmcps.com/api/badge/remote-mcp?style=directory" alt="Remote MCP on AllMCPs" /></a>