AIforce and Headless Toolkit34% of the exam

MCP client OAuth setup and headless launch governance

What must be in place before an external AI client such as Claude or ChatGPT can use Salesforce-hosted MCP servers: enabled servers, an External Client App with the right callback, scopes and security settings, the correct server URL and optional hardening. Then the governance a team needs before launching a headless use case.

Official exam objective
Identify the options, prerequisites, and connectivity requirements for enabling Salesforce capabilities across external AI applications and interfaces.

~7 min read · 10 practice questions

What the exam expects

  • Recognize that Salesforce-hosted MCP servers must be turned on before any client can use them.
  • Identify the one-time org setup for an MCP client: who performs it, the External Client App, the client-specific callback URL, OAuth scopes and security settings.
  • Match the server URL to the org type, such as production or sandbox.
  • Describe optional hardening and a safe testing path before connecting a full AI client.
  • Explain the governance a headless use case needs before launch: documentation, monitoring, incident response and a plan to stop issues.
  • Key terms: External Client App (ECA) (registers the MCP client as an OAuth application in Salesforce); callback URL (where Salesforce returns the user after authorization, set per client); OAuth scopes (the permissions the client gets on behalf of authenticated users); consumer key (the ECA credential the client is configured with); headless use case (work that reaches Salesforce from outside its interface, often across several systems).

Key facts

Default server state
Detail
Disabled until an admin enables it
Who sets up the ECA
Detail
System Administrator or equivalent
Client registration
Detail
External Client App; Connected Apps unsupported
Callback URL
Detail
Specific to the MCP client
OAuth scopes
Detail
Permissions on behalf of authenticated users
Security settings
Detail
PKCE and JWT-based tokens
Server URL
Detail
Differs by org type, such as production vs sandbox
Before launch
Detail
Documented steps and permissions; per-use-case monitoring and incident plan
Monitoring reach
Detail
Salesforce monitoring stops at the Salesforce boundary
Sources for this section (5)
  • When a newly created External Client App doesn't work with the client straight away, what is the likely reason?
  • Why does Salesforce describe the org's MCP authentication setup as one-time?
  • When refresh-token rotation is turned on for the External Client App, what happens to older tokens?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the AIforce Foundations pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 24 lessons of the AIforce Foundations guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Practice exams purchase adds inline bank questions and topic practice (10 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Choose guide-only, practice-only, or save $4 with both

Practice for the AIforce Foundations exam