MCP SSH Wingman

MCP SSH Wingman

mcp-ssh-wingman•byconallob

A Model Context Protocol server that provides read-only access to Unix shell prompts via tmux, letting AI assistants observe terminal environments without executing commands.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes MCP tools to read current terminal content, read scrollback history by line count, and retrieve terminal metadata such as dimensions and current path.
  • •Creates or attaches to a detached tmux session and uses tmux capture-pane to read content without sending keystrokes or commands.
  • •Offers MCP resources representing the current terminal content and terminal metadata.
  • •Operates on local tmux sessions only and cannot execute shell commands.

BEST FOR

  • •Monitoring long-running processes and build outputs from an AI assistant.
  • •Debugging issues by reviewing terminal history.
  • •Providing context-aware assistance based on the current terminal state.

ABOUT MCP-SSH-WINGMAN

MCP SSH Wingman is cataloged as an MCP server attributed to conallob. A Model Context Protocol server that provides read-only access to Unix shell prompts via tmux, letting AI assistants observe terminal environments without executing commands. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP SSH Wingman are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Will GNU screen support be added?

Not in the immediate future, because screen lacks a mechanism to enforce read-only mode, which is the main safeguard of this server.

Will zellij support be added?

Possibly in the future, but first zellij needs read-only functionality implemented to match tmux.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 01d17d3eafcd · 采集于 2026-11-13 11:24:01 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP SSH Wingman

Test codecov Go Version License Buy Me A Coffee

A Model Context Protocol (MCP) server that provides read-only access to Unix shell prompts via tmux. This enables AI assistants like Claude to safely observe terminal environments without executing commands.

Features

  • 🔒 Read-only access - Observe terminal content without execution risks
  • 🖥️ tmux integration - Leverages tmux's session management for reliable terminal access
  • 📜 Scrollback history - Access historical terminal output
  • 📊 Terminal metadata - Retrieve dimensions, current path, and session info
  • 🔌 MCP protocol - Standard protocol for AI assistant integration

FAQ

Will you be adding GNU screen support?

Not in the immediate future. Although screen can be used for pair programming/debugging, it does not have any mechanism to enforce read only mode.

Since the read-only safeguard is the main difference between this MCP and other MCPs with ssh functionality , screen will need to support read-only sessions before it can be integrated

Will you be adding zellij support?

In the future, possibly. https://github.com/zellij-org/zellij/issues/4348 needs to be implemented first, to ensure zellij has read-only functionality, just like tmux

Prerequisites

  • tmux (for terminal session management)
  • (Optional) Go 1.21 or later (only needed for building from source)

Installation

Homebrew (macOS/Linux)

brew tap conallob/tap
brew install mcp-ssh-wingman

Pre-built binaries

Download pre-built binaries from the releases page.

Available for:

  • macOS (arm64/amd64)
  • Linux (arm64/amd64)
  • FreeBSD (arm64/amd64)

Build from source

See DEVELOPMENT.md for build instructions.

Usage

Running the server

# Start with default tmux session name (mcp-wingman)
mcp-ssh-wingman

# Use a custom tmux session name
mcp-ssh-wingman --session my-session

# Show version
mcp-ssh-wingman --version

Integration with Claude Desktop

Add the server to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ssh-wingman": {
      "command": "/usr/local/bin/mcp-ssh-wingman",
      "args": ["--session", "mcp-wingman"]
    }
  }
}

Restart Claude Desktop after updating the configuration.

Integration with Gemini CLI

Add this section to your Gemini config file (~/.gemini/settings.json):

{
  "mcpServers": {
    "ssh-wingman": {
      "command": "/usr/local/bin/mcp-ssh-wingman",
      "args": ["--session", "mcp-wingman"]
    }
  }
}

Run the gemini CLI and make sure it can see the MCP server:

> /mcp list

Configured MCP servers:

🟢 ssh-wingman - Ready (3 tools)
  Tools:
  - get_terminal_info
  - read_scrollback
  - read_terminal

Test with a prompt:

> using ssh-wingman MCP Server, what do you see in my session?

 ╭────────────────────────────────────────────────────────────────────────────────────────╮
 │ ?  read_terminal (ssh-wingman MCP Server) {} ←                                         │
 │                                                                                        │
 │   MCP Server: ssh-wingman                                                              │
 │   Tool: read_terminal                                                                  │
 │                                                                                        │
 │ Allow execution of MCP tool "read_terminal" from server "ssh-wingma…                   │
 │                                                                                        │
 │ ● 1. Yes, allow once                                                                   │
 │   2. Yes, always allow tool "read_terminal" from server "ssh-wingma…                   │
 │   3. Yes, always allow all tools from server "ssh-wingman"                             │
 │   4. No, suggest changes (esc)                                                         │
 │                                                                                        │
 ╰────────────────────────────────────────────────────────────────────────────────────────╯
⠏ Waiting for user confirmation...

You might as well select option 3 there.

Available Tools

The server exposes the following MCP tools:

read_terminal

Read the current terminal content from the tmux session.

Example:

{
  "name": "read_terminal"
}

read_scrollback

Read scrollback history from the tmux session.

Parameters:

  • lines (number): Number of lines to retrieve from scrollback buffer

Example:

{
  "name": "read_scrollback",
  "arguments": {
    "lines": 100
  }
}

get_terminal_info

Get information about the terminal (dimensions, current path, etc.).

Example:

{
  "name": "get_terminal_info"
}

Available Resources

terminal://current

Current terminal content as a text resource.

terminal://info

Terminal metadata and information.

How It Works

The server creates or attaches to a tmux session and uses tmux's built-in commands to safely read terminal content:

  1. Session Management: Creates/attaches to a detached tmux session
  2. Content Capture: Uses tmux capture-pane to read visible content
  3. Read-Only: Never sends keystrokes or commands to the session
  4. MCP Protocol: Exposes terminal content via standard MCP tools and resources

This approach ensures that the AI assistant can observe terminal activity without any risk of accidentally executing commands or modifying the terminal state.

Use Cases

  • Monitor long-running processes and build outputs
  • Observe terminal-based application behavior
  • Debug issues by reviewing terminal history
  • Provide context-aware assistance based on current terminal state

Security Considerations

MCP SSH Wingman is designed with security in mind:

  • Read-only: The server never sends input to the terminal
  • Local access: Operates on local tmux sessions only
  • No command execution: Cannot execute shell commands
  • Isolated sessions: Each session is independent and sandboxed by tmux

Troubleshooting

Server won't start

  • Ensure tmux is installed: tmux -V
  • Check that the binary has execute permissions: chmod +x /usr/local/bin/mcp-ssh-wingman

Claude Desktop can't connect

  • Verify the path to the binary in your configuration file
  • Check Claude Desktop logs for error messages
  • Ensure the binary runs successfully from command line first

Can't see terminal content

  • Verify the tmux session exists: tmux list-sessions
  • Ensure the session name matches the one specified in configuration
  • Check that the tmux session has active panes

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

For development guidelines, see DEVELOPMENT.md.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP SSH Wingman from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-ssh-wingman)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools