Skip to main content
Glama
Node Terminal MCP

Node Terminal MCP

by henryzhz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
terminal_createA

Create a new persistent terminal session that will continue running until explicitly closed. Terminal sessions maintain their state, environment variables, working directory, and command history. Use this to establish a long-running interactive environment for executing commands, running processes, or maintaining context across multiple operations.

terminal_writeA

Send text input to a terminal session. This is used for typing commands, text, or any character input. The terminal will process this input as if typed by a user. Always follow up with read_from_terminal to see the results and any output generated by the command.

terminal_send_keyB

Send special keys and key combinations to a terminal session. Use this for navigation, control sequences, and interactive commands that require specific key presses. Essential for terminal interactions like confirming prompts, navigating command history, or sending interrupt signals.

terminal_readA

Read the current output buffer from a terminal session. CRITICAL: Always call this after sending input to see command results, error messages, prompts, or any terminal output. The terminal session maintains its state, so you should read frequently to stay updated on the current state, especially after commands that might change the working directory, environment, or running processes.

terminal_resizeA

Resize a terminal session to adjust its dimensions. Useful when output is truncated or when you need to accommodate different content formats. Some commands and applications behave differently based on terminal size.

terminal_listA

List all currently active terminal sessions. Use this to check which terminal sessions are available before interacting with them, or to manage multiple terminal contexts. Each session maintains its own state, working directory, and environment.

terminal_closeA

Close a terminal session permanently. This will terminate the shell process and free up resources. Use this when you no longer need a terminal session or want to clean up. Note: Any running processes in the terminal will be terminated.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

Each tool maps to a distinct lifecycle action on a terminal session, and descriptions clearly separate input (terminal_write) from special key sequences (terminal_send_key). The write vs. send_key boundary is the only place an agent could hesitate, but the descriptions resolve it well enough.

Naming Consistency5/5

Every tool uses the identical terminal_<verb> snake_case pattern with a single, unambiguous verb (create, write, send_key, read, resize, list, close). No mixed conventions or vague names.

Tool Count5/5

Seven tools is a tight, well-scoped set that covers exactly the operations needed to manage persistent terminal sessions without filler. Nothing appears redundant or missing at the count level.

Completeness4/5

Full session lifecycle is covered: create, interact (write/send_key/read), resize, list, and close. A convenience exec-style tool for one-shot command execution or explicit exit-status retrieval would round it out, but agents can work around this via write+read.