nethack-mcp
Verified Safeby Christoph-D
Overview
Facilitates an AI agent's interaction with the NetHack game through a tmux session.
Installation
No command providedEnvironment Variables
- NETHACK_TMUX_SESSION
Security Notes
The project uses standard operating system commands (`tmux`, `nethack`) and executes them via Go's `os/exec` package. Inputs for `tmux` commands are either hardcoded, derived from environment variables, or passed as distinct arguments, reducing the risk of shell injection. The `NETHACK_TMUX_SESSION` environment variable is a potential point of concern if its value could be maliciously crafted, but `tmux` command arguments like session names are generally not exploitable in this context. There are no network services exposed or arbitrary `eval` like constructs observed. The system is designed for a trusted local agent environment.
Similar Servers
tmux-mcp
Enables AI assistants (like Claude Desktop) to interact with, control, and observe tmux terminal sessions by providing tools for session management and command execution.
Handler
An A2A (Agent-to-Agent) Protocol client and developer toolkit providing CLI, TUI, local server agent, and MCP server for interacting with AI agents.
soulshack
An advanced IRC chatbot powered by LLMs, designed to bridge traditional chat with modern AI capabilities and a unified tool system.
imprint
Enables AI agents to programmatically control a terminal, capture screenshots, and extract text for TUI testing and interaction.