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

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

TDQS

A4.3/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one executes commands after policy evaluation, the other only simulates to show the policy verdict. Their descriptions explicitly highlight the difference, making it impossible to confuse them.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with snake_case (run_command, explain_command), which is clear and predictable.

Tool Count3/5

With only 2 tools, the surface is very small. While it might suffice for a minimal sandboxed terminal, the server's name suggests broader functionality, so the count feels slightly lacking but not severely mismatched.

Completeness2/5

The tools cover execution and policy checking, but there is no ability to manage policies (e.g., view, edit, list) or handle command history. This leaves notable gaps that agents would need to work around.

Maintenance

ActivitySlowing
ResponsivenessNo issues