Reverse engineer anything with agents, from app behavior down to native binaries.
MCP Trust Plane
Composable data security plane for Model Context Protocol. Pluggable layers, collect, analyze, guard, across 50+ enterprise providers. Open architecture.
Install: git clone https://github.com/abluva/mcp-trust-plane
Install
git clone https://github.com/abluva/mcp-trust-planeInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →MCP Trust Plane
A pluggable, language-agnostic filter framework for Model Context Protocol (MCP) traffic. Each filter is a tiny HTTP service that decides whether a tool call should be allowed, blocked, modified, or truncated.
Why
MCP gives agents direct access to tools and data sources. That's powerful and dangerous in equal measure. Filters give you a place to enforce guardrails — block destructive SQL, redact PII before it reaches the model, throttle abusive agents, cap response sizes, redact columns — without modifying the upstream MCP server or the agent runtime.
How it works
pre-request post-response
Client ─▶ MCP Gateway ─────────▶ Engine ─▶ filter ─┐
│ ◀────────────────── allow/block ┘
│
▼ (forward)
MCP Server
│
▼
Client ◀ MCP Gateway ◀──── Engine ─▶ filter ─┐
◀───── allow/truncate/modify ┘
- An MCP gateway sits in front of the upstream MCP server.
- For every
tools/call, the gateway asks an engine "what should I do for target X at execution_point Y?". - The engine looks up the policies assigned to that target and, for each
filter in those policies, calls
POST {filter_url}/filter. - Filters are completely independent processes. They can be written in any language. They share no state with the gateway or the engine.
A reference engine and gateway live in the parent repo
(secure-ai-plane-x/mcp-filter-gateway). This sub-project ships only the
filter implementations and the contract.
The Filter Contract
Every filter MUST expose two HTTP endpoints:
POST /filter
Request body:
{
"config": { "max_rows": 1000 },
"arguments": {
"sql": "SELECT * FROM employees",
"response_count": 8000,
"response_rows": ["row-1", "row-2", "..."]
},
"metadata": {
"agent_id": "demo_agent",
"agent_name": "demo_agent",
"member_id": "f5d9e4ec-…",
"project_id": "b0000000-…",
"tool_name": "run_sql"
}
}
Response body:
{
"action": "allow | block | truncate | modify",
"reason": "human-readable string surfaced to the user and audit log",
"modified_response": { "...optional..." },
"original_count": 8000,
"truncated_to": 1000
}
allow— let the request through unchanged.block— reject. The gateway returns an MCP error usingreason.truncate— return a smaller payload (modified_response) and an audit notice. Used by post-response filters like Row Limiter.modify— replace the payload withmodified_response. Used by redactors and maskers.
Filters MUST be idempotent and side-effect free with respect to the
agent's behaviour (with the obvious exception of audit / rate limiter
state). Filter execution time should stay under 50ms p95; the engine
treats slow filters as allow to fail-open.
GET /health
Returns 200 { "status": "healthy", "filter": "<slug>", "version": "..." }.
Used by orchestrators to gate traffic.
Common filters
Cross-cutting guards under common/ (Apache 2.0):
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)