StreamXpress MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@StreamXpress MCP ServerStream C:\Streams\news.ts to 239.1.1.1:1234 at 25 Mbps"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
StreamXpress MCP Server
基于 DekTec StreamXpress 的 MCP(Model Context Protocol)服务,让 AI 能够通过 SpRcApi 远程控制接口来操控 TS(Transport Stream)码流推送。
前置条件
StreamXpress v3.x 已安装,且持有 DTC-302-RC 许可证(远程控制授权)
一块 DekTec 输出适配器,持有 DTC-300-SP(播放许可)或 DTC-300-NICP(本机网卡 IP 推送许可)
Python 3.10+
关于 StreamXpress 的安装位置:StreamXpress 由 DekTec 安装程序安装,默认位于
C:\Program Files\DekTec\StreamXpress\,**不在系统 PATH 中**,不能直接在任意目录下执行StreamXpress.exe。另外,可执行文件名可能是StreamXpress.exe(v3.x)或StreamXpress64.exe(部分版本),请以实际安装为准,用完整路径调用。MCP 服务本身不需要配置 StreamXpress 的安装位置——它通过 SpRcApi(HTTP/SOAP)远程控制接口连接 StreamXpress,只需在
connect工具中指定 StreamXpress 所在主机的地址和-rc监听端口(默认http://localhost:5000)。MCP 与 StreamXpress 可以分处两台机器。
Related MCP server: Instrument MCP Server
快速开始
MCP 客户端(WorkBuddy、Claude Desktop 等)会用配置里的 command(默认 python)启动本服务,而客户端解析到的 python 通常不是项目 venv 里的 python。因此最简单的方式是直接把包装到当前 Python 环境,不使用 venv:
# 1. 克隆并安装(装到当前 Python 环境,不使用 venv)
git clone <repo-url>
cd StreamXpress_MCP
pip install -e ".[dev]"
# 2. 以远程控制模式启动 StreamXpress
# 可执行文件不在 PATH 中,需用完整路径;文件名可能是 StreamXpress.exe 或
# StreamXpress64.exe,以实际安装为准(也可先把其目录加入 PATH 再直接调用)
& "C:\Program Files\DekTec\StreamXpress\StreamXpress64.exe" -rc 5000
# 3. 运行 MCP 服务
python -m streamxpress_mcp想用 venv 隔离? 可以,但注意:MCP 客户端配置里的
command必须指向 venv 里的 python.exe 绝对路径(如C:\...\StreamXpress_MCP\.venv\Scripts\python.exe),不能写裸的python——否则客户端会用系统 Python 启动进程,因找不到streamxpress_mcp模块而立即退出,表现为ModuleNotFoundError或MCP error -32000: Connection closed。
MCP 客户端配置
在 MCP 客户端的配置文件中添加(如 WorkBuddy 的 mcp.json、Claude Desktop 的 claude_desktop_config.json):
{
"mcpServers": {
"streamxpress": {
"command": "python",
"args": ["-m", "streamxpress_mcp"]
}
}
}前提:
command里指定的python必须已安装本包(即执行过上面的pip install -e "./[dev]")。按上方“不使用 venv”的方式安装则保持"python"即可;若包装在 venv 里,则必须把command改为该 venv 的python.exe绝对路径。
可用工具
工具注册名如左(不带前缀)。MCP 客户端(WorkBuddy、Claude Desktop 等)通常会在工具名前加上 MCP server 名前缀,例如
connect在客户端中显示为streamxpress_connect。这是破坏性变更:工具名已从
streamxpress_connect等改为无前缀的connect等。升级后请在各 MCP 客户端(WorkBuddy、Claude Desktop 等)重新连接/重启会话以刷新工具列表,旧名不再注册。
工具 | 说明 |
| 连接 StreamXpress RC 会话 |
| 断开连接 |
| 扫描可用输出端口 |
| 选择输出端口 |
| 加载 TS 文件 |
| 开始播放 |
| 停止播放 |
| 查询播放进度和状态 |
| 设置 TS 码率(bps) |
| 配置 UDP/RTP TS-over-IP 输出参数 |
| 设置 RF 频率和电平 |
| 设置 ASI 重复用和包模式 |
AI 交互示例
用户: 把 C:\Streams\news.ts 以 25 Mbps 推送到组播地址 239.1.1.1:1234
AI 依次调用:
1. connect(host="http://localhost", port=5000)
2. scan_ports() → 选择一个 TS-over-IP 端口
3. select_port(serial=..., port_num=1)
4. set_tsoip_params(dest_ip="239.1.1.1", dest_port=1234, protocol="UDP")
5. set_rate(rate_bps=25_000_000)
6. open_file(filepath="C:\\Streams\\news.ts")
7. start()
8. get_status() → 监控播放进度
9. stop()
10. disconnect()许可证
本项目封装了 DekTec SpRcApi。使用本软件配合 StreamXpress 进行码流推送,需要持有有效的 DekTec 许可证(DTC-300-SP + DTC-302-RC)。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to control Pro Tools via the PTSL gRPC API, providing session management, timeline navigation, track control, clip management, editing, markers, transport, audio analysis, and more.Last updated16MIT
- AlicenseCqualityBmaintenanceEnables natural language control of test instruments like spectrum analyzers and power supplies via SCPI commands, with auto-discovery and multi-instrument session support.Last updated1001MIT
- FlicenseAqualityCmaintenanceEnables AI agents to read, control, and orchestrate Singular.live live broadcast graphics compositions, including filling control nodes, animating sub-compositions, and running a newsroom rundown-to-graphics workflow.Last updated25
- AlicenseBqualityAmaintenanceAI-powered stream and recording control for OBS Studio through the Model Context ProtocolLast updated1001Apache 2.0
Related MCP Connectors
Control Android TV from any AI. 38 MCP tools: playback, recap, recommend, smart-home, schedules.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FasenChen/StreamXpress_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server