# Custom Salesforce-hosted MCP servers and custom tools

*AIforce Foundations Study Guide · AIforce and Headless Toolkit · Last updated December 2, 2026 · https://www.certifyforce.com/study-guide/aiforce-foundations/aiforce-and-headless-toolkit/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.

- Certification: Salesforce AIforce Foundations
- Exam section: AIforce and Headless Toolkit
- Study guide: https://www.certifyforce.com/study-guide/aiforce-foundations

**Official exam objective:**

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

## 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

| Fact | Detail | Source |
|---|---|---|
| Standard servers | Fixed tools from one product area; contents not editable | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |
| Custom server reach | Combines tools from several servers under one URL | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |
| Custom tool backing | Flows, invocable Apex, `@AuraEnabled`, Apex REST, API Catalog endpoints | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |
| Tool list size | Long lists make tool selection harder; curate per persona | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |
| URL and OAuth | Unique URL per configuration; no extra OAuth app per server | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |
| Prompt Builder templates | Added as MCP prompts (client support varies) or as tools mapped to templates | [Products Supporting MCP](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/products-supporting-mcp.html); [Create Custom MCP Servers in API Catalog](https://help.salesforce.com/s/articleView?id=platform.api_catalog_create_custom_salesforce_mcp_servers.htm&type=5&language=en_US) |
| API Catalog coverage | Not every Connect API endpoint is registered | [Products Supporting MCP](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/products-supporting-mcp.html) |
| Moving to production | Deploy the configuration via Metadata API | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |
| Packages | Carry executable assets, not server configurations | [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html) |

## Check yourself

- 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?

## Sources

- [Custom MCP Servers](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/custom-servers.html)
- [Products Supporting MCP](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/products-supporting-mcp.html)
- [Create Custom Salesforce MCP Servers in API Catalog](https://help.salesforce.com/s/articleView?id=platform.api_catalog_create_custom_salesforce_mcp_servers.htm&type=5&language=en_US)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit and reading progress are included in the full study guide. The separate practice exams option includes the reviewed question bank and timed mock exams. The bundle includes both where available. See [current options and prices](https://www.certifyforce.com/pricing).
