Skip to Content

Terminal

Connect to a terminal to execute commands on your local machine via Edge Tunnel.

Key Features

  • Execute shell commands

Basic Information

Authentication Method

No authentication is required. The terminal connects to the local machine via Edge Tunnel.

Supported MCP Tools

start_process

Start a new terminal process with intelligent state detection.

interact_with_process

Send input to a running process and automatically receive the response.

read_process_output

Read output from a running process with intelligent completion detection.

force_terminate

Force terminate a running terminal session.

list_sessions

List all active terminal sessions.

list_processes

List all running processes.

kill_process

Terminate a running process by PID.

Usage Example

For example,

  • When you input “I want to clone a Git repository” as a prompt,
  • The LLM calls the start_process tool to initiate a terminal session.
  • You can then interact with the terminal to execute commands like git clone <repository-url>.
  • The LLM can also read the output of the commands using read_process_output and provide feedback or further instructions based on the output.
  • If you want to stop the session, you can use the force_terminate tool to end the terminal session.

Notes

  • Ensure that the Edge Tunnel is properly configured and running on your local machine.
  • The terminal session will be closed automatically when you terminate the Edge Tunnel.
  • You can manage multiple terminal sessions simultaneously.
  • Supported terminals include bash, zsh, and PowerShell.
Last updated on