sf-mcp
If you are the rightful owner of sf-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Model Context Protocol (MCP) server for providing Salesforce CLI functionality to LLM tools like Claude Desktop.
The Salesforce CLI MCP Server is designed to integrate Salesforce CLI capabilities with LLM-powered tools, such as Claude Desktop. It acts as a bridge, exposing Salesforce CLI commands as MCP tools and resources, enabling users to execute commands, view help information, and leverage Salesforce CLI functionalities within AI workflows. The server requires Node.js 18+, npm, and a configured Salesforce CLI. It supports project directory management, allowing users to specify multiple project roots for commands that require a Salesforce project context. The server dynamically discovers Salesforce CLI commands, caching them to improve performance, and provides tools for managing this cache. It also handles nested topic commands, offering both full hierarchy names and simplified aliases for ease of use.
Features
- Dynamic Command Discovery: Automatically discovers and registers Salesforce CLI commands as MCP tools.
- Project Directory Management: Supports multiple project roots for commands requiring a Salesforce project context.
- Command Caching: Caches discovered commands to improve startup performance, with tools to manage the cache.
- Nested Topic Handling: Converts nested Salesforce CLI commands to a flat structure with simplified aliases.
- Integration with LLM Tools: Exposes Salesforce CLI functionalities to LLM-powered tools like Claude Desktop.