MCP) works exactly the same way. When an AI agent like Claude tries to pull data from Salesforce, enterprise governance ensures it proves who it is acting on behalf of, and strictly limits what it is allowed to see or change.
Enterprise AI demands intelligence paired with ironclad security.
MCP bridges AI with external systems, but it relies on robust Authentication (verifying identity), Authorization (controlling actions), Permissions (defining data access), and Governance (monitoring and controlling usage) to keep your corporate data secure.
๐บ️ Module Map: Claudeforce Architecture
CLAUDE FOUNDATION ├── What Is Claude? ├── Claude Models ├── Claude Reasoning ├── Claude Tool Use ├── AI Agents ├── MCP (Model Context Protocol) ├── MCP Architecture ├── MCP Security & Governance ← Current Topic └── Claudeforce Architecture
๐ Key Points
- Zero Trust Architecture: Never assume an AI agent is inherently safe. Every request passed through an MCP server must be continuously authenticated and authorized.
- Principle of Least Privilege: AI agents should only be granted the absolute minimum permissions required to execute their specific tools—nothing more.
- User-Context Execution: In a mature enterprise setup, MCP should execute queries within the security context of the specific human user making the prompt, ensuring standard data visibility rules still apply.
A user prompts: "Show me my top customer opportunities."
The Secure Flow:
- 1. Verify: The system verifies the user's identity via OAuth or SSO.
- 2. Check: It evaluates the user's Salesforce Profiles and Permission Sets.
- 3. Allow: The MCP server grants access only to the specific approved tools (e.g., a "fetch_opportunities" function).
- 4. Return: Only data the user is permitted to see is returned to the language model.
- 5. Generate: Claude safely generates the final response.
๐ฌ Real-Life Example: The AI Assistant's Security Badge
Imagine deploying an AI assistant inside a large organisation to help sales teams.
- Without governance: You face massive data exposure risks. The AI could pull sensitive HR data, execute unknown or destructive actions, and leave zero audit trails of what happened.
- With governance: The AI operates securely. Identity verification confirms who is asking, permission controls limit what the AI can retrieve, approved actions prevent destructive data changes, and a complete audit trail tracks every tool execution.
๐ง Core Security Concepts
- Authentication: "Who are you?" Verifies identity using standard protocols like
OAuth 2.0, API tokens, or Single Sign-On (SSO). - Authorization: "What are you allowed to do?" Controls the specific actions a user or an AI agent can execute once inside the system.
- Permissions: Defines the granular data-level access (e.g., Salesforce Field-Level Security and Record-Level Sharing).
- Governance: The overarching framework that provides policy definitions, continuous monitoring, compliance enforcement, and audit logs.
๐ The Secure Execution Flow
User Prompt ↓ Authentication (Identity Check) ↓ Authorization (Permission Check) ↓ MCP Client ↓ MCP Server ↓ Approved Tool Access ↓ Enterprise System (e.g., Salesforce) ↓ Audit Record Logged
⚖️ Without vs. With Governance
- Access: Without governance, access is dangerously broad (High Risk). With governance, access is strictly controlled.
- Actions: Without governance, the AI might execute unknown or destructive commands. With governance, it is limited to a whitelist of approved actions.
- Visibility: Without governance, there is no tracking or accountability. With governance, an immutable audit history ensures complete traceability.
๐งญ 360 Card — MCP Security & Governance
- Rule: AI agents must operate under the principle of least privilege—minimum access for maximum function.
- Gain: Enables secure, compliant enterprise AI adoption without risking data breaches.
- Price: Requires dedicated architectural effort to configure identity providers, map permissions, and set up monitoring.
- Limits: The AI itself does not replace your security architecture; it relies entirely on the host application to enforce the rules.
- Connects to: Model Context Protocol, Salesforce Security Model, AI Agents, and Enterprise Governance.
Wrong Answer: "MCP automatically secures the data connection and encrypts everything for the AI."
Correct Answer: "MCP provides a standardized communication protocol. It does not handle security natively. Authentication, authorization, and governance must be rigorously enforced by the underlying application (like Salesforce), the MCP server architecture, and your broader enterprise security framework."
❓ Core Q&A
Q: What is the exact difference between authentication and authorization in an AI context?
A: Authentication answers "Who are you?" (e.g., verifying a user via Okta or Salesforce SSO). Authorization answers "What can you do?" (e.g., checking if that verified user has the Salesforce Permission Set required to execute a specific MCP tool that updates an Opportunity).
๐ Scenario-Based Follow-Ups
Q: Should an internal enterprise AI Agent ever be granted system administrator access?
A: Absolutely not. Enterprise AI design must follow the principle of least privilege. Agents should only receive the specific permissions required to execute their assigned tools. Broad administrative access creates a massive vulnerability for prompt injection attacks and unintended data manipulation.
Q: Why are audit logs so critical when using MCP with external enterprise systems?
A: When an AI interacts with enterprise data autonomously, you lose direct human oversight. Audit logs are non-negotiable because they track exactly who initiated the request, which MCP tool was executed, and what specific data was changed or retrieved. This is vital for compliance and incident response.
Q: How do you ensure Claude doesn't expose sensitive Salesforce data to an unauthorised employee when using MCP?
A: You design the integration to enforce User-Context Execution. Instead of authenticating the MCP server with a single, overarching integration user (which can see everything), you pass the individual user's OAuth token. This forces the query to respect Salesforce's native sharing rules and Field-Level Security, guaranteeing the AI only processes and returns data that the specific human user is already allowed to see.