http_request
Make an HTTP/HTTPS request and return status, headers, and body. Only http:// and https:// allowed. Response body capped at 512KB.
This record as markdown: /tools/7majesty-m-terminal-guardian-mcp/http-request.md
What http_request does on Terminal Guardian
AI agents call http_request to retrieve information from Terminal Guardian without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why http_request is rated Low
While HTTP requests are primarily read operations that retrieve data without modifying server state, the medium severity reflects that an AI agent could abuse this tool to: (1) exfiltrate sensitive data from internal/external endpoints, (2) perform reconnaissance on network topology, (3) trigger side-effect endpoints that accept GET requests, or (4) probe for authentication mechanisms.
From the tool's definition Tool description states it 'Make an HTTP/HTTPS request and return status, headers, and body.' This is fundamentally a data retrieval operation that queries remote HTTP endpoints.
Attacks that exploit this kind of access
The rule that runs http_request safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Terminal Guardian, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For http_request, this is the rule to start with:
http_request is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Terminal Guardian, apply this rule, and every http_request call is checked against it from then on.
Questions about http_request
Make an HTTP/HTTPS request and return status, headers, and body. Only http:// and https:// allowed. Response body capped at 512KB. It is categorised as a Read tool in the Terminal Guardian MCP Server, which means it retrieves data without modifying state.
Register the Terminal Guardian MCP server in PolicyLayer and add a rule for http_request: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Terminal Guardian. Nothing to install.
http_request is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the http_request rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for http_request. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
http_request is provided by the Terminal Guardian MCP server (7majesty-m/terminal-guardian-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Terminal Guardian, and thousands of servers like it.
This server
Across the catalogue