Salesforce CLI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 |
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no overlap: cache_clear and cache_refresh handle metadata caching, detect_project_directory provides setup instructions, list_roots enumerates existing directories, and set_project_directory establishes execution context. The descriptions reinforce these boundaries, making misselection unlikely.
All tools follow a consistent 'sf_verb_noun' pattern with snake_case throughout (e.g., sf_cache_clear, sf_detect_project_directory). This predictable naming scheme makes the tool set easy to navigate and understand at a glance.
Five tools is reasonable for a Salesforce CLI server focused on project directory management and cache operations. It's slightly lean but covers core setup and maintenance tasks without feeling bloated or incomplete for its apparent scope.
The tool set covers project directory setup, listing, and context setting, plus cache management, but lacks direct Salesforce CLI command execution tools (e.g., running queries or deploying metadata). This creates a notable gap for agents needing to perform actual Salesforce operations, though the provided tools support preparatory workflows.