@browsa/mcp 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  **Drive real browsers from Claude Desktop, Cursor, Cline, and any MCP-compatible client.**
9
9
 
10
- MCP (Model Context Protocol) server for [Browsa](https://browsa.io): turn any LLM into a real-browser agent with one config line. The agent gets a fresh cloud Chromium on Browsa's own build, and a live view link so you can watch it work.
10
+ MCP (Model Context Protocol) server for [Browsa](https://browsa.io): turn any LLM into a real-browser agent with one config line. The agent gets a fresh cloud browser running Phantom, Browsa's own browser, and a live view link so you can watch it work.
11
11
 
12
12
  [![npm version](https://img.shields.io/npm/v/@browsa/mcp.svg)](https://www.npmjs.com/package/@browsa/mcp)
13
13
 
@@ -111,7 +111,7 @@ When the job has them, `run_task` and `get_job` results include `usage` (`input_
111
111
  | `run_task` | Run a browser-driven task. Returns the final result, `outcome` and steps. Optional `llm`, `reasoning`, `llm_key_id`. |
112
112
  | `get_job` | Poll a long-running task. Optional server-side `wait_seconds`. |
113
113
  | `cancel_job` | Cancel a running task. |
114
- | `respond_to_job` | Answer an `input_required` prompt (CAPTCHA, decision). |
114
+ | `respond_to_job` | Answer an `input_required` prompt (a decision, or a CAPTCHA the task could not solve itself: see https://browsa.io/captcha). |
115
115
  | `start_browser` | Start a real cloud browser and get its CDP URL, to drive yourself with Playwright or Puppeteer. |
116
116
  | `stop_browser` | Stop a browser from `start_browser` and release it. |
117
117
  | `proxy_network` | Whether Browsa's built-in proxy network is on, its tiers, countries and price. Read-only and free. |
package/dist/server.js CHANGED
@@ -23,7 +23,7 @@ if (!API_KEY) {
23
23
  }
24
24
  var client = API_KEY ? new Client({ apiKey: API_KEY, ...BASE_URL ? { baseUrl: BASE_URL } : {} }) : null;
25
25
  var server = new Server(
26
- { name: "browsa", version: "0.3.2" },
26
+ { name: "browsa", version: "0.3.3" },
27
27
  { capabilities: { tools: {} } }
28
28
  );
29
29
  var REASONING_PROP = {
@@ -34,7 +34,7 @@ var REASONING_PROP = {
34
34
  var tools = [
35
35
  {
36
36
  name: "run_task",
37
- description: "Run a browser-driven AI task on a fresh real Chromium burner. Returns the final result, the outcome and the total steps. `status: completed` only means the run ended: read `outcome`. `outcome: failed` with `status: completed` means the agent finished but could not do the task, and `final_result` says what stopped it. Use this when the user asks for anything web-shaped: scrape, fill, click, extract, login, place an order, search, summarize a page, etc. The browser is a real macOS-Chrome-fingerprinted Chromium with built-in CAPTCHA solving (Turnstile, hCaptcha, reCAPTCHA, ALTCHA, FunCaptcha) and behavioral humanization. Default timeout: 10 minutes.",
37
+ description: "Run a browser-driven AI task on a fresh Phantom cloud browser. Returns the final result, the outcome and the total steps. `status: completed` only means the run ended: read `outcome`. `outcome: failed` with `status: completed` means the agent finished but could not do the task, and `final_result` says what stopped it. Use this when the user asks for anything web-shaped: scrape, fill, click, extract, login, place an order, search, summarize a page, etc. The browser is a real macOS-Chrome-fingerprinted Phantom browser with built-in CAPTCHA solving (Turnstile, hCaptcha, reCAPTCHA, ALTCHA, FunCaptcha) and behavioral humanization. Default timeout: 10 minutes.",
38
38
  inputSchema: {
39
39
  type: "object",
40
40
  required: ["task"],
@@ -374,7 +374,7 @@ function llmKeyError(e, choice) {
374
374
  async function proxyNetwork() {
375
375
  const base = (BASE_URL || "https://browsa.io").replace(/\/+$/, "");
376
376
  const resp = await fetch(`${base}/v1/proxy-network`, {
377
- headers: { "X-API-Key": API_KEY, Accept: "application/json", "User-Agent": "browsa-mcp/0.3.2" }
377
+ headers: { "X-API-Key": API_KEY, Accept: "application/json", "User-Agent": "browsa-mcp/0.3.3" }
378
378
  });
379
379
  const body = await resp.json().catch(() => ({}));
380
380
  if (resp.status === 404) return { enabled: false, tiers: [] };
@@ -399,7 +399,7 @@ function proxyUsage(raw) {
399
399
  async function apiGet(path) {
400
400
  const base = (BASE_URL || "https://browsa.io").replace(/\/+$/, "");
401
401
  const resp = await fetch(`${base}${path}`, {
402
- headers: { "X-API-Key": API_KEY, Accept: "application/json", "User-Agent": "browsa-mcp/0.3.2" }
402
+ headers: { "X-API-Key": API_KEY, Accept: "application/json", "User-Agent": "browsa-mcp/0.3.3" }
403
403
  });
404
404
  const body = await resp.json().catch(() => ({}));
405
405
  if (!resp.ok) {
@@ -415,7 +415,7 @@ async function apiPost(path, payload, timeoutMs = 9e4) {
415
415
  "X-API-Key": API_KEY,
416
416
  Accept: "application/json",
417
417
  "Content-Type": "application/json",
418
- "User-Agent": "browsa-mcp/0.3.2"
418
+ "User-Agent": "browsa-mcp/0.3.3"
419
419
  },
420
420
  body: JSON.stringify(payload),
421
421
  signal: AbortSignal.timeout(timeoutMs)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browsa/mcp",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "mcpName": "io.browsa/browsa",
5
5
  "description": "MCP server for Browsa: drive real cloud browsers from Claude Desktop, Cursor, Cline, and any MCP-compatible client",
6
6
  "license": "MIT",