Provar MCP Server
io.github.ProvarTestingPublished by GitHub account ProvarTestingv1.6.5Updated Oct 24, 2026
Provar MCP: AI-powered Salesforce test automation. Generate, validate, migrate, and run tests.
Overview
A local MCP server that lets an AI assistant generate, validate, migrate and run Provar Salesforce test automation projects.
- What you can do
- Inspect projects and describe Salesforce orgs, including metadata download and compilation of PageObject and PageControl sources. Author and validate Page Objects, test cases, test suites and test plans, and edit properties files. Generate, load, validate, get and set ProvarDX automation configuration. Connect to Provar Quality Hub to retrieve test cases, run tests, poll reports and abort runs. Run Provar Automation tests and ANT builds, and work with NitroX components.
- When to use it
- Useful when a team already automates Salesforce testing with Provar and wants an assistant to scaffold, check or migrate test assets and drive test runs from the editor. Less relevant if you do not use Provar Automation or Quality Hub.
- Requirements
- Runs locally over stdio via npx or a global sf plugin install. Needs Node.js 18–24 (25+ unsupported) and Provar Automation IDE with an activated license. Full validation and Quality Hub features need an API key from sf provar auth login, stored in a credentials file or the PROVAR_API_KEY environment variable. File access is limited to paths passed with --allowed-paths.
Installation
In SourceWeft
- Open Provar MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@provartesting/provardx-cli
[Version] [Downloads/week] [License] [Get Access]
What is the ProvarDX CLI?
The Provar DX CLI is a Salesforce CLI plugin for Provar customers who want to automate the execution of tests using Provar Automation, and the reporting of test results and other quality-related metrics to Provar Quality Hub.
Installation, Update, and Uninstall
Requires Node.js 18–24 (LTS 22 recommended). Node 25+ is not yet supported due to a breaking change in a transitive dependency. Check with node --version.
Install the plugin
Update plugins
Uninstall the plugin
MCP Server (AI-Assisted Quality)
The Provar DX CLI includes a built-in Model Context Protocol (MCP) server that connects AI assistants (Claude Desktop, Claude Code, Cursor) directly to your Provar project. Once connected, an AI agent can inspect your project structure, generate Page Objects and test cases, validate every level of the test hierarchy with quality scores, and work with NitroX (Hybrid Model) component page objects for LWC, Screen Flow, Industry Components, Experience Cloud, and HTML5.
Validation runs in two modes: local only (structural rules, no key required) or Quality Hub API (170+ rules, quality scoring — requires a pv_k_ API key). Don't have an account? Request access.
Quick setup
Requires: Provar Automation IDE installed with an activated license. Node.js 18–24 must be on your PATH.
Option A — Zero-install (recommended for Claude Desktop)
No prior setup needed. Paste this into your Claude Desktop config file and restart the app:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
npx -y downloads the package automatically on first use — no sf or separate install step required.
Claude Code — run once to register the server:
Option B — Global sf plugin install
Prefer a persistent global install? Install once, then use the sf command:
Claude Desktop config using the global install:
Windows (Claude Desktop): Use
sf.cmdinstead ofsfif the server fails to start.
Claude Code using the global install:
📖 docs/mcp.md — full setup, all 43 tools, 6 resources, 11 MCP prompts, troubleshooting.
Commands
sf provar auth loginsf provar auth rotatesf provar auth statussf provar auth clearsf provar mcp startsf provar config getsf provar config setsf provar automation config generatesf provar automation config loadsf provar automation config validatesf provar automation config getsf provar automation config setsf provar automation setupsf provar automation project compilesf provar automation metadata downloadsf provar automation test runsf provar quality-hub connectsf provar quality-hub displaysf provar quality-hub opensf provar quality-hub testcase retrievesf provar quality-hub test runsf provar quality-hub test run reportsf provar quality-hub test run abortsf provar manager connect(deprecated — usesf provar quality-hub connect)sf provar manager display(deprecated — usesf provar quality-hub display)sf provar manager open(deprecated — usesf provar quality-hub open)sf provar manager testcase retrieve(deprecated — usesf provar quality-hub testcase retrieve)sf provar manager test run(deprecated — usesf provar quality-hub test run)sf provar manager test run report(deprecated — usesf provar quality-hub test run report)sf provar manager test run abort(deprecated — usesf provar quality-hub test run abort)
sf provar auth login
Log in to Provar Quality Hub and store your API key.
sf provar auth rotate
Rotate your stored API key without re-authenticating via browser.
sf provar auth status
Show the current API key configuration and validate it against Quality Hub.
sf provar auth clear
Remove the stored API key.
sf provar mcp start
Start a local MCP server for Provar tools over stdio transport.
📖 Full tool documentation and client configuration: docs/mcp.md
sf provar config get
Retrieve a value from the specified JSON file.
sf provar config set
Set one or more properties in the specified JSON file.
sf provar automation config generate
Generate a boilerplate ProvarDX properties file.
sf provar automation config load
Validate and load a ProvarDX properties file for later use.
sf provar automation config validate
Check if the loaded properties file has all the required properties set.
sf provar automation config get
Retrieve a value from the loaded properties file.
sf provar automation config set
Set one or more properties in the loaded properties file.
sf provar automation setup
Download and install Provar Automation.
sf provar automation project compile
Compile PageObject and PageControl Java source files into object code.
sf provar automation metadata download
Download any required metadata for a specified Provar Salesforce connection.
sf provar automation test run
Run the tests as specified in the loaded properties file.
sf provar quality-hub connect
Connect to a Provar Quality Hub org.
sf provar quality-hub display
Display information about the connected Provar Quality Hub org.
sf provar quality-hub open
Open Provar Quality Hub in a browser.
sf provar quality-hub testcase retrieve
Retrieve test cases related to the provided user stories or metadata components.
sf provar quality-hub test run
Run tests via Provar Quality Hub.
sf provar quality-hub test run report
Check or poll for the status of a Quality Hub test run.
sf provar quality-hub test run abort
Abort an in-progress test run triggered via Provar Quality Hub.
Deprecated commands: The
sf provar manager *commands below are retained for backwards compatibility and will print a deprecation warning when used. Use the equivalentsf provar quality-hub *commands above for all new pipelines.
sf provar manager connect
Load the alias or username to be used in subsequent commands to connect to Provar Manager.
sf provar manager display
Display information about the connected Provar Manager org.
sf provar manager open
Open Provar Manager in a browser.
sf provar manager testcase retrieve
Retrieve test cases related to the provided user stories (issues) or metadata components, for a given test project.
sf provar manager test run
Run tests via Provar Manager.
sf provar manager test run report
Check or poll for the status of a test run operation.
sf provar manager test run abort
Abort an in-progress test run triggered via Provar Manager.
Source: README.md at commit 2a64edf
Tools
0Version history
1- v1.6.5LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts