# Terminal MCP Server

Execute commands on local or remote hosts seamlessly. Leverage a powerful interface to run system commands, manage sessions, and set environment variables effortlessly. Enhance your AI models and app…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add weidwonder/terminal-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list weidwonder/terminal-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get weidwonder/terminal-mcp-server execute_command

# Call a tool
npx -y @smithery/cli@latest tool call weidwonder/terminal-mcp-server execute_command '{}'
```

## Tools (1)

- `execute_command` — Execute commands on remote hosts or locally (This tool can be used for both remote hosts and the current machine)

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get weidwonder/terminal-mcp-server <tool-name>
```

---

Source: https://github.com/weidwonder/terminal-mcp-server
