spline-websocket

spline-websocket is a command for Claude Code from lesleslie/spline-mcp. It costs 22 tokens per session (417 once invoked), scanned A, original, BSD-3-Clause.

A command for checking and briefly using the Spline Mahavishnu WebSocket connection. A WebSocket is a live connection that can send updates between systems while it remains open.

In plain words
What is it for?
Use it to check integration status, inspect the configured connection, subscribe to a channel such as spline:variables, and summarize messages received for a set time.
Why use it?
It shows whether the bridge is reachable and whether the integration is working, instead of leaving connection problems unclear. It can also reveal messages received on a selected channel.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the spline plugin — 3 commands shipped together

Good fit Use it to check integration status, inspect the configured connection, subscribe to a channel such as spline:variables, and summarize messages received for a set time.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lesleslie/spline-mcp/spline-websocket
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/lesleslie/spline-mcp

Made for: Claude Code.

Or install spline, the plugin that ships this one along with the rest of its 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spline-websocket

README.md
[![agentmods](https://agentmods.dev/badge/commands/lesleslie/spline-mcp/spline-websocket.svg)](https://agentmods.dev/commands/lesleslie/spline-mcp/spline-websocket)
Your own site
<a href="https://agentmods.dev/commands/lesleslie/spline-mcp/spline-websocket"><img src="https://agentmods.dev/badge/commands/lesleslie/spline-mcp/spline-websocket.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 417 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00417
Opus 5 $0.00011 $0.00209
Sonnet 5 $0.00004 $0.00083
Haiku 4.5 $0.00002 $0.00042

Measured 7d ago against content hash b221c5f3a8df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

spline-websocket scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/spline-websocket.md · 31 lines

What it actually says

/spline-websocket

Inspect and interact with the Spline Mahavishnu WebSocket bridge so generated Spline scenes can subscribe to runtime variable updates.

Usage

/spline-websocket [--channel <name>] [--status-only] [--duration <seconds>]

Arguments:

  • --channel <name>: optional channel to subscribe to after the status check. Defaults to spline:variables.
  • --status-only: optional flag. Run only the status probe and skip the subscription.
  • --duration <seconds>: optional subscription duration in seconds. After this period the subscription is closed and a summary of received messages is reported. Defaults to 30.

Workflow

  1. Call mcp__spline__get_websocket_status to confirm the WebSocket bridge is reachable and report the configured URL, reconnect policy, and any soft-failover state.
  2. Call mcp__spline__get_integration_status for a rollup of the WebSocket integration state, so the user can see the full integration picture.
  3. Unless --status-only was supplied, call mcp__spline__subscribe_to_channel with the requested channel and duration. Stream messages back to the user until the duration elapses, then summarize what was received.
  4. If the status check returned disconnected or error, surface that to the user rather than silently retrying. Recommend the user verify SPLINE_WEBSOCKET_URL and the Mahavishnu server health.

Example

/spline-websocket --channel spline:variables --duration 60

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 31 lines · 22 tokens per session scan A b221c5f3a8df

Subscribe to this mod's changes

spline-websocket is a command published in the GitHub repository lesleslie/spline-mcp (4 stars, last pushed 6d ago), licensed BSD-3-Clause. It adds 22 tokens to every session and 417 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.