1. Conduid
  2. Developer Tools
  3. Terminal-Control
MCP server · Developer Tools

Terminal-Control

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

Unclaimed MIT last commit a year ago devtools
57Fair

Scored 5 hours ago · breakdown

About Terminal-Control

Terminal-Control is an MCP server published by GongRzhe in the Developer Tools category: a Model Context Protocol (MCP) server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface. Conduid read 10 tools from its source: change_directory, delete_file_content, execute_command, get_command_history, get_current_directory, insert_file_content and 4 more. It is published to PyPI as terminal-controller and runs with uvx.

The repository has 95 stars and 16 forks, is licensed MIT, and its last commit was on 14 Jun 2025. The latest release is v0.1.8 (7 Apr 2025). The release before it was v0.1.7 (19 Mar 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include devtools.

Install

Claude Code
claude mcp add terminal-controller-mcp -- uvx terminal_controller
Run
uvx terminal_controller
uvx
uvx terminal-controller
pip
pip install terminal-controller
From source
git clone https://github.com/GongRzhe/terminal-controller-mcp

Tools (10)

change_directoryChange current working directory
ParameterTypeDescription
path *stringDirectory path to switch to
delete_file_contentDelete content at specific row(s) from a file
ParameterTypeDescription
path *stringPath to the file
rowintegerRow number to delete (0-based, optional)
rowsarrayList of row numbers to delete (0-based, optional)
substringstringIf provided, only delete this substring within the specified row(s), not the entire row (optional)
execute_commandExecute terminal command and return results
ParameterTypeDescription
command *stringCommand line command to execute
timeoutintegerCommand timeout in seconds, default is 30 seconds
get_command_historyGet recent command execution history
ParameterTypeDescription
countintegerNumber of recent commands to return
get_current_directoryGet current working directory
insert_file_contentInsert content at specific row(s) in a file
ParameterTypeDescription
content *stringContent to insert (string or JSON object)
path *stringPath to the file
rowintegerRow number to insert at (0-based, optional)
rowsarrayList of row numbers to insert at (0-based, optional)
list_directoryList files and subdirectories in the specified directory
ParameterTypeDescription
pathstringDirectory path to list contents, default is current directory
read_fileRead content from a file with optional row selection
ParameterTypeDescription
as_jsonbooleanIf True, attempt to parse file content as JSON (optional)
end_rowintegerEnding row to read to (0-based, inclusive, optional)
path *stringPath to the file
start_rowintegerStarting row to read from (0-based, optional)
update_file_contentUpdate content at specific row(s) in a file
ParameterTypeDescription
content *stringNew content to place at the specified row(s)
path *stringPath to the file
rowintegerRow number to update (0-based, optional)
rowsarrayList of row numbers to update (0-based, optional)
substringstringIf provided, only replace this substring within the specified row(s), not the entire row
write_fileWrite content to a file
ParameterTypeDescription
content *stringContent to write (string or JSON object)
modestringWrite mode ('overwrite' or 'append')
path *stringPath to the file

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 931 words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 2 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdioterminal_controller.py:796
Starts other programs
8 callssetup_mcp.py:26, setup_mcp.py:69, setup_mcp.py:87
Outbound network calls
No outbound network calls
Writes or deletes files
11 callssetup_mcp.py:132, setup_mcp.py:159, setup_mcp.py:191
Lockfile
uv.lock

Pattern matches on the source text of 2 files: places to read, not proof of what the code does at run time.

Releases

v0.1.8v0.1.8 · 7 Apr 2025
v0.1.7v0.1.7 · 19 Mar 2025

README

The repository's README runs to about 931 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Terminal-Control

How do I install Terminal-Control?

In Claude Code, run claude mcp add terminal-controller-mcp -- uvx terminal_controller. Other MCP clients take the command after "--" in their server configuration.

Is Terminal-Control safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Conduid's scan of 2 source files found that it serves MCP over stdio, starts other programs (8 calls) and writes or deletes files (11 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Terminal-Control still maintained?

The last commit was a year ago and 5 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Terminal-Control provide?

Conduid read 10 tools from the source: change_directory, delete_file_content, execute_command, get_command_history, get_current_directory, insert_file_content, list_directory, read_file and 2 more. 9 of them publish their parameters, listed under Tools above.

What license is Terminal-Control released under?

The repository declares the MIT license. That applies to the latest release, v0.1.8, as well.