# rstream CLI MCP

> rstream CLI MCP is a freemium MCP server for cloud and infrastructure. Local stdio MCP server that sets up rstream tunnels and WebTTY from an AI client. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** CLI, Linux, macOS, Windows, self-hosted
- **Website:** https://rstream.io
- **Repository:** https://github.com/rstreamlabs/rstream-go
- **MCP Registry name:** io.github.rstreamlabs/rstream
- **Categories:** cloud and infrastructure, developer tools
- **Listing updated:** 2026-11-14

## About

rstream is a connectivity platform where lightweight agents keep outbound-only tunnels open to a managed edge network, so a local or private service can be published or reached without inbound ports. This server ships as an OCI image (`docker.io/rstream/rstream`) and lets an assistant help with setup, tunnels, WebTTY and remote operations.

The platform behind it handles HTTP, WebSocket, TCP, TLS, QUIC, DTLS and WebTransport traffic. Published tunnels get a public forwarding address, while private tunnels are dialed by name through an rstream client. Access can be gated at the edge with rstream Auth, scoped tokens, mutual TLS, IP ranges and geographic rules, and connection logs record enforcement decisions.

The CLI behind the server is written in Go, in the same repository as the Go SDK, and runs on Linux, macOS and Windows. The README names use cases such as local development, fleet operations and CI access paths.

## Features

- **Outbound-only tunnels:** Expose a local service without opening inbound firewall ports.
- **Published and private tunnels:** Share a public address, or let authenticated clients dial named services.
- **Edge access policy:** Apply tokens, mTLS, IP and geo rules before traffic reaches the upstream.
- **WebTTY servers:** Register terminal servers reachable through the platform.
- **Wide protocol support:** Carry HTTP, TCP, TLS, QUIC, DTLS and WebTransport workloads.
- **Connection logs:** Inspect routing and policy decisions, with 24-hour retention on Basic and 30 days on Pro.

## Good for

- Give a local web app a public URL for a webhook test
- Reach a private internal service by name from a CLI or SDK client
- Restrict access to a demo by country or IP range
- Have an assistant walk through installing and logging in to the rstream CLI

## Install

### Claude Code (Terminal)

```sh
claude mcp add rstream -- docker run -i --rm docker.io/rstream/rstream:1.37.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "rstream": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/rstream/rstream:1.37.0"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "rstream": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/rstream/rstream:1.37.0"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "rstream": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/rstream/rstream:1.37.0"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "rstream": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/rstream/rstream:1.37.0"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "rstream": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/rstream/rstream:1.37.0"
      ]
    }
  }
}
```

## FAQ

### How do I run the server?

It is distributed as the OCI image docker.io/rstream/rstream and speaks stdio.

### What does rstream cost?

The Basic plan is free with 2 simultaneous tunnels and 5 GB bandwidth a month. Pro is $49 a month with 50 tunnels and 200 GB.

### Is there a self-hosted option?

Yes, a free Engine Community Edition runtime exists, without the hosted dashboard or managed policy.

### Which systems does the CLI support?

Linux, macOS and Windows.

### Is rstream CLI MCP free?

rstream CLI MCP has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add rstream CLI MCP to Claude Code?

Run this command in your terminal: claude mcp add rstream -- docker run -i --rm docker.io/rstream/rstream:1.37.0

### What are the best alternatives to rstream CLI MCP?

The closest alternatives to rstream CLI MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/rstream-cli-mcp
