Visual companion
A visual companion that brings setup-agents into the VS Code sidebar.
Personal open-source project. Not an official Salesforce product.
The Salesforce Setup Agents extension lets you configure profiles, connect Salesforce orgs, wire MCP servers, and manage rule files — all without touching the terminal. It wraps the same CLI plugin in a guided, sidebar-based workflow designed for teams where not everyone is comfortable running shell commands.
Product flow
Select role profiles, apply rules, connect a Salesforce org, and browse third-party integrations — all from the sidebar.
The extension shows a spinner while detecting SF CLI. If missing, it displays a clear error with installation instructions and a retry button.
Capabilities
Auto-detects installed AI tools (Cursor, VS Code, Codex, Claude, Agentforce) and lets you select role profiles visually.
Lists authenticated Salesforce orgs, lets you select which to connect, and writes the MCP config — project or global scope.
Profile-filtered integrations for Figma, Jira, draw.io, and GitHub. Select, enter credentials, and connect in one click.
Detects stale rule files and lets you update them to the latest plugin version without re-running the full setup.
Import rules from URL or file, browse existing rule files, edit them inline, and save — all inside the sidebar panel.
Add any MCP server not in the presets — specify name, transport (stdio or http), command, args, and env vars directly from the UI.
Shows a spinner while detecting SF CLI. If CLI or plugin is missing, displays actionable banners with install instructions and a retry button.
Before install
Install the SF CLI (sf v2+) from developer.salesforce.com or via npm:
npm install -g @salesforce/cli
Install the setup-agents plugin:
sf plugins install @jterrats/setup-agents
Install from the VS Code Marketplace or search Salesforce Setup Agents in the Extensions panel:
ext install jterrats.setup-agents-ui
Sidebar anatomy
Runs sf setup-agents update --dry-run on load. If stale files are found, shows a count and an Update Now button.
Shows detected AI tools as badges, renders 22 role profile cards with multi-select, and provides scope control (project vs user) and tool targeting. Click Apply Configuration to generate rule files — output streams to a live console.
Lists authenticated Salesforce orgs (alias only, username on hover). Orgs already configured in your MCP config — regardless of key naming convention — are detected and pre-selected with a (connected) badge. Below the orgs section, third-party integrations (Figma, Jira, draw.io, GitHub) appear based on the profiles selected above. A Custom MCP Server form lets you add any arbitrary server (stdio or http) not covered by the presets.
| Integration | Profiles | Transport | Credentials |
|---|---|---|---|
| Figma | UX, BA, Architect | HTTP | None |
| Jira Cloud | PM, BA, Developer, QA, DevOps | stdio | URL, Email, API Token |
| draw.io | Architect, BA, UX, Developer | stdio | None |
| GitHub | Developer, Architect, DevOps, QA, PM | stdio | Personal Access Token |
Adds any MCP server not covered by the Salesforce or third-party presets. Choose stdio or http transport, provide a name, command/URL, args, and optional env vars. The entry is written directly to your project or global mcp.json.
Import rule files from a URL or local file (supports Cursor, Agentforce, and Claude formats). Browse existing rule files with a dropdown, open them in an inline editor, and save changes directly.
Verification
Playwright-based tests covering profile cards, MCP org cards, accessibility, keyboard navigation, and login flows.
cd extensions/vscode-setup-agents-ui
npm run test:e2e
Generate GIF recordings of the extension for documentation using Playwright video capture + ffmpeg:
# Record + convert in one step
npm run demo
# Or separately:
npm run demo:record
npm run demo:gifs
Install the extension and open the Setup Agents sidebar in VS Code or Cursor.