TL;DR: An MCP security tool should show which request boundary it protects. Inbound access to a local HTTP server and outbound requests made by a tool are different problems. A useful first offer is a reproducible test pack for one deployment, not a promise to make every MCP server safe by installing one dependency.
Two boundaries to map
The MCP Streamable HTTP specification describes transport security requirements, including Origin validation and protections for local servers against DNS rebinding. Teams should first check the applicable protocol version and framework defaults.
Separately, a tool that fetches a user-supplied URL can create an outbound SSRF risk. Its relevant questions include who can invoke it, which destinations it may contact, how redirects are handled and whether the checked address is the address actually used for the connection. An Origin check on the MCP endpoint is not a substitute for that egress policy.
A product scoped to an implementation
Start with a test harness that exercises the actual HTTP binding and URL-fetching tool in an authorized isolated deployment.
- Verify accepted and rejected Origins, authentication and intended local binding for the inbound endpoint.
- Trace DNS resolution, address validation, redirects and connection behavior for outbound requests. Treat IPv4, IPv6 and alternate address representations explicitly.
- Make approved internal destinations a deliberate policy. Blocking every private address can break a legitimate enterprise tool; permitting every private address removes the boundary.
- Keep framework version and configuration in the report so an upstream change can be evaluated rather than silently overriding local assumptions.
Middleware, a constrained fetch client or network-level egress controls are possible remedies. Which one fits depends on where the request originates; these are design options, not a single interchangeable fix.
Validate against the existing framework
Have a team reproduce one unsafe request path and compare the proposed controls with its current SDK and infrastructure. Include ordinary tool calls, authorized internal access and blocked destinations. Record bypasses, false blocks and the work needed to keep the configuration current.
If a framework already supplies the required protection, a new dependency may add maintenance without value. An audit or migration-assistance service could still be useful, but willingness to pay needs to be established with the owner of that deployment.
What this cannot establish
Passing the test pack does not prove that tool permissions, credentials, prompt handling and all other transports are safe. A scanner also cannot infer every network route from static configuration. Avoid logging sensitive destinations or request bodies in reports intended for broad sharing.
Related: JWT key selection and AI agent security-review evidence.