terminal
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@terminal run git log --oneline -10 to show me recent commits"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
terminal
An MCP server that exposes a single execute tool for running any CLI command over stdio. Uses execFile (no shell) to prevent injection.
Quick Start
npx @renfeng/terminalRelated MCP server: win-shell-mcp
MCP Configuration
{
"mcpServers": {
"terminal": {
"command": "npx",
"args": ["-y", "@renfeng/terminal@0.4"],
"autoApprove": ["execute"]
}
}
}Remove execute from autoApprove to require user confirmation for every call.
Tool: execute
Parameter | Type | Required | Description |
|
| Yes | The CLI to run (e.g. |
|
| Yes | Arguments to pass |
|
| No | Working directory |
|
| No | Timeout in ms (default: 30000) |
Examples
{ "command": "mvn", "args": ["clean", "install", "-DskipTests"] }
{ "command": "git", "args": ["log", "--oneline", "-10"] }
{ "command": "gradle", "args": ["build", "--info"] }
{ "command": "docker", "args": ["ps"] }
{ "command": "kubectl", "args": ["get", "pods"] }Response Format
<stdout>
[stderr]
<stderr output>
[exit code: N]Non-zero exit codes set isError: true in the MCP response.
Environment Variables
Variable | Default | Description |
|
| Default execution timeout in milliseconds |
Security
execFileruns commands directly — no shell interpretation, no injection via argsTrust is managed by Kiro's
autoApproveinmcp.jsonThe server has no allowlist — Kiro is the gatekeeper
Development
npm install
npm run build
npm testLicense
MIT
Available Tools
1 toolexecuteA
Execute a CLI command. The command is run directly via execFile (not through a shell) to prevent injection. Respects Kiro's trustedCommands and commandDenylist settings.
Inputs: args (required), command (required), cwd, timeout.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of misselection or overlap with a sibling tool. Its purpose (run a CLI command) is unambiguous.
The single name 'execute' is a clear, lowercase verb with no casing or style conflicts. There is no multi-tool pattern to evaluate against, so consistency is trivially satisfied rather than demonstrated.
A terminal server's core job is running commands, and one tool covers that cleanly without bloat. It is slightly thin in that everything (command, args, working directory, environment) must be funneled through a single entry point.
Single-shot command execution via execFile is covered, but there is no support for persistent/interactive sessions, stdin streaming, background processes, or explicit cwd/env handling. Agents needing multi-step stateful terminal work will hit dead ends.
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Manage repositories, users, releases, and automate GitHub workflows
Hosted coding agent: start, follow up on and stop tasks that can open GitHub pull requests.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables executing bash commands with foreground/background support, timeouts, environment control, and OpenTelemetry observability.22 npm3MIT
- AlicenseNot gradedqualityDmaintenanceProvides a deterministic set of 40 cross-platform command tools as an MCP server, replacing unsafe raw shell calls with structured JSON inputs and outputs for file system, process, network, and git operations.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to discover and execute operational tools such as database mutations and system diagnostics over stdio, with deterministic structured outputs and Langfuse observability.ISC

faraztools-mcpofficial
AlicenseAqualityCmaintenanceEnables AI clients to call small utility tools like echo and Markdown-to-PDF conversion, running locally over stdio.2MIT