MCP Server Security

Discover, Approve and Block Every MCP Server

Every developer with Claude Code, Cursor or Claude Desktop can connect an AI agent to production in a minute. Strac finds every MCP server on your Mac and Windows fleet, scores what each one can reach, blocks the ones you have not approved, and redacts secrets and sensitive data in MCP calls.

cursor — MCP call
mcp__postgres-prod__query("SELECT email, ssn FROM customers")
⛔ Blocked by Strac — MCP server postgres-prod is not approved. Ask IT to approve it.
mcp__github__get_file(config/deploy.yml) ✓ allowed
result scanned on device · 1 match
token: [REDACTED:GITHUB_TOKEN]
mcp__crm__delete_record(id=4812)
⛔ Blocked by Strac — tool rule: delete_record is denied on CRM servers.
Trusted by security teams at
UiPath logoCrypto.com logoInmar Intelligence logoThredUp logoRightway logoUnderdog Fantasy logoMeridianLink logoHoneyBook logo
Why MCP needs its own controls

MCP Servers Are Where AI Meets Your Data

An MCP server gives an AI agent hands: a database, a repo, a ticketing system, the file system. Most security teams have no list of which ones exist.

🗄️

Production databases

A Postgres MCP server pointed at prod lets an agent read every customer row it is asked about.

🔑

Passwords in configs

Connection strings and tokens often sit in plain text in mcp.json on engineering laptops.

📂

Whole-drive access

Filesystem servers scoped to the home folder put SSH keys and .env files within an agent's reach.

📦

Unpinned community packages

npx some-mcp@latest runs whatever was published this morning.

🌐

Network-exposed servers

An SSE server bound to 0.0.0.0 is reachable by anything on the network.

🧨

Destructive tools

delete_record, create_refund and SQL writes run with no human in the loop.

How it works

Inventory. Decide. Enforce.

The Strac endpoint agent reads MCP configs on each device and checks MCP calls inside coding agents before they run.

01
Inventory

Every MCP Server on Every Device

MCP servers with approved and disallowed status in Strac

Reads: user, project and managed configs in Claude Code, Claude Desktop, Cursor and Codex.

Shows: what each server runs or connects to, and which people, devices and AI clients use it.

02
Decide

Risk Scored, Review Queue First

Plaintext credential found in an MCP config

High: database access, a password in the config, whole-drive access, unencrypted remote connections.

Medium: unpinned packages, unknown destinations, configs that came with a project.

03
Enforce

Block Servers, Tools and Sensitive Data

Strac checks MCP calls before they run

Block: one server, or every server nobody approved.

Tool rules and MCP DLP: deny one tool, redact sensitive values in results.

Approve is a label. Block is enforced on the device, with a window telling the person who to ask.
Capabilities

Everything You Need to Govern MCP

01

One row per server

However many devices or AI clients it is set up in, with the command, package or URL it runs.

02

Secrets redacted on device

Passwords and tokens in configs are masked before anything leaves the laptop.

03

Risk with reasons

Plain-language reasons: database destination, credential in config, broad file access, unpinned package.

04

Bundled servers kept quiet

Servers an AI app ships with itself are marked bundled and stay out of findings.

05

Block one server

A blocked server cannot be launched by any AI app on the device, on macOS, Windows or both.

06

Block every unapproved server

One switch, off by default. Approve a server on its row to let it run.

07

Tool rules

Deny or ask on one tool of one server, such as delete_record, while the rest keep working.

08

MCP DLP in arguments

Card numbers, SSNs, cloud keys and API tokens in arguments block the call.

09

MCP DLP in results

Matches become [REDACTED:TYPE] before the model reads them. Results over 1 MB pass and are flagged.

10

Enforced in six agents

Claude Code, Cursor, Codex, GitHub Copilot CLI, Gemini CLI, and Windsurf as opt-in.

11

Device reach

Every block shows "Enforced on N of M devices" and the attempts it stopped.

12

Evidence

One event per MCP tool call: the server, the decision and the rule.

In practice

MCP Server Security in Practice

Scenario 1

A Postgres server with a production password appears

A developer adds postgres-prod to Cursor with the connection string in the config. Strac's inventory flags it High within minutes and masks the password on the device.

Outcome: Security blocks it on every device or approves a read-only version. The developer sees a window telling them who to ask.
S
postgres-prod is blocked

Your organization blocks AI tools and MCP servers it hasn't approved. Ask your admin to approve it.

Questions? security@yourcompany.com
OK
Scenario 2

An agent pulls a GitHub token through MCP

A tool result from a GitHub MCP server contains a personal access token. With MCP DLP on, Strac scans the result on the device before the model sees it.

Outcome: The token is replaced with [REDACTED:GITHUB_TOKEN]. The agent keeps working without the secret.
claude — mcp result
mcp__github__get_file(.github/workflows/deploy.yml)
scanning result on device…
env:
  GH_TOKEN: [REDACTED:GITHUB_TOKEN]
  DB_URL: [REDACTED:DATABASE_CONNECTION_STRING]
2 matches redacted · event logged
Scenario 3

An agent tries to delete CRM records

A starter tool rule denies delete_record on CRM servers while every other CRM tool keeps running.

Outcome: The destructive call is stopped with a reason. Reads and updates continue as normal.
codex — crm
mcp__crm__search(acme) ✓
mcp__crm__update_record(4812) ✓
mcp__crm__delete_record(4812)
⛔ Blocked by Strac — delete_record is denied on CRM servers.
Coverage

MCP Enforcement by AI Agent

ControlClaude CodeCursorCodexCopilot CLIGemini CLI
Block an MCP callYesYesYesYesYes
Redact an MCP resultYesYesYesYesYes
Redact MCP argumentsYesBecomes blockBecomes blockYesYes
Ask the personYesBecomes blockBecomes blockYesBecomes block

Windsurf is supported as opt-in: it can block, and MCP results are logged rather than redacted.

Watch

See Strac Stop a Risky Agent Action

Strac AI Security: Stop Risky AI Agent Actions Before They Run
FAQ

Common Questions About MCP Server Security

Can Strac block an MCP server?

Yes. Block a server on its inventory row and no AI app on the device can launch it, on macOS, Windows or both. Or turn on the switch that blocks every MCP server nobody approved.

Does Strac read MCP traffic?

Only if you turn on MCP DLP. Then the arguments and results of each MCP call are scanned on the device with regex and checksum detectors, in milliseconds. With MCP DLP off, MCP contents are never read.

Can I block one tool of a server but keep the rest?

Yes. Tool rules deny or ask on a single tool of a single server, for example delete_record on your CRM server, while the other tools keep running.

Which AI clients does the inventory read?

MCP configs in Claude Code, Claude Desktop, Cursor and Codex, including user, project and managed configs.

How is this different from Strac MCP DLP connectors?

Strac MCP DLP connectors are Strac's own MCP servers that redact data for AI tools connected through them. MCP server security works on the servers your people already installed, through the endpoint agent.

Explore

More From Strac AI Security

See the MCP Servers on Your Fleet in 48 Hours

Deploy Strac to a pilot group in Monitor mode and get a list of every MCP server, what it reaches, and which ones hold credentials.

Mac and Windows · Deployed by MDM · No proxy