Salesforce CLI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sf_cache_clearA | Clear the cached SF command metadata to force a refresh |
| sf_cache_refreshB | Refresh the SF command cache by re-scanning all available commands |
| sf_detect_project_directoryB | Get instructions for setting up Salesforce project directories for command execution |
| sf_set_project_directoryB | Set a Salesforce project directory for command execution context |
| sf_list_rootsB | List all configured Salesforce project directories and their metadata |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| sf-help | |
| sf-roots | |
| sf-version |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/codefriar/sf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server