Contact Us

February 23, 2025

May 13, 2026 1:27 pm

Connecting an MCP Server with the Agentforce Agent

Share with

Understanding the Challenge

The biggest challenge in connecting an MCP server with the Agentforce agent is authentication. Currently, only server-level client ID and secret are supported, which may not be ideal for all users. Robbie Duncan, another community member, mentioned that they are working on using per-org JWT authenticated OAuth, but this is not currently supported.

Configuring the Agentforce Registry

To enable the Agentforce registry, you need to submit a case to the partner premier team. This will allow you to add your server details to the registry. Additionally, you may need to create a scratch org with the Agentforce registry enabled, following specific instructions provided by Salesforce.

The root cause of the issue is the lack of support for per-org JWT authenticated OAuth and the need for server-level client ID and secret. This requires users to follow specific instructions and configure their MCP server and Agentforce registry correctly.

Step-by-Step Solution

To connect your MCP server with the Agentforce agent, follow these steps:

Agentforce Registry Configuration

1. Create a scratch org with the Agentforce registry enabled
2. Submit a case to the partner premier team to enable the Agentforce registry
3. Follow the instructions provided by Salesforce to configure your MCP server and Agentforce registry

Heads up: Make sure to contact your Account Executive (AE) to see if you can join the beta program, which provides additional instructions and support.

Checklist

  • Create a scratch org with the Agentforce registry enabled
  • Submit a case to the partner premier team to enable the Agentforce registry
  • Follow the instructions provided by Salesforce to configure your MCP server and Agentforce registry
  • Contact your AE to see if you can join the beta program
  • Verify that your MCP server and Agentforce registry are correctly configured

Frequently Asked Questions

What is the Agentforce registry?

The Agentforce registry is a feature that allows you to add your server details and configure your MCP server with the Agentforce agent.

How do I enable the Agentforce registry?

You need to submit a case to the partner premier team to enable the Agentforce registry.

What is the beta program for Agentforce?

The beta program for Agentforce provides additional instructions and support for configuring your MCP server and Agentforce registry.

How do I join the beta program?

You need to contact your AE to see if you can join the beta program.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert