Dev.to Security 🔐 Cybersecurity 👁 0 📖 6 min read

Screen every MCP server before you connect: RelayShield Firewall is open source

Your AI agent connects to MCP servers to get work done. Each connection hands a remote server a place inside your agent's workflow: its tools, its prompts, its file access, its ability to call out to other services. That

Your AI agent connects to MCP servers to get work done. Each connection hands a remote server a place inside your agent's workflow: its tools, its prompts, its file access, its ability to call out to other services. That is the deal MCP makes, and it is also the risk. A server does not have to be obviously malicious to be dangerous. It only has to be the wrong server.

Watch the 30-second launch video: https://github.com/relayshield/relayshield-firewall/blob/main/assets/relayshield-firewall-launch-30s.mp4

The problem: MCP servers are software you run on trust

MCP took off because connecting is easy. Paste a URL or a command into a config file, restart your client, and your agent has new tools. That ease is the attack surface.

First, typosquats. A server named to look like a popular one, one letter off, or hosted on a lookalike domain, gets installed by people who meant to install the real thing. The install step is the whole attack: once the agent trusts the server, its tool descriptions shape what the agent does.

Second, poisoned tool descriptions. An MCP tool is described in plain text, and the agent reads that text as instruction. A tool description can carry a hidden instruction to exfiltrate data, to call another tool first, or to reframe a payment. The agent cannot tell the difference between a legitimate instruction from you and an instruction smuggled in through a tool it trusts.

Third, prompt injection in tool output. A server returns content, the agent reads it, and the content tells the agent to do something you never asked for. The server does not need code execution on your machine. It only needs your agent to believe what it returns.

Fourth, the registry gap. There is no single authority that vets every MCP server. The official registry lists servers, directories mirror them, and clients install from names and URLs. A server can be listed, look legitimate, and still be a trap. The check has to happen before you connect, not after something goes wrong.

None of this is theoretical. The pattern is the same one that hit browser extensions, package registries, and mobile app stores: an open ecosystem, easy installs, and attackers who know the install step is the weakest link. AI agents make it worse, because the agent acts on what it reads without the skepticism a human brings to a strange download.

That is why a firewall belongs in front of MCP, not behind it. You would not run a browser with no blocklist, and you would not install packages from an unvetted registry with no scanner. An agent that connects to arbitrary MCP servers needs the same layer: a check, before the connection, against live threat intelligence.

The Firewall: screen first, then connect

RelayShield Firewall is that layer, and it is open source starting today: https://github.com/relayshield/relayshield-firewall

It screens an MCP server before you connect, against a live threat-intelligence corpus built from 147 monitored Telegram marketplaces, with 930K+ unique indicators and 12.5M citations. The corpus is what makes a verdict worth trusting: it comes from real criminal marketplaces, not a static list. The same screening covers links, wallets, and emails, so the check you run on a server is the same check you run on a payment address or a suspicious link.

The hosted Firewall adds the console, the audit trail, and policy enforcement that flags and blocks at the tool call as policy dictates. The free checks below are the screening layer: they screen and report. They do not block or quarantine anything on their own.

Try it in 30 seconds: no install, no account, no API key

Paste this into your MCP client config to connect to the free remote endpoint.

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "relayshield": {
      "url": "https://relayshieldadmin-relayshield-free-mcp.hf.space/mcp"
    }
  }
}

Claude Code (CLI):

claude mcp add --transport http relayshield https://relayshieldadmin-relayshield-free-mcp.hf.space/mcp

Quit and relaunch your client after editing. Then ask it to screen something:

Screen this MCP server before I connect: https://example-mcp-server.com/mcp
Check whether this wallet is safe to pay: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
Is this link a phishing page? https://suspicious-link.example.com

No install. No account. No API key. The endpoint is live now.

Screen from your terminal or your CI

relayshield-screen is the free local CLI for the same screening. It prints a verdict and exits non-zero when the verdict is bad, so CI can fail the build.

Install it:

pip install relayshield-screen

Screen an MCP server before you connect:

relayshield-screen https://example-mcp-server.com/mcp --type mcp-server

Screen a link, a wallet, or an email:

relayshield-screen https://suspicious-link.example.com
relayshield-screen 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
relayshield-screen [email protected]

No account, no token, no API key. The CLI calls the keyless free server by default. To screen against your hosted demo or tenant proxy instead, pass --endpoint with the proxy URL and --token with your token.

Run it in CI with the GitHub Action. It screens an MCP server on every pull request and fails the step when the verdict is bad:

- name: Screen the MCP server
  uses: relayshield/relayshield-firewall/[email protected]
  with:
    target: "https://example-mcp-server.com/mcp"
    type: "mcp-server"

The CLI and the Action live in relayshield-screen/ in the repo.

Use it in ChatGPT

ChatGPT connects through the RelayShield Scam Checks plugin, which is live now. Search for "RelayShield Scam Checks" in ChatGPT and add it. There is no local config file to edit: the plugin talks to the same free screening server, so you can ask ChatGPT to screen a link, a wallet, or an email right in chat.

What it screens

Check What it does
MCP server risk Typosquat, IOC, and registration-age check for an MCP server before you connect
Link Screen a URL for phishing and malware
Wallet Screen a crypto wallet before you pay it
Email Score a suspicious email for phishing signals, and check its links too
Breach Email against 13B+ compromised-account records (subscription or partner key)

The free endpoint gives you the screening tools. If a check comes back with flags, do not connect, do not pay, do not click. If it comes back with no flags found, that is what it says: no flags found, not a guarantee. Screening is a check, not a promise.

From a free check to a hosted Firewall

The free endpoint and CLI are the front door. The hosted Firewall is the full product: the console, the audit trail, and policy enforcement at the tool call, for teams that run agents against MCP servers all day.

Firewall Direct is $49 per month (20,000 screened calls included, $0.002 per call overage). MSP is $69 per month per client org. Firewall plus Agent Verifiers is $109 per month combined, which saves $19 against the $128 separate total. Pay as you go is also available: counterparty screen $0.10, pin check $0.02, passport issue $0.50, intent bind $0.10, intent settle check $0.10. All in USDC on Base via x402.

Start free, and pay only when the screening becomes part of how your team works.

Open source, and what comes next

The repo is the front door: the free remote endpoint, the screening tools, and the links to everything else RelayShield builds. It is listed in the official MCP Registry as io.github.relayshield/relayshield-firewall, and the free server is there too. Star it, try the free endpoint, and run the CLI against the next MCP server before you connect.

Links:

Repo: https://github.com/relayshield/relayshield-firewall
Developers and API docs: https://api.relayshield.net/developers
Blog: https://blog.relayshield.net
Shopify Order Screening: https://apps.shopify.com/relayshield-order-screening
Free MCP server: https://github.com/relayshield/relayshield-mcp
Crypto Shield Mobile: https://cryptoshieldmobile.relayshield.net/
RelayShield Chrome extension: https://chromewebstore.google.com/detail/relayshield-link-wallet-e/fjpgbkdoekbmdfcbdpgnepbhaceilpbk
Telegram bot: https://t.me/relayshield_bot
WhatsApp bot: https://wa.me/17407373961

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.