docs(mcp): add npx alternative and fix Claude Code setup instructions#124
Merged
mrdailey99 merged 2 commits intomainfrom Apr 20, 2026
Merged
docs(mcp): add npx alternative and fix Claude Code setup instructions#124mrdailey99 merged 2 commits intomainfrom
mrdailey99 merged 2 commits intomainfrom
Conversation
- 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>
Contributor
There was a problem hiding this comment.
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.jsonconfiguration, and fixes prior incorrect path/command guidance. - Adds/expands
npx -y @salesforce/clias the primary workaround forSF_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.
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npx -y @salesforce/clias the command alternative for clients wheresfis not on PATH (Claude Desktop, VS Code extensions, Cursor).claude/mcp.jsonpath with correct.mcp.jsonat project root/mcp addslash command with correctclaude mcp addterminal command${workspaceFolder}in VS Code-based configs for GitHub Copilot