terminal-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TERMINAL_MCP_DIR | No | Directory for saved screenshots. | ~/terminal-screenshots |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| terminal_execA | Execute any shell command and capture its full output with ANSI colors. Returns output text and a capture ID for later screenshot. Use terminal_exec_screenshot instead if you want the image immediately. |
| terminal_screenshotB | Render a captured command output as a terminal-styled PNG screenshot. Uses the last capture if no ID given. |
| terminal_exec_screenshotA | Execute a command and capture a single PNG screenshot of its full output. One command = one image. This is the primary tool — use it for any shell command (pentest, sysadmin, dev, networking, etc). |
| terminal_screenshot_textB | Render arbitrary text as a terminal-styled PNG screenshot. Useful for manually composed output. |
| terminal_list_capturesB | List all captured command outputs in the current session. |
| terminal_list_screenshotsC | List all saved screenshot files from the screenshots directory. |
| terminal_themesA | List all available terminal themes with preview colors. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools have distinct roles, but terminal_exec and terminal_exec_screenshot overlap in that both run a command and return output plus a capture artifact, forcing the agent to choose based on whether it wants an image now or later. The three screenshot-producing tools (screenshot, screenshot_text, exec_screenshot) are differentiated by input source (capture ID, arbitrary text, command), which the descriptions make clear.
All names share the terminal_ prefix and snake_case is used throughout, with a recognizable exec/screenshot/list pattern. Minor deviations: terminal_themes lacks a verb (unlike list_captures/list_screenshots), and the noun/verb ordering flips between terminal_screenshot and terminal_exec_screenshot.
Seven tools is well-scoped for a command-execution-plus-screenshot server; each tool maps to a concrete step (run, render, list captures, list files, list themes). Nothing feels redundant or bloated.
The surface covers the full core loop: execute commands, capture output, render screenshots from captures or arbitrary text, and enumerate captures/screenshots/themes. Minor gaps exist around cleanup (deleting captures or screenshot files) and there is no tool to inspect or read back an existing screenshot or capture other than its ID.