Skip to main content
Glama
ankitaa186

Host Terminal MCP

by ankitaa186

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
modeNoOverride permission mode for this session. Options: allowlist, ask, allow_all
configNoPath to configuration file (default: ~/.config/host-terminal-mcp/config.yaml)
allow-dirNoAdd allowed directory (can be used multiple times)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/ankitaa186/host-terminal-mcp'

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