Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

Support matrix: the browser probe names its MCP server for pi's adapter (#269)

github-actions[bot]2fbe21287578
diff --git a/scripts/support-matrix/plugs/browser.py b/scripts/support-matrix/plugs/browser.py
index 8269fd91..7c5810ff 100644
--- a/scripts/support-matrix/plugs/browser.py
+++ b/scripts/support-matrix/plugs/browser.py
@@ -20,10 +20,15 @@ import time
import urllib.error
import urllib.request
-PROMPT = ("Use your browser tools for this, in order: 1) browser.navigate to https://example.com/ ; "
- "2) browser.snapshot ; 3) browser.click the 'More information...' link by its ref ; 4) browser.extract_text ; "
- "5) browser.screenshot . Then answer with: the final URL, the page title, and the first 200 characters of "
- "the extracted text. Do nothing else and do not visit any other site.")
+# The tools are on the MCP server named plugs. Some CLIs list MCP tools directly; pi reaches them
+# through its `mcp` tool (search, then call), and a prompt that only names browser.navigate lets the
+# model answer that it has no such tool. So the prompt says where the tools are and how to reach them.
+PROMPT = ("Your browser tools come from the MCP server named plugs: browser.navigate, browser.snapshot, browser.click, "
+ "browser.extract_text, browser.screenshot. If they are not listed directly, use your mcp tool: search it for "
+ "browser, then call them. Do this, in order: 1) browser.navigate to https://example.com/ ; 2) browser.snapshot ; "
+ "3) browser.click the 'More information...' link by its ref ; 4) browser.extract_text ; 5) browser.screenshot . "
+ "Then answer with: the final URL, the page title, and the first 200 characters of the extracted text. "
+ "Do nothing else and do not visit any other site.")
NEEDED = ["navigate", "snapshot", "click", "extract_text", "screenshot"]