VMware NSX Security
VMware NSX security: DFW policies and exclusions, groups, tags, Traceflow, IDPS — 22 MCP tools.
作者提供的说明(英文原文)
Detect and redact PII, PHI, PCI and secrets in text and files before an AI agent sees them.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
STRAC_API_KEY, STRAC_API_BASE, STRAC_API_TIMEOUT标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"strac-dlp": {
"command": "uvx",
"args": [
"strac-mcp-dlp"
],
"env": {
"STRAC_API_KEY": "your-value",
"STRAC_API_BASE": "your-value",
"STRAC_API_TIMEOUT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add strac-dlp --env STRAC_API_KEY=your-value --env STRAC_API_BASE=your-value --env STRAC_API_TIMEOUT=your-value -- uvx strac-mcp-dlp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"strac-dlp": {
"command": "uvx",
"args": [
"strac-mcp-dlp"
],
"env": {
"STRAC_API_KEY": "your-value",
"STRAC_API_BASE": "your-value",
"STRAC_API_TIMEOUT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"strac-dlp": {
"type": "stdio",
"command": "uvx",
"args": [
"strac-mcp-dlp"
],
"env": {
"STRAC_API_KEY": "your-value",
"STRAC_API_BASE": "your-value",
"STRAC_API_TIMEOUT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
STRAC_API_BASE envSTRAC_API_TIMEOUT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 strac-io 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:STRAC_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:VMware NSX Security, Unicode Security MCP, Osv MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
VMware NSX security: DFW policies and exclusions, groups, tags, Traceflow, IDPS — 22 MCP tools.
Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An open-source Model Context Protocol server that gives any AI agent — Claude, Cursor, VS Code, your own — a way to find and strip sensitive data before it reaches the model.
Point your agent at it, and redact_text turns
Please onboard the user with SSN 123-45-6789 and email jane@acme.com
into
Please onboard the user with SSN [REDACTED] and email [REDACTED]
...along with a structured list of what was found. It works the same on images, PDFs and scanned documents.
This is a thin client over the Strac DLP API. Bring your own API key; all detection and redaction happens server-side at Strac.
Agents are now wired into inboxes, ticketing systems, CRMs, databases and file stores. Every MCP tool call is a chance for an SSN, a card number, a patient record or an AWS key to be pulled into a prompt — and from there into a model provider's logs, a vector store, a Slack summary or a support ticket.
Filtering that data *after* the model has seen it is too late. This server puts the check in front of the model: detect first, redact, then let the agent reason over text that no longer carries the sensitive values.
Redacting a string you hand it is the smallest thing Strac does. The product is coverage: connect Strac to the SaaS and cloud apps where your sensitive data already lives, and it discovers, classifies, redacts and remediates it *there* — continuously, under your policies, with an audit trail — rather than waiting for someone to paste it into a prompt.
Slack, Google Workspace, Microsoft 365, Salesforce, Zendesk, Box, Dropbox, Jira, Confluence, GitHub, Notion, OneDrive, SharePoint, Snowflake, Databricks, BigQuery, Postgres, MongoDB, AWS, Azure, GCP, browsers and endpoints — 60+ integrations, agentless, no code to write.
That matters most when those systems are reached over MCP. When an agent — Claude Code, Claude Desktop, Cursor, GitHub Copilot, OpenAI Codex — pulls a Salesforce record or a Drive file through an MCP connector, Strac redacts the sensitive data inline, before the agent receives it. That is the difference between asking an agent to redact and enforcing it whether or not it asks.
[strac.io/mcp-integrations](https://www.strac.io/mcp-integrations) is that product. This repo is its developer-facing sliver: the same detection engine, reachable from any MCP client, for when you want to sanitise a string or a file yourself.
*Every MCP invocation your agents make — tools called, files read, the identity behind the prompt — captured and inspected.*
1. Install
pip install strac-mcp-dlp
2. Request an API key
Request a key, or email hello@strac.io.
Keys are prefixed sk_live_ (production) or sk_test_ (sandbox); the server picks the matching endpoint automatically.
3. Add it to your MCP client
Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows:
{
"mcpServers": { "strac-dlp": { "command": "strac-mcp-dlp", "env": { "STRAC_API_KEY": "sk_live_your_key_here" } } } }
Claude Code:
claude mcp add strac-dlp --env STRAC_API_KEY=sk_live_your_key_here -- strac-mcp-dlp
Cursor — .cursor/mcp.json in your project, or ~/.cursor/mcp.json globally: use the same block as Claude Desktop.
4. Restart your client and ask it to redact something
Use Strac to redact this before I paste it into the ticket: "Customer Jane Doe, SSN 123-45-6789, card 4111 1111 1111 1111."
No install at all, if you have uv:
{
"mcpServers": { "strac-dlp": { "command": "uvx", "args": ["strac-mcp-dlp"], "env": { "STRAC_API_KEY": "sk_live_your_key_here" } } } }
See examples/ for ready-to-copy config files.
text (string): the text to redactredact_field_mode (string, optional): REDACTED (default), BLANK, MASK_SEVEN_X or TOKEN_LINK_PLAINTEXTinclude_matched_text (boolean, optional): also return the raw sensitive values. Off by defaultredact_text(text="SSN 123-45-6789") → "SSN [REDACTED]"text (string): the text to scaninclude_matched_text (boolean, optional): also return the raw values. Off by defaultdetect_sensitive_data(text="call me at jane@acme.com") → EMAILpath (string): path to the file to scaninclude_matched_text (boolean, optional): also return the raw values. Off by defaultdetect_file(path="./w2.pdf") → TAX_ID_NUMBER, NAME, ADDRESSpath (string): path to the file to redactoutput_path (string, optional): where to write the copy. Defaults to a .redacted suffix beside the original. Pointing it at the source is refusedoverwrite (boolean, optional): allow replacing an existing destination. Off by defaultredact_file(path="./w2.pdf") → ./w2.redacted.pdftkn_…) back to their original values, for authorised callerstoken_ids (string[]): the token identifiers to resolve. Maximum 10 per calldetokenize(token_ids=["tkn_abc"]) → "111-22-3333"redact_text takes a redact_field_mode:
| Mode | Result |
|---|---|
REDACTED (default) | [REDACTED] |
MASK_SEVEN_X | XXXXXXX |
BLANK | removed entirely |
TOKEN_LINK_PLAINTEXT | — a link to the value in the Strac vault, so an authorised human can still retrieve it |
By default these tools return the types and positions of what they found, not the values:
{
"redacted_text": "Please onboard the user with SSN [REDACTED]", "detection_count": 1, "data_element_types": ["TAX_ID_NUMBER"], "detections": [{ "type": "TAX_ID_NUMBER", "begin_index": 33, "end_index": 44, "length": 11 }] }
Returning the matched text alongside the redacted text would hand the model exactly the data you just removed. Pass include_matched_text=true when a caller genuinely needs the raw values.
Strac ships 191 built-in data elements across 10 categories, plus custom elements you define with regex or your own trained model:
| Category | Elements | Examples |
|---|---|---|
| Identification | 126 | SSN/TIN, passports, driver licences and national IDs across ~60 countries — Aadhaar, PAN, PESEL, BSN, Fiscal Code, IRD — plus NPI and DEA registration numbers |
| Secrets | 30 | AWS access and secret keys, GitHub and GitLab tokens, Slack tokens, GCP credentials, Azure storage and service-principal keys, private keys, JDBC and MongoDB connection strings, seed phrases |
| Financial Account | 10 | Card number and tail, CVV, expiry, bank account and routing numbers, IBAN, SWIFT |
| Advertisement Identifiers | 7 | Apple IDFA and IDFV, Google GAID, Roku, Amazon Fire OS, Huawei OAID |
| Contact | 6 | Name, address, email, phone, date of birth, age |
| Device Tracking | 5 | IP address, MAC address, IMEI, webpage URL, date/time |
| Asset | 3 | Source code, VIN, vehicle licence plate |
| Document Properties | 2 | Invoice, password-protected document |
| Content Moderation | 1 | Offensive content |
| Intellectual Property | 1 | Chemical/molecular structure |
Every element named individually: [Strac Catalog of Sensitive Data Elements](https://www.strac.io/blog/strac-catalog-of-sensitive-data-elements).
Detection runs on text and, via OCR, on PDFs, JPEGs, PNGs, DOCX, XLSX, screenshots and .msg email files — which is what detect_file and redact_file reach.
One caveat worth setting expectations on: the type values *these MCP tools* return depend on which endpoint answered, and the two use different vocabularies for the same element. A US Social Security Number comes back as TAX_ID_NUMBER from redact_text and as SOCIAL_SECURITY_NUMBER from detect_sensitive_data — which additionally reports SSN under reported_element_types. Both vocabularies are surfaced as returned rather than normalised, so nothing is invented on your behalf. Which elements are detected at all depends on what is enabled for your account; the full catalog above is what runs across your connected apps, where policies, remediation and audit live.
| Variable | Required | Default |
|---|---|---|
STRAC_API_KEY | yes | — |
STRAC_API_BASE | no | https://api.live.tokenidvault.com for sk_live_ keys, https://api.test.tokenidvault.com for sk_test_ keys |
STRAC_API_TIMEOUT | no | 60 seconds |
Without a key, every tool returns: Set STRAC_API_KEY — request one at https://www.strac.io/mcp-integrations.
The server speaks stdio by default. strac-mcp-dlp --transport streamable-http serves HTTP instead.
Your MCP client spawns this server locally; it forwards each tool call to the Strac API over HTTPS with your X-Api-Key, and returns the result. Nothing is classified or redacted on your machine, and this repository contains no detection models.
Your data element definitions, custom policies, remediation rules and audit trail live in your Strac account, not in this repo — which is why the same key that powers these five tools also governs every connected app.
MCP client ──stdio──▶ strac-mcp-dlp ──HTTPS──▶ Strac DLP API
(Claude, Cursor, (this repo, (classifiers, OCR, your agent) ~600 lines) vault, policies, audit)
Limits inherited from the API: 4 MB for inline content, 10 MB for document uploads, 10 tokens per detokenize call.
git clone https://github.com/strac-io/strac-mcp-dlp
cd strac-mcp-dlp python3 -m venv .venv .venv/bin/pip install -e ".[dev]" .venv/bin/python -m pytest
The test suite mocks the Strac API with respx, so it runs without a key. To try the server by hand:
STRAC_API_KEY=sk_test_… .venv/bin/python -m strac_mcp_dlp
Or point the MCP Inspector at it:
STRAC_API_KEY=sk_test_… npx @modelcontextprotocol/inspector strac-mcp-dlp
Yes. This is a thin client over the Strac DLP API and every call is authenticated — there is no anonymous mode. Request a key at strac.io/mcp-integrations or email [hello@strac.io](mailto:hello
只显示了开头部分;其余内容请在仓库中阅读