Provar MCP Server
io.github.ProvarTesting由 GitHub 帳號 ProvarTesting 發布v1.6.5更新於 Oct 24, 2026
Provar MCP: AI-powered Salesforce test automation. Generate, validate, migrate, and run tests.
概覽
一個本機 MCP 伺服器,讓 AI 助理產生、驗證、遷移並執行 Provar Salesforce 測試自動化專案。
- 可以做什麼
- 檢查專案並描述 Salesforce 組織,包括下載中繼資料以及編譯 PageObject 與 PageControl 原始碼。撰寫並驗證 Page Object、測試案例、測試套件與測試計畫,並編輯屬性檔案。產生、載入、驗證、讀取與設定 ProvarDX 自動化設定。連線 Provar Quality Hub,擷取測試案例、執行測試、輪詢報告並中止執行。執行 Provar Automation 測試與 ANT 建置,並處理 NitroX 元件。
- 適用情境
- 適合已使用 Provar 進行 Salesforce 測試自動化的團隊,希望由助理建立、檢查或遷移測試資產,並在編輯器中啟動測試執行。若不使用 Provar Automation 或 Quality Hub,則幫助不大。
- 執行需求
- 透過 npx 或全域 sf 外掛安裝,以 stdio 在本機執行。需要 Node.js 18–24(不支援 25 以上)以及已啟用授權的 Provar Automation IDE。完整驗證與 Quality Hub 功能需要經 sf provar auth login 取得的 API 金鑰,存於憑證檔案或 PROVAR_API_KEY 環境變數。檔案存取僅限 --allowed-paths 指定的路徑。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Provar MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 2a64edf
工具
0版本歷史
1- v1.6.5最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分