Skip to main content
Glama

TerminusAI

MIT License
  • Linux

execute_command

Run commands locally or on remote hosts via SSH with TerminusAI. Maintain session state for 20 minutes, enabling persistent environments and efficient workflows. Supports environment variables and flexible integration with AI models.

Instructions

Execute commands on remote hosts or locally (This tool can be used for both remote hosts and the current machine)

Input Schema

NameRequiredDescriptionDefault
commandYesCommand to execute. Before running commands, it's best to determine the system type (Mac, Linux, etc.)
envNoEnvironment variables
hostNoHost to connect to (optional, if not provided the command will be executed locally)
sessionNoSession name, defaults to 'default'. The same session name will reuse the same terminal environment for 20 minutes, which is useful for operations requiring specific environments like conda.default
usernameNoUsername for SSH connection (required when host is specified)

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command to execute. Before running commands, it's best to determine the system type (Mac, Linux, etc.)", "type": "string" }, "env": { "default": {}, "description": "Environment variables", "type": "object" }, "host": { "description": "Host to connect to (optional, if not provided the command will be executed locally)", "type": "string" }, "session": { "default": "default", "description": "Session name, defaults to 'default'. The same session name will reuse the same terminal environment for 20 minutes, which is useful for operations requiring specific environments like conda.", "type": "string" }, "username": { "description": "Username for SSH connection (required when host is specified)", "type": "string" } }, "required": [ "command" ], "type": "object" }
Install Server

Other Tools from TerminusAI

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/Gorav22/TerminusAI'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server