Skip to content

docs(mcp): add npx alternative and fix Claude Code setup instructions#124

Merged
mrdailey99 merged 2 commits intomainfrom
develop
Apr 20, 2026
Merged

docs(mcp): add npx alternative and fix Claude Code setup instructions#124
mrdailey99 merged 2 commits intomainfrom
develop

Conversation

@mrdailey99
Copy link
Copy Markdown
Collaborator

  • Add npx -y @salesforce/cli as the command alternative for clients where sf is not on PATH (Claude Desktop, VS Code extensions, Cursor)
  • Fix Claude Code config: replace wrong .claude/mcp.json path with correct .mcp.json at project root
  • Fix Claude Code command: replace invalid /mcp add slash command with correct claude mcp add terminal command
  • Expand Claude Code section to distinguish terminal vs config-file setup
  • Add GitHub Copilot section to provar-mcp-public-docs.md (was missing)
  • Use ${workspaceFolder} in VS Code-based configs for GitHub Copilot
  • Update SF_NOT_FOUND troubleshooting to recommend npx as primary fix

- Add `npx -y @salesforce/cli` as the command alternative for clients
  where `sf` is not on PATH (Claude Desktop, VS Code extensions, Cursor)
- Fix Claude Code config: replace wrong `.claude/mcp.json` path with
  correct `.mcp.json` at project root
- Fix Claude Code command: replace invalid `/mcp add` slash command with
  correct `claude mcp add` terminal command
- Expand Claude Code section to distinguish terminal vs config-file setup
- Add GitHub Copilot section to provar-mcp-public-docs.md (was missing)
- Use `${workspaceFolder}` in VS Code-based configs for GitHub Copilot
- Update SF_NOT_FOUND troubleshooting to recommend npx as primary fix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 20, 2026 21:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates MCP client setup documentation to improve reliability in GUI/VS Code environments and correct Claude Code configuration instructions, including an npx-based fallback when sf isn’t on PATH.

Changes:

  • Clarifies Claude Code setup by separating terminal-based (claude mcp add) vs manual .mcp.json configuration, and fixes prior incorrect path/command guidance.
  • Adds/expands npx -y @salesforce/cli as the primary workaround for SF_NOT_FOUND / restricted PATH in GUI clients.
  • Adds/updates GitHub Copilot (VS Code) MCP configuration examples using ${workspaceFolder}.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/provar-mcp-public-docs.md Expands Claude Code setup, adds Copilot section, and updates SF_NOT_FOUND troubleshooting to recommend npx.
docs/mcp.md Reworks Claude Code/Copilot/Cursor client setup sections, adds npx fallback guidance, and tightens table formatting.
docs/mcp-pilot-guide.md Updates Claude Code setup instructions and adds npx fallback guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/mcp.md Outdated
Comment thread docs/mcp-pilot-guide.md
- Clarify -s project runs from project root (not arbitrary cwd)
- Update GitHub Copilot snippet in pilot guide to use \${workspaceFolder}
- Replace Windows sf.cmd note with consistent npx fallback guidance

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mrdailey99 mrdailey99 merged commit a3639d8 into main Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants