MCP Privacy Proxy
Put a proxy in front of any third-party MCP server so Claude, ChatGPT or any agent gets the data it needs without personal data, without the provider credentials, and with only the tools you choose.
What it does
-
Holds credentials. API keys and OAuth tokens stay in the proxy. Agents get their own
revocable
pxk_…key. - Allowlists tools. Only configured tools are listed, which keeps the agent's context small.
- Redacts responses. Fields are kept, dropped, masked, hashed or pseudonymized, and detectors scrub every remaining string.
-
Round-trips pseudonyms. A token like
Email_c91dpassed back as an argument is resolved to the real value inside the proxy.
Each proxy is served at https://mcp.agentfabric.dev/p/{proxyId}.
Set up a proxy
-
Create.
mcp_proxiescreatewithupstreamUrlandauthType(none,headersoroauth). You getproxyUrl, a proxy key (shown once) and the discovered tools. Preferrequest_credentialsso a human enters the key through a link that expires after 30 minutes. For OAuth, handauthorizationUrlto a human and pollgetuntiloauthStatusisconnected. -
Discover.
discoveranddescribe_toollist each tool's input arguments, output fields and a suggested policy. -
Preview. Run a tool with real arguments. You get the redacted result, every observed
field with PII signals, and a suggested policy. Pass
applySuggestion: trueto save it. -
Configure.
configure_toolsets output rules, input rules and free-text handling. -
Connect. Point the agent at
proxyUrlwithAuthorization: Bearer pxk_….
{
"mcpServers": {
"crm": {
"url": "https://mcp.agentfabric.dev/p/mcpx_…",
"type": "http",
"headers": { "Authorization": "Bearer pxk_your_proxy_key" }
}
}
}
Redaction rules
| Setting | Values | Notes |
|---|---|---|
outputMode |
allowlist (default), denylist |
With an allowlist, unlisted fields are dropped. |
outputRules[].action |
keep, drop, mask, hash,
pseudonymize
|
[] in a path means every array element, * any key, e.g.
messages[].from.email. hash is one-way.
|
inputRules[].action |
hide, fixed |
Hide an argument from the agent or pin its value. |
freeText |
scrub, drop |
For text results that are not JSON. |
redaction.detectors |
email, phone, iban, credit_card,
ip_address
|
Also catches Name <email> display names. |
redaction.reversible |
true (default) |
Turn off to make tokens one-way. |
Change approval
With a consumer key, edits to tools or redaction rules go to a draft, and preview returns
field paths and signals but no values. Run diff, then propose (optionally with
samples). That opens a review for all tenant admins; one approval publishes exactly that
snapshot, one rejection closes it. Consumers cannot change upstreamUrl,
authType, headers or credentials, and cannot delete proxies. Admin keys edit live.
Poll get for pendingChange.status: pending, published,
changes_required, rejected, stale or superseded.
Security & data
-
Hosting. AWS Ireland (
eu-west-1). HTTPS in transit, encrypted at rest. - Responses. Redacted in memory and never stored.
-
Call logs. Tool name, status, duration and redaction counts only, never content. They
expire after 30 days (
GET …/calls, admin only). - Credentials. Stored in AWS Secrets Manager, never returned to agents.
-
Pseudonyms. With
reversibleon, originals are stored encrypted with AES-256-GCM under a per-proxy key. - Deletion. Deleting a proxy removes its credentials, pseudonyms and logs. Proxy keys can be revoked individually.
agentfabric.dev