Skip to main content
Glama

sf_set_project_directory

Define a Salesforce project directory for command execution context by specifying the path to a directory containing an sfdx-project.json file. Optionally set a name, description, or mark it as the default directory for streamlined CLI operations.

Instructions

Set a Salesforce project directory for command execution context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNoOptional description for this project root
directoryYesThe absolute path to a directory containing an sfdx-project.json file
isDefaultNoSet this root as the default for command execution
nameNoOptional name for this project root

Other Tools

Related Tools

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