mcp_pypi_ansh_lamba
v0.1.0an mcp which adds terminal capabilities to agent
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run_command Run Command
Run a shell command and return stdout, stderr, and return code.
| Parameter | Type | Description |
|---|---|---|
command * | string | |
cwd | ||
timeout | integer |
read_file Read File
Read and return the contents of a file.
| Parameter | Type | Description |
|---|---|---|
path * | string |
write_file Write File
Write content to a file, creating parent directories if needed.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string |
list_directory List Directory
List entries in a directory. Returns names with a trailing / for subdirectories.
| Parameter | Type | Description |
|---|---|---|
path | string |
get_working_directory Get Working Directory
Return the current working directory.
file_exists File Exists
Check whether a file or directory exists at the given path.
| Parameter | Type | Description |
|---|---|---|
path * | string |
delete_file Delete File
Delete a file (not a directory).
| Parameter | Type | Description |
|---|---|---|
path * | string |