Security teams should place an inspection layer directly in the MCP tool-call path, not just at the SaaS or network edge. That layer should control which actions are allowed, redact or mask sensitive fields before the model sees them, and log each invocation for audit and compliance evidence. The goal is to preserve agent usefulness while preventing regulated data from reaching the AI context window.
Why This Matters for Security Teams
When an AI agent reaches Salesforce through MCP, the control problem is no longer just “who may log in” but “what may the agent see, infer, and exfiltrate after a tool call succeeds.” That is why DLP must sit in the MCP path itself, where data is requested and returned, rather than only at the SaaS boundary. Current guidance from the OWASP Agentic AI Top 10 and NIST AI Risk Management Framework both point toward runtime controls, because agents behave dynamically and may chain tools in ways static policies do not anticipate.
This matters especially for Salesforce, where records often contain personal data, account notes, support transcripts, case attachments, and commercial terms. If those fields are passed into the model context window without inspection, the agent can summarize, transform, or forward sensitive content even when the original user never intended that exposure. NHIMG research on the AI Agents: The New Attack Surface report shows how often agent behaviour exceeds intended scope, which is exactly the failure mode DLP is meant to constrain. In practice, many security teams discover this only after an agent has already copied regulated Salesforce data into prompts or downstream logs, rather than through intentional testing.
How It Works in Practice
Effective DLP for MCP-connected agents uses an inspection and policy layer that evaluates each tool invocation before Salesforce data reaches the model and before model-generated actions are executed back against Salesforce. The objective is not to block all access, but to apply field-level, record-level, and action-level controls based on context: the agent’s task, the user’s entitlement, the sensitivity of the requested object, and whether the response would introduce regulated data into the context window.
A practical implementation usually includes three steps. First, classify Salesforce objects and fields so the MCP gateway can distinguish low-risk metadata from sensitive content such as case notes, customer identifiers, payment details, or legal correspondence. Second, enforce allowlists for tools and actions so the agent can read or update only the minimum fields required for the task. Third, redact, tokenize, or mask sensitive values before the model processes the response, while preserving enough structure for the task to succeed.
- Inspect every MCP request and response, not just the initial login or network session.
- Apply policy at runtime, using the current task, tenant, record sensitivity, and user context.
- Log each invocation with request, response, redaction, and decision metadata for audit evidence.
- Prefer short-lived credentials for the agent and revoke access when the task completes.
NHIMG coverage of the OWASP NHI Top 10 reinforces that identity alone is not enough when tool-use is autonomous. For implementation detail, the CSA MAESTRO agentic AI threat modeling framework is useful for mapping which tool calls need pre-execution filtering versus post-execution monitoring. These controls tend to break down when Salesforce data is exported through custom connectors or batch jobs that bypass the MCP gateway because the inspection point disappears.
Common Variations and Edge Cases
Tighter DLP often increases latency and operational overhead, so security teams must balance leakage reduction against agent usefulness and business throughput. There is no universal standard for this yet, especially for agent workflows that need to read long case histories, attachments, or free-text notes. Current guidance suggests using graduated controls rather than a single policy for all records.
One common edge case is prompt injection embedded in Salesforce content. If an agent reads a malicious note or email thread, DLP alone will not stop unsafe tool chaining, so DLP should be paired with action authorization and output filtering. Another is partial masking: if too much is redacted, the agent may fail to complete legitimate work, which pushes users toward shadow connectors or manual exports. That is why many teams combine DLP with just-in-time scoped access and workload identity, consistent with lessons from NHIMG’s Ultimate Guide to NHIs and NIST AI Risk Management Framework.
Another practical exception is highly regulated environments where data residency, retention, and eDiscovery rules require that redaction decisions be preserved alongside the original payload. In those cases, security teams should define whether the DLP layer stores full content, hashes, or reversible tokens, and who may reverse them. The right answer depends on the regulatory regime and internal audit requirements, not on MCP alone.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Agent tool use and prompt injection directly shape MCP DLP design. |
| CSA MAESTRO | MAESTRO maps agent workflows to control points for data filtering and monitoring. | |
| NIST AI RMF | GOVERN | AI RMF governance supports accountability for agent data handling decisions. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Non-human identities need scoped, short-lived access for tool use. |
| NIST Zero Trust (SP 800-207) | SC-3 | Zero trust requires request-time validation for each MCP action. |
Inspect every agent tool call and block unsafe data flow before it reaches the model.
Related resources from NHI Mgmt Group
- How should security teams implement runtime controls for AI agents in enterprise environments?
- How should security teams implement tool misuse controls for AI agents?
- How should security teams govern AI agents that access APIs through GraphQL and MCP?
- How should security teams implement human-in-the-loop controls for AI agents?