tenox7/rsh-mcp
If you are the rightful owner of rsh-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The RSH-MCP Server is a Model Context Protocol server that facilitates remote shell and file operations using the legacy RSH/RCP protocols, designed for connecting to vintage computer systems.
rsh-mcp
RSH/RCP MCP server. Execute commands and transfer files on remote hosts via RSH/RCP protocols for vintage systems.
Install
go install github.com/tenox7/rsh-mcp@latest
Usage with Claude Code
claude mcp add rsh-mcp -- go run github.com/tenox7/rsh-mcp@latest
Or if installed:
claude mcp add rsh-mcp $(go env GOPATH)/bin/rsh-mcp
Testing with Inspector
npx @modelcontextprotocol/inspector -- go run github.com/tenox7/rsh-mcp@latest
Tools
exec
Execute a command on a remote host via RSH.
host- Remote hostname or IP addresscommand- Command to executeuser- Remote username (optional, defaults to current user)port- Port number (optional, defaults to 514)max_lines- Maximum lines of output (optional, defaults to 1000)max_bytes- Maximum bytes of output (optional, defaults to 100000)tail- Return last N lines instead of first N (optional)
read
Read a file from a remote host via RCP.
host- Remote hostname or IP addresspath- Path to remote fileuser- Remote username (optional)port- Port number (optional, defaults to 514)
write
Write a file to a remote host via RCP.
host- Remote hostname or IP addresspath- Path to remote filecontent- Content to writeuser- Remote username (optional)port- Port number (optional, defaults to 514)
Notes
File editing: rsh-mcp provides read/write via RCP copy in/out. For effective editing, work locally then copy over, or mount workspace via NFS/SMB.
Privileged port: Some RSH/RCP servers require source port <1024. This client does that but may require elevated privileges on some systems.
Windows NT: If you need an RSH/RCP server for Windows NT check out NTRSHD