Terminal Controller

v1.0.0Developer Toolsstable

A Model Context Protocol (MCP) server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface.

terminal-controller-for-mcpmcpai-integration
Share:
99
Stars
0
Downloads
0
Weekly
0/5

What is Terminal Controller?

Terminal Controller is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface.

A Model Context Protocol (MCP) server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Model Context Protocol (MCP) server that enables secure te

Use Cases

Execute terminal commands securely through MCP interface. Navigate directories and manage files via standardized protocol.
GongRzhe

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMar 3, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx terminal-controller-for-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Terminal Controller

Terminal Controller for MCP is a Python-based MCP server that gives AI assistants secure, structured access to terminal command execution, directory navigation, and file system operations through a standardized interface. It exposes 10 discrete tools covering everything from running shell commands with timeout controls to reading, writing, inserting, updating, and deleting specific lines within files — making it a comprehensive coding and automation assistant. It is installable via pip or uvx and integrates directly with Claude Desktop and other MCP clients.

Prerequisites

  • Python 3.10+ installed
  • pip or uv package manager available
  • An MCP-compatible client such as Claude Desktop or Cursor
  • Appropriate system permissions for the directories the AI will operate on
1

Install Terminal Controller via pip or uvx

Install the terminal-controller package. The uvx method is recommended as it handles isolated execution automatically.

pip install terminal-controller
# OR using uv:
uv pip install terminal-controller
2

Alternatively, install via Smithery for automatic client setup

Smithery can install and configure the server for Claude Desktop in one command.

npx -y @smithery/cli install @GongRzhe/terminal-controller-mcp --client claude
3

Configure Claude Desktop manually (if not using Smithery)

Add Terminal Controller to your Claude Desktop configuration file. The uvx method is the simplest to configure as it requires no explicit path.

4

Restart Claude Desktop

Quit and relaunch Claude Desktop to load the new MCP server. All 10 terminal tools will become available in your conversation.

5

Verify tools are accessible

Ask Claude to list the current directory or run a simple command. You should see it invoke the list_directory or execute_command tool.

Terminal Controller Examples

Client configuration

Claude Desktop config using the recommended uvx method for running Terminal Controller.

{
  "mcpServers": {
    "terminal-controller": {
      "command": "uvx",
      "args": ["terminal_controller"]
    }
  }
}

Prompts to try

Example prompts that use the full range of Terminal Controller's 10 tools.

- "Run 'ls -la' in the current directory and show me what's there"
- "Navigate to ~/projects/myapp and then run 'npm test'"
- "Read lines 1-50 of src/main.py"
- "Update line 12 in config.json to set 'debug': true"
- "Delete lines 100-115 from the server log file"
- "Show me the command history from this session"

Troubleshooting Terminal Controller

execute_command times out on long-running processes

The execute_command tool has configurable timeout controls. For long-running commands (builds, tests), specify a higher timeout value in the tool call arguments. Alternatively, structure your workflow to use shorter discrete commands.

Permission denied errors when running commands

The MCP server inherits the permissions of the process that launched it (Claude Desktop or the shell). Ensure the Claude Desktop process has read/write access to the directories you are trying to operate on, or run with appropriate user privileges.

uvx command not found after installing uv

After installing uv (pip install uv), ensure the uv bin directory is in your PATH. Run 'uv --version' to verify installation. If uvx is missing, upgrade uv with 'pip install --upgrade uv'.

Frequently Asked Questions about Terminal Controller

What is Terminal Controller?

Terminal Controller is a Model Context Protocol (MCP) server that model context protocol (mcp) server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Terminal Controller?

Follow the installation instructions on the Terminal Controller GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Terminal Controller?

Terminal Controller works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Terminal Controller free to use?

Yes, Terminal Controller is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "terminal-controller-for-mcp": { "command": "npx", "args": ["-y", "terminal-controller-for-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Terminal Controller?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides