Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Poke SSH Bridge

БесплатноНе проверен

MCP server bridging AI agents to remote servers via SSH using FastMCP.

GitHubEmbed

Описание

MCP server bridging AI agents to remote servers via SSH using FastMCP.

README

A Python MCP (Model Context Protocol) server that bridges Poke/AI agents to secure SSH access on remote Linux machines.

What is this?

This deployment exposes two MCP tools:

  • ssh_execute: run shell commands on a remote SSH host
  • get_server_info: retrieve basic information about the MCP server

Why it is useful

  • Standardized MCP interface for remote server administration
  • Authentication through a shared Poke secret header
  • Password-based SSH and SSH key-based SSH support
  • Simple deployment behind a tunnel or reverse proxy

Requirements

  • Python 3.10+ is required because fastmcp depends on it.
  • pip

Setup

Installation

git clone https://your-domain.com/poke-ssh-bridge-mcp.git
cd poke-ssh-bridge-mcp
pip install -r requirements.txt

Configuration

Create a .env file in the project root:

POKE_API_KEY=your-shared-secret-here
POKE_MCP_HOST=0.0.0.0
POKE_MCP_PORT=8888
POKE_SSH_CONNECT_TIMEOUT=10
POKE_SSH_COMMAND_TIMEOUT=30

Poke must be able to reach this bridge over the public internet, so port 8888 MUST be exposed externally. Binding only to localhost is not enough. Poke must be able to reach this bridge over the public internet, so port 8888 MUST be exposed externally. Binding only to localhost is not enough.

If this machine is behind NAT or a home router, expose port 8888 with a tunnel or forwarding layer such as frp or cloudflared.

Usage

Start the server from the repository root with the shell wrapper:

./scripts/start.sh

Or run the module directly:

PYTHONPATH=src python3 -m server

If you install the package, the console script also works:

poke-mcp-ssh-bridge

The server listens on port 8888 by default. Make sure your public endpoint forwards to that same port on the machine running the bridge. pm2 save pm2 startup


## Security guidance

- Keep `POKE_API_KEY` secret and rotate it if it is ever exposed
- Never commit `.env` files, SSH private keys, or other credentials
- Restrict the SSH account to the minimum permissions needed for your workflow
- Prefer key-based SSH auth where possible

## License

This project is open source. See the repository license for details.

from github.com/dennisyang1986/poke-ssh-bridge-mcp

Установка Poke SSH Bridge

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/dennisyang1986/poke-ssh-bridge-mcp

FAQ

Poke SSH Bridge MCP бесплатный?

Да, Poke SSH Bridge MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Poke SSH Bridge?

Нет, Poke SSH Bridge работает без API-ключей и переменных окружения.

Poke SSH Bridge — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Poke SSH Bridge в Claude Desktop, Claude Code или Cursor?

Открой Poke SSH Bridge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Poke SSH Bridge with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai