Loading
Extend Salesforce with Clicks, Not Code
Innehållsförteckningar
Välj filter

          Inga resultat
          Inga resultat
          Här är några söktips

          Kontrollera stavningen av dina nyckelord.
          Använd mer allmänna söktermer.
          Välj färre filter för att utöka din sökning.

          Sök hela Salesforce-hjälpen
          Manage External MCP Servers in API Catalog

          Manage External MCP Servers in API Catalog

          Register external MCP servers manually in API Catalog to make their tools available for use in Agentforce agents. Create connections to authorize the servers in Salesforce and specify the tools they can access. You can also view MCP servers installed from AgentExchange. Then, add tools the servers can use.

          Required Editions

          Available in: Lightning Experience
          Available in: Developer, Enterprise, Performance, and Unlimited Editions
          1. From Setup, in the Quick Find box, enter API Catalog, and then select MCP Servers.
          2. Select the External Servers tab.
          3. Click Add MCP Server and select Register External MCP Server.
          4. Enter a unique name and description for the server.
          5. Enter the server URL. This URL is the HTTPS endpoint for your external Model Context Protocol server.
          6. Select an authentication method.
            • For No Authentication, skip to the next step.
            • For OAuth 2.0, fill in these fields:
              • Identity Provider URL: The authorization server endpoint for authentication requests. Pre-filled and read-only for servers registered from AppExchange.
              • Scope (optional): Comma-separated list of permissions the server requires to access tools and APIs. Pre-filled and read-only for servers registered from AppExchange.
              • Client ID: The unique ID of the Model Context Protocol server, used to request access via the authorization server.
              • Client Secret: The MCP server and the authorization server share the password. Keep this value secure.
            • For advanced authentication that uses OAuth 2.1, set up the server in Agentforce Registry. See Extend Your Agentforce Implementation.
          7. Click Create and Continue.

            Salesforce creates a connection with the server and sends a ping to validate it. To authenticate with your server, Salesforce also creates a named credential, external credential, and permission set. Salesforce automatically assigns the ServerName permission set to you so you can manage the server. Your agent doesn't require this permission set on users or the agent's user record to use your server tools. See Named Credentials Schema.

            Note
            Note If you delete the permission set or remove it from your user record, you can't manage your server.
          Example
          Example
          EXAMPLE: OAuth 2.0

          PayPal's MCP server uses OAuth 2.0 to establish a secure connection between an MCP client and PayPal's MCP server. In the OAuth 2.0 protocol, the client exchanges their client ID and client secret for an access token.

          • The URL for the PayPal Model Context Protocol server is https://mcp.paypal.com/http.
          • The identity provider URL is https://api-m.sandbox.paypal.com/v1/oauth2/token.
          • PayPal's developer documentation provides a list of common scopes for accessing PayPal APIs. PayPal scopes use URL format, but scopes accept any string format (for example, "read" or "services-payment-refund"). Check your MCP server documentation for specifics.
          • PayPal's MCP server documentation provides steps for how to use a PayPal account client ID and client secret.

          Manage External MCP Server Tools in API Catalog

          Add and remove tools that a manually registered external MCP server can use.

          1. From Setup, in the Quick Find box, enter API Catalog, and then select MCP Servers.
          2. Select the External Servers tab.
          3. Select a manual external MCP server.
          4. Select the Tools tab and click Manage Tools.
          5. To add or remove a tool, switch between Add Tool and Added.
           
          Laddar
          Salesforce Help | Article