salesforce-mcp-lib / setup / vscode
Setup guide
Set up salesforce-mcp-lib in VS Code
communitystdioneeds caution
Salesforce MCP Library is a local stdio bridge for Salesforce MCP endpoints using OAuth client credentials, featuring a reusable Apex MCP library and JSON-RPC 2.0 core.
01Configuration
{
"mcpServers": {
"salesforce-mcp-lib": {
"command": "npx",
"args": [
"-y",
"salesforce-mcp-lib"
]
}
}
}
Add this to .vscode/mcp.json. Generated from the captured install method (npx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.
02Steps
- Make sure VS Code is installed and up to date.
- Open
.vscode/mcp.jsonand add the block above (merge into any existingmcpServers). - Provide any required API keys/credentials as environment variables.
- Restart VS Code and confirm salesforce-mcp-lib’s tools appear.
03Other runtimes
04Provenance
config_sourcegenerated from captured install method
last_checked2026-07-16 08:10Z
sourcesGitHub repo search [p4]
Next step
Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.
Explore Apex →See also: server page · is it safe? · alternatives