MCP Terminal MCP Server

MCP Terminal Server - Execute commands within allowed paths

Local serverstdio

What is the MCP Terminal MCP server?

If you want an AI assistant working directly with MCP Terminal, the mcp terminal mcp server is the bridge. MCP Terminal Server - Execute commands within allowed paths.

What MCP Terminal does

A secure command-line interface server for the Model Context Protocol (MCP) that enables AI models to interact with your terminal while maintaining security and control.

Key capabilities

  • 🔒 Secure command execution with configurable permissions
  • 📁 File system operations within allowed paths
  • 🌍 Environment variable management
  • 💻 Cross-platform support (Windows, macOS, Linux)
  • 🔌 Remote system connections support via command execution

Tools it exposes

Once connected, the assistant can call this tool directly:

  • execute_command — Run terminal commands securely (including SSH and remote commands)

Installing the mcp terminal mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Where it fits

File and storage servers are what separate an assistant that talks about your documents from one that actually works with them. MCP Terminal sits in that group, and the shape of its toolset — execute_command — tells you what it is really for. Worth comparing against the other file systems servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by dillip285.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp terminal mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
execute_commandRun terminal commands securely (including SSH and remote commands)

How to install the MCP Terminal MCP server

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": [
        "@dillip285/mcp-terminal",
        "--allowed-paths",
        "/path/to/allowed/directory"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP Terminal to execute command.

Frequently asked questions

It connects MCP Terminal to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (execute_command) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Terminal directly.