Agent MCP Directory

Trail of Bits mcp-context-protector: MCP vendor profile

mcp-context-protector from Trail of Bits wraps MCP servers to pin their configuration on first use, quarantine tool responses flagged by guardrails and strip ANSI control characters, as documented by the vendor. Trail of Bits releases mcp-context-protector under Apache-2.0, and GitHub counted 228 stars for it on 5 Nov 2026 (github.com, observed 5 November 2026).

At a glance

TypeSecurity scanners
OperatorTrail of Bits
Homegithub.com
Priceopen source, Apache-2.0
Read5 November 2026

What it does for this layer

Trail of Bits calls mcp-context-protector an "MCP security wrapper" for the risks of running untrusted MCP servers, including line jumping and unexpected configuration changes (github.com). Clients run their MCP servers through mcp-context-protector, and the README shows a Claude Desktop configuration that enables tool configuration pinning (github.com). The README warns that some clients, including Cursor at the time of writing, join stdio server arguments into one space-delimited string, and adds a --command-args option for that case (github.com).

mcp-context-protector pins server configurations with trust-on-first-use, so a changed tool configuration is caught before the client sees it (github.com). mcp-context-protector scans tool responses with guardrails and quarantines flagged responses (github.com). mcp-context-protector sanitises ANSI control characters in server output (github.com).

Products and plans

Trail of Bits mcp-context-protector: products read on 5 November 2026, with the price where the page gave one
ProductWhat it doesPrice
mcp-context-protectorOpen-source wrapper that pins MCP server configs and screens responses.open source, Apache-2.0; from 0 USD (source, as of 5 November 2026)

Checks on its own domain

Trail of Bits mcp-context-protector: the checks run on trailofbits.com
CheckDomainResultScannedMethod
Ora cached scoretrailofbits.com47 of 100, grade D25 August 2026how it was taken
Cloudflare agent-readiness scantrailofbits.com20 of 100, L1 Basic Web Presence; 3 of 15 counted checks passed5 November 2026how it was taken

What it does not do

  • mcp-context-protector does not scan a whole machine for agent configs; it wraps the servers a client is configured to run through it.
  • Trail of Bits does not sell mcp-context-protector as a hosted service.