MCPServers
Terminal Controller - MCP server logo

Terminal Controller

33
0

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.

change_directory

Change the current working directory. Parameters: path (string, directory path to switch to)

list_directory

List files and subdirectories in the specified directory. Parameters: path (optional string, directory path to list contents, default: current directory)

write_file

Write content to a file with overwrite or append options. Parameters: path (string, path to the file), content (string, content to write), mode (optional string, write mode: 'overwrite' or 'append', default: 'overwrite')

read_file

Read content from a file with optional row selection. Parameters: path (string, path to the file), start_row (optional integer, starting row to read from, 0-based), end_row (optional integer, ending row to read to, inclusive, 0-based)

insert_file_content

Insert content at specific row(s) in a file. Parameters: path (string, path to the file), content (string, content to insert), row (optional integer, row number to insert at, 0-based), rows (optional array of integers, list of row numbers to insert at, 0-based)

delete_file_content

Delete content at specific row(s) from a file. Parameters: path (string, path to the file), row (optional integer, row number to delete, 0-based), rows (optional array of integers, list of row numbers to delete, 0-based)

update_file_content

Update content at specific row(s) in a file. Parameters: path (string, path to the file), content (string, new content to place at the specified row(s)), row (optional integer, row number to update, 0-based), rows (optional array of integers, list of row numbers to update, 0-based)

Last Updated: April 25, 2025

Recensioni della Community

0.0
0 recensioni
5
0
4
0
3
0
2
0
1
0

Nessuna recensione ancora. Sii il primo a recensire!

Accedi per unirti alla conversazione

Coming soon to
HighlightHighlight AI

Linguaggio

TypeScript

Categorie

Tag