# rstream CLI MCP [Health: Active]

**Category:** 🖥️ Command Line  
**Repository:** https://github.com/rstreamlabs/rstream-go  
**GitHub Stars:** 1  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/rstream-cli-mcp

## Description
Local stdio MCP server for rstream setup, tunnels, WebTTY, and remote operations.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "rstream-cli-mcp": {
    "url": "https://rstream.io/api/mcp"
  }
}
```

## Documentation

## What rstream CLI MCP does

rstream CLI MCP exposes rstream operations through the Model Context Protocol. It is designed around rstream's outbound tunnels, which connect services and devices without requiring the connected service to accept inbound connections directly. The MCP interface gives an AI client access to setup tasks, tunnel operations, WebTTY functionality, and remote operations.

The underlying rstream project includes both a Go SDK and the `rstream` command-line interface. The CLI forwards an existing service through a tunnel, while the SDK allows Go applications to own tunnels and use standard listeners, connections, and packet connections. The MCP server is the agent-facing layer for working with the CLI's operational capabilities.

## How it works

Clients can connect locally over stdio or use the hosted MCP service at `https://rstream.io/api/mcp`. In either mode, an MCP-compatible client can invoke the exposed rstream operations instead of manually entering CLI commands.

rstream tunnels use outbound connections. A local service or device establishes the tunnel, and the resulting connection can publish an endpoint for ordinary clients or allow authenticated rstream clients to reach a private service by name. Access behavior depends on the tunnel's deployment and access policy. HTTP services may be restricted with HTTP authentication or private access.

For example, the rstream CLI can forward an HTTP service listening on `127.0.0.1:8080` with `rstream forward 127.0.0.1:8080 --http`. The MCP server provides an agent-oriented way to work with the surrounding rstream setup and operations.

## Setup and configuration

Choose the connection mode supported by your MCP client:

- Use the local stdio server when the client runs alongside the rstream tooling.
- Configure the client to use `https://rstream.io/api/mcp` when connecting to the hosted MCP service.

A usable rstream connection must be configured before tunnel operations can succeed. The target service also needs to be available to rstream; for an HTTP forwarding workflow, the service listens on a local address and port before the tunnel is opened.

When exposing a restricted service, select an appropriate access policy before forwarding. HTTP authentication and private access are available paths for limiting access. The resulting endpoint can be opened by ordinary clients when the tunnel is published according to its policy.

## Tools and capabilities

The MCP surface is organized around these areas:

- Configure and manage rstream setup.
- Create or operate service and device tunnels.
- Work with WebTTY sessions.
- Perform remote rstream operations.
- Support workflows involving public endpoints or private service access.

The repository also supports Go applications that integrate tunnels through standard Go networking interfaces. That SDK capability is separate from the MCP client interface, but it can be relevant when an application needs to own a tunnel instead of forwarding an already-running service.

_Full upstream README: https://allmcps.com/mcp/rstream-cli-mcp/readme_

