Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Override permission mode for this session. Options: allowlist, ask, allow_all | |
| config | No | Path to configuration file (default: ~/.config/host-terminal-mcp/config.yaml) | |
| allow-dir | No | Add allowed directory (can be used multiple times) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_command | Execute a terminal command on the host machine. Commands are subject to permission controls based on configuration. Read-only commands like ls, cat, git status are generally allowed by default. Use 'cd' as a separate command or specify working_directory parameter. |
| change_directory | Change the current working directory for subsequent commands. |
| get_current_directory | Get the current working directory. |
| approve_command | Approve a command that requires permission. This is used when permission_mode is 'ask' and a command is not in the allow list. The command will be approved for this session only. |
| get_permission_status | Get information about the current permission mode and allowed commands. |
| set_permission_mode | Change the permission mode. Modes: 'allowlist' (only allow listed commands), 'ask' (prompt for unlisted commands), 'allow_all' (allow all commands - use with caution!) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |