Remote Mcp

ai.oddsockets由 oddsockets.ai 發布官方發布者v1.1.0更新於 Oct 24, 2026

Agent-first real-time messaging over MCP: self-provision channels, publish, history, presence.

已驗證Streamable HTTP可網頁執行開發者工具溝通與協作

概覽

AI 產生的概覽

託管式 OddSockets 即時訊息 MCP 伺服器,讓助理建立頻道、發布訊息、讀取歷史並查看線上狀態。

可以做什麼
向即時頻道發布訊息,並讀取頻道的滾動訊息歷史,方便在脈絡重設或延遲連線後補看。透過伺服器端線上狀態查看頻道中目前連線的用戶端。在 OddSockets 帳戶上建立、列出與管理頻道及 API 金鑰。引導完成入門流程,自助建立新應用程式、開啟試用並取得新產生的 API 金鑰。
適用情境
適合助理正在開發或測試即時訊息功能、需要現成的頻道、發布訂閱、線上狀態與歷史記錄而不必自行架設訊息服務時使用。也適合在把同一批頻道推上正式環境前,先做應用程式即時骨幹的原型驗證。
執行需求
遠端 streamable HTTP 端點,無需本機安裝。OddSockets API 金鑰透過 Authorization Bearer 標頭傳送,初期為選用:不帶金鑰連線會進入無金鑰入門模式,由註冊工具建立應用程式並回傳金鑰。註冊需要使用者提供電子郵件地址。
安裝前請注意
註冊會開啟 7 天免費試用,需透過 Stripe 結帳提供支付卡;方案自每月 29 美元起,試用結束前未取消將持續計費。API 金鑰僅顯示一次,Authorization 標頭帶有機密。發布操作會向與該帳戶正式流量共用的即時頻道寫入訊息。

AI 概覽如何產生和驗證

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Remote Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.oddsockets%2Fremote-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "remote": {
      "type": "http",
      "url": "https://mcp.oddsockets.ai/mcp"
    }
  }
}

README

oddsockets

[npm version] [Real-time] [Zero deps] [MCP]

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]

Signup to your first real-time message in 60 seconds — watch the full 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 messageLive pub/subWho's onlineAgent integration
[Signup to first real-time message][Live pub/sub on one channel][Presence — who is online now][One-line agent integration + history]
Fresh app, first message in secondsOne channel, two messages, instantLive member listpublish + history in one line

Watch the full set on oddsockets.com →

Install

npm install -g oddsockets

Quick Start

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

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.

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.

oddsockets history agent-bus --limit 10

Agent Integration

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

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

CommandDescription
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 meAccount info + plan
oddsockets statusCluster health + platform stats

Messaging

CommandDescription
oddsockets publish <channel> "message"Publish message
oddsockets publish <channel> --file data.jsonPublish from file
oddsockets subscribe <channel>Live tail (Ctrl+C to stop)
oddsockets history <channel> [--limit 10]Message history
oddsockets presence <channel>Channel members

Channels

CommandDescription
oddsockets channelsList channels
oddsockets channel create <name>Create channel
oddsockets channel delete <name>Delete channel

API Keys

CommandDescription
oddsockets keysList API keys
oddsockets key create "name"Create new key
oddsockets key revoke <id>Revoke key

Admin (superadmin)

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.

CommandDescription
oddsockets admin login [--key K] [--tenant-key T] [--worker-url U --dashboard-pass P]Save credentials for any plane
oddsockets admin configShow 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> --confirmDeregister/drain a worker from the LB
oddsockets admin worker redis-toggle <id> --confirmFlip 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> --confirmMove a session off its worker
oddsockets admin session cleanup --confirmPurge 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 statusBlocked + whitelisted IPs
oddsockets admin security whitelist <ip>Whitelist an IP (also unblocks it)
oddsockets admin security block <ip> --confirmBlock an IP at the manager edge
oddsockets admin security clear --confirmClear 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.

Flags

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

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.

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/.

Full SDK list with highlights
Language / RuntimeRepoHighlights
Node.jsoddsockets-nodejs-sdkServer-side, npm
JavaScriptoddsockets-javascript-sdkBrowser + Node.js
TypeScript / Svelteoddsockets-svelte-sdkReactive stores
React Nativeoddsockets-react-native-sdkMobile
Flutter / Dartoddsockets-flutter-sdkCross-platform mobile
Pythonoddsockets-python-sdkAsyncIO
Gooddsockets-go-sdkGoroutine-safe
Rustoddsockets-rust-sdkTokio async
Javaoddsockets-java-sdkMaven
Kotlinoddsockets-kotlin-sdkCoroutines
C# / .NEToddsockets-csharp-sdkNuGet
C++oddsockets-cpp-sdkC++17
Coddsockets-c-sdkEmbedded / IoT
PHPoddsockets-php-sdkComposer
Rubyoddsockets-ruby-sdkGem
Swiftoddsockets-swift-sdkSPM + Combine
Elixiroddsockets-elixir-sdkGenServer / OTP
Unityoddsockets-unity-sdkMonoBehaviour
Unreal Engineoddsockets-unrealengine-sdkUE5

Get Accredited

[tyga.games accreditation]

Prove you can build and operate real-time features on OddSockets — channels, presence, pub/sub, delivery guarantees and production liveops — on the stack itself. Three tiers (TCU / TCA / TCP), certified through tyga.games and delivered on ClassaaS.

Get accredited on tyga.games →

Links

來源:README.md,提交 092d90a

工具

2

oddsockets_get_started

Explains what OddSockets is and how to create + activate an app from this MCP server (no API key on this session yet).

無需輸入參數。

oddsockets_signup

Create a new OddSockets app and start the 7-day free trial (card required, cancel anytime before day 7). Requires the human's email: the trial + activation link are tied to it. Returns an API key (shown once) and unlocks all tools in this session immediately. Ask the human for their email before calling.

輸入參數nameslug必填email必填planId

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

這個評分如何計算