Install
openclaw skills install @nzdsf2-gif/relayshield-mcp-firewallRoute OpenClaw MCP traffic through the RelayShield Proxy Firewall, screening every tool call and tool result against threat intelligence before it reaches your agent.
openclaw skills install @nzdsf2-gif/relayshield-mcp-firewallScreens every MCP tool call and tool result against RelayShield's threat-intelligence corpus (700K+ indicators) before it reaches your agent. Catches poisoned tool definitions, prompt-injected responses, credential exfiltration, and known phishing-kit fingerprints at runtime.
OpenClaw -> mcporter -> [RelayShield Proxy :8090] -> Upstream MCP Server
|
TI screening per tools/call
Your agent connects to mcporter as before. mcporter connects to the RelayShield proxy instead of the upstream server directly. The proxy forwards clean calls upstream and blocks or quarantines suspicious ones, returning standard MCP error responses.
npm install -g mcportergit clone https://github.com/nzdsf2-gif/relayshield.gitBefore routing traffic, audit the upstream server's tool definitions offline with the pre-deployment scanner:
cd relayshield
python3 -m mcp_proxy.tool_scanner --url https://your-mcp-server.example.com/mcp
This flags prompt injection, instruction hijacking, exfiltration patterns, credential parameters, and dangerous capabilities in tool definitions. Fix what it finds, then deploy the proxy for runtime protection.
cd relayshield
export MCP_PROXY_UPSTREAM="https://your-mcp-server.example.com/mcp"
export MCP_PROXY_PORT="8090"
python3 -m mcp_proxy
The proxy listens on port 8090 and forwards screened requests to your upstream server. Point your MCP client at http://localhost:8090.
Useful environment variables:
| Variable | Default | Description |
|---|---|---|
MCP_PROXY_UPSTREAM | (required) | Upstream MCP server URL |
MCP_PROXY_PORT | 8090 | Local listen port |
MCP_PROXY_SCREENING | true | Master switch for TI screening |
MCP_PROXY_BLOCK_LEVELS | high,medium | Verdict levels that block |
MCP_PROXY_RESULT_SCREENING | true | Screen tool results, not just calls |
MCP_PROXY_BEHAVIOR | true | Behavioral anomaly detection |
RELAYSHIELD_API_KEY | (optional) | Enables deeper cached checks |
Run one proxy instance per upstream server, each on its own port.
Register the proxy as the server in mcporter instead of the upstream URL. The upstream auth header moves to the proxy's environment only if the upstream needs it; mcporter itself talks to the local proxy with no auth.
mcporter config add myserver http://127.0.0.1:8090 --scope home
If the upstream server needs an Authorization header, the proxy forwards a static header you configure. Set it via the proxy's environment or policy file rather than in mcporter, so the credential never passes through the agent's config.
Verify the tools enumerate through the proxy:
mcporter list myserver
If this prints tool metadata, the chain is live: OpenClaw -> mcporter -> RelayShield proxy -> upstream.
Run a quick check that the proxy is actually screening. The interactive demo runs 14 attack scenarios through the full stack without any network:
python3 -m mcp_proxy.dashboard --demo
# then open http://127.0.0.1:8091/_rs/dashboard
Scenario 2 (poisoned neighbor) and scenario 5 (phishing-kit fingerprint) show BLOCKED verdicts with confidence scores and cause codes explaining which signals fired.