AIforce and Headless Toolkit34% of the exam

Custom Salesforce-hosted MCP servers and custom tools

Why admins build custom Salesforce-hosted MCP servers instead of relying only on standard ones, which org assets can back a custom tool, and how a custom server is assembled, restricted, activated, deployed and fed by ISV packages.

Official exam objective
Distinguish between standard and custom Salesforce-hosted Model Context Protocol (MCP) servers, including their capabilities and common use cases.

~6 min read · 12 practice questions

What the exam expects

  • Explain why a custom server is needed when a team wants tools from several product areas, or its own business logic, behind one URL.
  • Identify which existing Salesforce assets can back a custom tool, and which Prompt Builder and API Catalog conditions apply.
  • Describe how admins curate persona-specific servers and why a long tool list hurts agent behavior.
  • Recognize how a custom server is restricted to the right people, reused across one OAuth app, and moved from sandbox to production.
  • Explain how ISV packages make capabilities available to a subscriber's custom server.
  • Key terms: custom server (an admin-curated Salesforce-hosted MCP server with its own URL); custom tool (a tool backed by your own flow, Apex or API); API Catalog (the Setup area where MCP servers are created and REST endpoints are registered for tool mapping); persona (the team or agent workflow a server is built for); MCP prompt (a reusable prompt a server offers to a client, distinct from a tool).

Key facts

Standard servers
Detail
Fixed tools from one product area; contents not editable
Custom server reach
Detail
Combines tools from several servers under one URL
Custom tool backing
Detail
Flows, invocable Apex, @AuraEnabled, Apex REST, API Catalog endpoints
Tool list size
Detail
Long lists make tool selection harder; curate per persona
URL and OAuth
Detail
Unique URL per configuration; no extra OAuth app per server
Prompt Builder templates
Detail
Added as MCP prompts (client support varies) or as tools mapped to templates
API Catalog coverage
Detail
Not every Connect API endpoint is registered
Moving to production
Detail
Deploy the configuration via Metadata API
Packages
Detail
Carry executable assets, not server configurations
Sources for this section (3)
  • Why does the guide's buffet model mean tool contributors don't need to know how customers will use their tools?
  • When a custom server is deactivated, what happens to its tools?
  • When an admin wants to tell clients that a tool deletes data or can safely be repeated, what can be added to the tool?

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 (12 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