Manage MCP Servers with Salesforce CLI (Developer Preview)

Use Salesforce Model Context Protocol (MCP) solutions to access Salesforce features and services through AI applications.

Building custom integrations between AI applications and enterprise platforms takes significant effort. MCP eliminates this complexity by providing an open standard that lets AI applications securely interact with external systems and services through prebuilt connections. Use these ready-made MCP servers to connect your AI applications to Salesforce, Heroku, and MuleSoft features and services.

Salesforce CLI agent mcp Commands 

Use Salesforce CLI commands to manage server registrations in the API Catalog. The API Catalog is the centralized Setup hub for creating and managing Salesforce-Hosted MCP Servers.

These commands are available as a developer preview. The commands aren’t generally available until Salesforce announces their general availability in documentation, press releases, or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don’t implement functionality developed with these commands.

Note

CommandDescription
agent mcp asset listList the assets (tools, prompts, and resources) for an MCP server in the API Catalog.
agent mcp asset replaceReplace the asset set of an MCP server in the API Catalog.
agent mcp createCreate an MCP server in the API Catalog.
agent mcp deleteDelete an MCP server from the API Catalog.
agent mcp fetchFetch the live assets (tools, prompts, resources) advertised by an MCP server.
agent mcp getGet a single MCP server registered in the API Catalog.
agent mcp listList the MCP servers registered in the API Catalog.
agent mcp updateUpdate an MCP server registered in the API Catalog.

See Also