Skip to main content
Glama

Salesforce CLI MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
sf-help
sf-roots
sf-version

Tools

Functions exposed to the LLM to take actions

NameDescription
sf_cache_clear

Clear the cached SF command metadata to force a refresh

sf_cache_refresh

Refresh the SF command cache by re-scanning all available commands

sf_detect_project_directory

Get instructions for setting up Salesforce project directories for command execution

sf_set_project_directory

Set a Salesforce project directory for command execution context

sf_list_roots

List all configured Salesforce project directories and their metadata

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