Back to Home
Knuckles-Team icon

tunnel-manager

Verified Safe

by Knuckles-Team

Overview

This project provides a FastMCP server exposing SSH connection and file transfer capabilities, enabling AI agents to programmatically perform remote server management and automation.

Installation

Run Command
docker run -d --name tunnel-manager-mcp -p 8002:8002 -e HOST=0.0.0.0 -e PORT=8002 -e TRANSPORT=streamable-http -e TUNNEL_REMOTE_HOST=<your_remote_host> -v ~/.ssh:/root/.ssh:ro docker.io/knucklessg1/tunnel-manager:latest tunnel-manager-mcp

Environment Variables

  • HOST
  • PORT
  • TRANSPORT
  • TUNNEL_REMOTE_HOST
  • TUNNEL_USERNAME
  • TUNNEL_PASSWORD
  • TUNNEL_REMOTE_PORT
  • TUNNEL_IDENTITY_FILE
  • TUNNEL_INVENTORY
  • TUNNEL_INVENTORY_GROUP
  • ENABLE_DELEGATION
  • OIDC_CLIENT_ID
  • OIDC_CLIENT_SECRET
  • OIDC_CONFIG_URL
  • FASTMCP_SERVER_AUTH_JWT_PUBLIC_KEY

Security Notes

The server uses `paramiko.AutoAddPolicy()` which automatically adds unknown host keys, increasing susceptibility to man-in-the-middle attacks if not in a controlled environment. Direct calls to `os.system` for `ssh-keygen` are made, though arguments appear controlled. The Docker setup mounts `~/.ssh` as read-only into the container, granting access to host SSH keys, which is a necessary but high-privilege operation. Password-based authentication can be used for initial setup, which typically involves passing passwords directly.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Stars0
Forks0
Last Update2026-01-19

Tags

SSHRemote AccessFile TransferAutomationAI Tools