Introduction
Salesforce Agentforce is a platform for building and deploying AI agents that can reason, take action, and execute multi-step work across sales, service, marketing, commerce, and other business functions. Agentforce connects these agents to enterprise data, applications, and business logic, and now supports Model Context Protocol (MCP) as an open standard for accessing third-party tools, resources, and prompts. Through MCP, organizations can extend Agentforce beyond Salesforce and securely give agents access to specialized external systems and context, while maintaining centralized authentication, permissions, and governance.
By default, Salesforce agents would never know enough information about data applications, and sometimes not even enough information about Salesforce itself. The Foundational MCP server connects AI tools to the full context of your data environment and provides:
End-to-end lineage, including Salesforce
Usage information for models and dashboards
Code definitions for tables, models, and upstream operational databases
Ownership, documentation, and full transformation logic
Other metadata related to data moving through your systems
Configure Foundational MCP
There are two main steps to configure Foundational’s MCP to Salesforce:
Geneate an API token
Register Foundational as an MCP server in Salesforce
Generate an API token in Salesforce
Salesforce supports token-based OAuth authentication. To generate the API token from the Foundational side, follow first the instructions in the article Create API Tokens.
Be sure to save the Client ID and Client Secret because you can’t view them once you leave the Generation screen.
Choose an indicative name, for example "Salesforce MCP token."
Set the longest expiration the organization permits, to keep the connection running without interruption.
If the agent doesn't need to modify Foundational, choose read-only permissions and avoid the admin settings.
Register Foundational as an MCP server in Salesforce
In Salesforce, click the gear icon in the top right corner and select Open Advanced Setup.
In the left navigation panel, search for "MCP" and select MCP Servers. The exact location depends on the Salesforce account tier.
Click Add MCP Server in the top right corner, then select Register External MCP Server.
In the Create Connection screen, enter the MCP server details.
For self-hosted environments, use dedicated endpoint instead of the Foundational-hosted URLs.
MCP Server Name: Foundational
Description: Enter a description
Server URL:
https://mcp.foundational.io/mcp
Authentication Method: OAuth 2.0
Identity Provider URL:
https://auth.foundational.io/oauth/token
Scope: Leave blank
Client ID and Client Secret: the API token generated in the previous step
Select which tools to expose. Foundational recommends enabling all tools, but teams with limited context token budgets can customize the list.
Click Allow and Continue.
Optional: Apply policies to the MCP server.
That's it. You're connected.



