wsrx-mcp
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., "@wsrx-mcpConnect to wss://ctf.example.com/api/traffic/abc123?port=9999 and tell me the local endpoint"
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.
wsrx-mcp
English | 简体中文
An MCP (Model Context Protocol) server that manages WebSocket Reflector X (wsrx) tunnels.
The ret2shell CTF platform exposes dynamic challenge instances only through WebSocket traffic links such as:
wss://ctf.example.com/api/traffic/<token>?port=9999Platforms that hand out plain host:port pairs can be reached with nc / pwntools directly; these links cannot.
wsrx bridges a WebSocket endpoint to a local TCP port; wsrx-mcp then wraps starting, inspecting, and closing tunnels as MCP tools, so your MCP client (Claude Desktop, Codex, etc.) can call them directly — no manual terminal work.
┌───────────────┐ TCP ┌──────────────┐ WSS ┌───────────────────┐
│ nc / pwntools ├─────────►│ wsrx connect ├─────────►│ platform instance │
└───────────────┘ :1337 └──────────────┘ wss link └───────────────────┘
managed by wsrx-mcp (MCP tools)Tools
Tool | Description |
| Forward a local TCP port to a |
| List tunnels: remote, local port, endpoint, PID, alive. |
| Close a tunnel by its local port or remote URL. |
| Close every tunnel. |
| Check the wsrx binary is on PATH and list current tunnels. |
Related MCP server: ptywright
Requirements
Python 3.10+
The
wsrxCLI (releases) installed and on PATH, or setWSRX_BINARYto its location.
Install & configure
Run directly from GitHub with uvx (recommended — no clone needed):
{
"mcpServers": {
"wsrx": {
"command": "uvx",
"args": ["--from", "git+https://github.com/springbot2025/wsrx-mcp", "wsrx-mcp"]
}
}
}Or install once, then point your MCP client at the wsrx-mcp command:
pipx install git+https://github.com/springbot2025/wsrx-mcp{
"mcpServers": {
"wsrx": { "command": "wsrx-mcp" }
}
}Configuration (environment variables)
Variable | Default | Description |
|
| Path/resolved name of the wsrx executable. |
|
| Address tunnels bind to. Use |
|
| How long to wait for the local port to become connectable, in seconds. |
Example session
Ask your agent:
Connect to wss://ctf.example.com/api/traffic/abc123?port=9999 (the wsrx link from the ret2shell platform) and tell me the local endpoint.
The agent calls wsrx_connect, gets back {"endpoint": "127.0.0.1:54321", ...}, and can then run nc 127.0.0.1 54321 or use pwntools to connect. The same tunnel is reused across calls, and all tunnels close when the service exits.
Security notes
Tunnels bind to
127.0.0.1by default.The server manages subprocesses and holds no credentials — traffic tokens live in the URLs you pass in.
Only
ws://andwss://remotes are accepted.
Development
pip install -e . pytest
pytestThe tunnel core (wsrx_mcp.manager) has no MCP dependency and is fully injectable for testing.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
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 Connectors
Run commands and read/write files on your servers over Termalin's keyless tunnels (hosted MCP).
Build, deploy, and operate hosted web apps on VibeKit (vibekit.bot) from any MCP client.
Scans remote MCP servers for protocol, security, and TLS issues; exposes scan tools via MCP.
Secure tunneling, reverse proxy and remote access for local applications.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for WebSocket operations, enabling connect, send, receive, and manage WebSocket connections and servers.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to launch and interact with terminal/TUI programs, providing tools to inspect and control live CLI/TUI sessions.121Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables MCP clients to manage ESPHome devices via the 2026.6+ dashboard WebSocket protocol, including listing, configuring, validating, and flashing firmware.25MIT
- FlicenseNot gradedqualityBmaintenanceEnables remote desktop control with screen capture and mouse/keyboard simulation through an MCP server exposed via a WebSocket tunnel.-
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/springbot2025/wsrx-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server