drio
Open app

test

Source

ateat

Catalog onlyCatalog onlySTDIO

Overview

Xiu is a high-performance and secure live media server written in pure Rust, supporting popular live protocols like RTMP, RTSP, WebRTC, HLS, and HTTP-FLV.

To use Xiu, set up the server on your preferred platform (Linux, MacOS, or Windows) and configure it using command line options or a configuration file. You can publish or subscribe to streams using various protocols.

  • Supports multiple platforms (Linux/MacOS/Windows). - RTMP support for publishing/subscribing H.264/AAC streams. - RTSP support for H.265/H.264/AAC streams over TCP/UDP. - WebRTC support for real-time communication. - Protocol conversion between RTMP, RTSP, HLS, and HTTP-FLV. - HTTP API for querying stream information and notifications. - Token authentication and live stream recording.
  1. Streaming live events with low latency.
  2. Building a secure media server for real-time communication.
  3. Converting and distributing media streams across different protocols.

Add to your AI client

Use these steps to connect test in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "xiu-harlanc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xiu-harlanc"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "xiu-harlanc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xiu-harlanc"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "xiu-harlanc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xiu-harlanc"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "xiu-harlanc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xiu-harlanc"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xiu-harlanc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xiu-harlanc"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "xiu-harlanc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xiu-harlanc"
      ]
    }
  }
}

FAQ

What protocols does Xiu support?

Xiu supports RTMP, RTSP, WebRTC, HLS, and HTTP-FLV.

Is Xiu open-source?

Yes! Xiu is open-source and contributions are welcome.

Can I run Xiu on Windows?

Yes! Xiu supports multiple platforms including Windows.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3085,"uuid":"a4e42a60-58f5-4d22-a326-f147a576c2ab","name":"xiu","title":"test","description":"ateat","avatar_url":null,"created_at":"2025-03-17T04:06:23.280Z","updated_at":"2025-08-08T06:59:39.733Z","status":"created","author_name":"harlanc","author_avatar_url":null,"tags":"xiu,live-media-server,rust","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/harlanc/xiu","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"8f2f8f69-9e78-48bc-8f9c-c032750cf3d0","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]