Terminal Controller
Summary
Terminal Controller is an MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface. It implements several tools for executing commands, managing directories, and tracking command history, with built-in security measures to prevent dangerous operations. The server is designed to work across Windows and UNIX-based systems, making it versatile for various terminal-based tasks and integrations with AI-assisted workflows.
Available Actions(10)
execute_command
Execute a terminal command and return its results. Parameters: command (string), timeout (optional integer, default: 30)
get_command_history
Get recent command execution history. Parameters: count (optional integer, default: 10)
get_current_directory
Get the current working directory. Returns: Path of current working directory
change_directory
Change the current working directory. Parameters: path (string)
list_directory
List files and subdirectories in the specified directory. Parameters: path (optional string, default: current directory)
write_file
Write content to a file with overwrite or append options. Parameters: path (string), content (string), mode (optional string, default: 'overwrite')
read_file
Read content from a file with optional row selection. Parameters: path (string), start_row (optional integer), end_row (optional integer)
insert_file_content
Insert content at specific row(s) in a file. Parameters: path (string), content (string), row (optional integer), rows (optional array of integers)
delete_file_content
Delete content at specific row(s) from a file. Parameters: path (string), row (optional integer), rows (optional array of integers)
update_file_content
Update content at specific row(s) in a file. Parameters: path (string), content (string), row (optional integer), rows (optional array of integers)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论