Skip to main content
Glama
Asaad-Suliman

hardened-terminal-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTMCP_JAIL_ROOTNoDirectory commands are jailed to (default: process cwd).
HTMCP_POLICY_FILENoPath to policy.toml (default: policy.toml)policy.toml

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_commandA

Evaluate command against policy and, if allowed, run it sandboxed.

Denied commands are never executed. cwd (if given) must resolve inside the jail root; any traversal/symlink/absolute escape returns CWD_ESCAPE. Any unexpected error becomes INTERNAL_ERROR with a generic message.

explain_commandA

Dry run: return the policy verdict without executing anything.

stdout/stderr are always empty and exit_code is always None. This function does not reference the executor at all, so it is structurally impossible for it to run a command (see test_explain_command_cannot_execute).

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/Asaad-Suliman/hardened-terminal-mcp'

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