terminal-mcp-server

terminal-mcp-server

12

Terminal MCP Server is a platform designed to execute commands on local and remote systems with support for persistent sessions and environment variable configurations. It supports both local connections and remote operations via SSH, making it a versatile tool for various applications.

How do I execute a command locally?

To execute a command locally, use the execute_command tool with the command parameter and specify the session and environment variables if needed.

How can I execute a command on a remote host?

To execute a command on a remote host, provide the host and username parameters along with the command. Ensure SSH key-based authentication is set up.

What is the default session timeout?

The default session timeout is 20 minutes, after which the session will automatically close.

Can I customize the SSE server settings?

Yes, you can customize the SSE server settings using command-line options such as --port, --endpoint, and --host.

What should I do if SSH connection fails?

Ensure SSH key-based authentication is set up, check if the key file exists, and verify that the SSH service is running on the remote host.