Skip to main content
ClaudeWave

Agent-first CLI for OddSockets real-time messaging. As simple as git.

MCP ServersOfficial Registry1 stars0 forksNOASSERTIONUpdated today
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/jyswee/oddsockets
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "oddsockets": {
      "command": "node",
      "args": ["/path/to/oddsockets/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/jyswee/oddsockets and follow its README for install instructions.
Use cases

MCP Servers overview

# oddsockets

[![npm version](https://img.shields.io/npm/v/oddsockets.svg)](https://www.npmjs.com/package/oddsockets)
[![Real-time](https://img.shields.io/badge/pub%2Fsub-presence%20%2B%20history-f97316)](#see-it-live)
[![Zero deps](https://img.shields.io/badge/dependencies-0-3fb950)](#install)
[![MCP](https://img.shields.io/badge/MCP-12_tools-blue)](#mcp-server-remote)

**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

[![oddsockets demo — signup to your first real-time message in 60 seconds](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/signup-demo.gif)](https://oddsockets.com/#demo)

*Signup to your first real-time message in 60 seconds — [watch the full demo](https://oddsockets.com/#demo).*

## See it live

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 |
|---|---|---|---|
| [![Signup to first real-time message](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/signup-demo.gif)](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/signup-demo.mp4) | [![Live pub/sub on one channel](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/pubsub-demo.gif)](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/pubsub-demo.mp4) | [![Presence — who is online now](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/presence-demo.gif)](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/presence-demo.mp4) | [![One-line agent integration + history](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/agent-demo.gif)](https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/demo/agent-demo.mp4) |
| 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 →](https://oddsockets.com/#demo)*

## Install

```bash
npm install -g oddsockets
```

## Quick Start

```bash
# 1. Sign up (instant API key, no email verification)
oddsockets signup my-app --local

# 2. Publish a message
oddsockets publish my-channel "Hello from the CLI!"

# 3. Subscribe (live tail)
oddsockets subscribe my-channel

# 4. Check who's online
oddsockets presence my-channel
```

## Pub/sub — one channel, real-time

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.

```bash
oddsockets subscribe room-42 &                     # live tail in the background
oddsockets publish room-42 "hello from the CLI"    # arrives on the tail instantly
oddsockets publish room-42 --file payload.json     # publish structured data from a file
```

## Presence — who's online, right now

Ask any channel who's connected. Presence is tracked server-side and updates in real time as clients join and leave.

```bash
oddsockets subscribe lobby &     # join the channel
oddsockets presence lobby        # live member list
```

## History — replay what you missed

Channels keep a rolling message history, so a client that connects late (or your agent after a context reset) can catch up.

```bash
oddsockets history agent-bus --limit 10
```

## Agent Integration

Add to your `CLAUDE.md`, `.cursorrules`, `.clinerules`, or `.windsurfrules`:

```markdown
## OddSockets
Use the `oddsockets` CLI for real-time messaging.
Key is in .oddsockets/config.json (auto-loaded).

oddsockets status                           # cluster health
oddsockets publish my-channel "message"     # send message
oddsockets subscribe my-channel             # live tail
oddsockets presence my-channel              # who's online
oddsockets keys                             # list API keys
```

## MCP Server (remote)

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.

```
URL:  https://mcp.oddsockets.ai/sse
Auth: Authorization: Bearer YOUR_API_KEY
```

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.

## Commands

### Setup
| 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 |

### Messaging
| 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 |

### Channels
| Command | Description |
|---------|-------------|
| `oddsockets channels` | List channels |
| `oddsockets channel create <name>` | Create channel |
| `oddsockets channel delete <name>` | Delete channel |

### API Keys
| Command | Description |
|---------|-------------|
| `oddsockets keys` | List API keys |
| `oddsockets key create "name"` | Create new key |
| `oddsockets key revoke <id>` | Revoke key |

## Flags

- `--json` — Machine-readable JSON output (every command)
- `--key KEY` — Override API key for one command
- `--local` — Use project-local config (`.oddsockets/`)
- `--help` — Help

## Config Priority

1. `--key` flag
2. `ODDSOCKETS_API_KEY` environment variable
3. `.oddsockets/config.json` in project directory
4. `~/.oddsockets/config.json` in home directory

## Pricing

**7-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](https://oddsockets.com/#pricing).

## SDKs

Prefer to build it into your app? OddSockets ships a native SDK for every major language and runtime — same real-time channels, pub/sub, and presence, idiomatic to each stack. Each card links to its maintained repo; for a 60-second install + connect snippet in your language, see [`examples/`](examples/).

<table>
<tr>
<td align="center" width="20%"><a href="https://github.com/jyswee/oddsockets-nodejs-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_nodejs.png" width="44" height="44" alt="Node.js"><br>Node.js</a></td>
<td align="center" width="20%"><a href="https://github.com/jyswee/oddsockets-javascript-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_javascript.png" width="44" height="44" alt="JavaScript"><br>JavaScript</a></td>
<td align="center" width="20%"><a href="https://github.com/jyswee/oddsockets-svelte-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_svelte.png" width="44" height="44" alt="Svelte"><br>Svelte</a></td>
<td align="center" width="20%"><a href="https://github.com/jyswee/oddsockets-react-native-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_react.png" width="44" height="44" alt="React Native"><br>React Native</a></td>
<td align="center" width="20%"><a href="https://github.com/jyswee/oddsockets-flutter-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_flutter.png" width="44" height="44" alt="Flutter"><br>Flutter</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/jyswee/oddsockets-python-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_python.png" width="44" height="44" alt="Python"><br>Python</a></td>
<td align="center"><a href="https://github.com/jyswee/oddsockets-go-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_go.png" width="44" height="44" alt="Go"><br>Go</a></td>
<td align="center"><a href="https://github.com/jyswee/oddsockets-rust-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_rust.png" width="44" height="44" alt="Rust"><br>Rust</a></td>
<td align="center"><a href="https://github.com/jyswee/oddsockets-java-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_java.png" width="44" height="44" alt="Java"><br>Java</a></td>
<td align="center"><a href="https://github.com/jyswee/oddsockets-kotlin-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_kotlin.png" width="44" height="44" alt="Kotlin"><br>Kotlin</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/jyswee/oddsockets-csharp-sdk"><img src="https://prodmedia.tyga.host/public/tyga.cloud/landing/oddsockets.com/platform_csharp.png" 
agent-firstai-agentschannelsclaudeclicursormcpmessagingnodejsoddsocketspresencepublishpubsubrealtimesubscribetypescriptwebsocket

What people ask about oddsockets

What is jyswee/oddsockets?

+

jyswee/oddsockets is mcp servers for the Claude AI ecosystem. Agent-first CLI for OddSockets real-time messaging. As simple as git. It has 1 GitHub stars and was last updated today.

How do I install oddsockets?

+

You can install oddsockets by cloning the repository (https://github.com/jyswee/oddsockets) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is jyswee/oddsockets safe to use?

+

jyswee/oddsockets has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains jyswee/oddsockets?

+

jyswee/oddsockets is maintained by jyswee. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to oddsockets?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy oddsockets to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: jyswee/oddsockets
[![Featured on ClaudeWave](https://claudewave.com/api/badge/jyswee-oddsockets)](https://claudewave.com/repo/jyswee-oddsockets)
<a href="https://claudewave.com/repo/jyswee-oddsockets"><img src="https://claudewave.com/api/badge/jyswee-oddsockets" alt="Featured on ClaudeWave: jyswee/oddsockets" width="320" height="64" /></a>

More MCP Servers

oddsockets alternatives