jev-ultrafast-mcp
v0.1.5Hand browser work off to a server-side agent: read the page as a table, act, then verify.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_open
Open a URL in a new owned tab and return the element table. Use `hint` to restate the goal in one line; it is echoed back so the next step has the goal in context without re-reading this call.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
hint | string | |
session | string |
browser_observe
Re-read the page: new element table, or a delta if little changed. `mode`: "auto" (delta when possible), "full" (whole table, e.g. after a big change), "delta" (force). `include_json=True` appends a machine-readable copy of the element table when you want to plan over it programmatically.
| Parameter | Type | Description |
|---|---|---|
include_json | boolean | |
include_text | boolean | |
mode | string | |
session | string |
browser_act
Execute one or more ops in order, then return a delta observation. Batch ops into a single call — each call is a round trip. op fields click ref (ref may be "e12", or "e12" of a combobox to open it) type ref, text, [clear=true], [submit=false] select ref, value (option value or label) toggle ref, [state] (checkbox/radio/switch; no state = flip) hover ref upload ref, path | paths[] keys key ("Enter", "Meta+A", "ArrowDown") | keys[] scroll…
| Parameter | Type | Description |
|---|---|---|
ops * | array | |
dry_run | boolean | |
observe_after | boolean | |
session | string | |
stop_on_error | boolean |
browser_assert
Verify the current page against deterministic checks. Returns pass/fail. checks {"type": "url_matches", "pattern": "*/checkout*"} {"type": "url_contains", "text": "/orders/"} {"type": "title_matches", "pattern": "*Order*"} {"type": "text_contains", "text": "Thanks", "regex": false} {"type": "text_absent", "text": "Error"} {"type": "element_exists", "role": "button", "name": "Continue"} {"type": "element_gone", "ref": "e12"} {"type": "value_equals", "ref": "e7", "value": "Zurich"} {"type": "checked", "ref":…
| Parameter | Type | Description |
|---|---|---|
checks * | array | |
session | string |
browser_macro
Record, replay, list, or delete a macro — a discovered path with no model calls. action="record_start" begin capturing ops (needs the session to be driving the task) action="record_stop" finish and save under `name` action="run" replay `name`; `params` fills {{placeholders}} in text/url action="list" | "inspect" | "delete" Replay re-resolves each step by role + name against a fresh observation and refuses to act when the best match is weak or ambiguous.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
goal | string | |
name | string | |
params | ||
session | string | |
start_url | string | |
threshold | number |
browser_goal
Run a whole goal inside the server (turbo mode). Needs a decision-model key. Each step costs one request (operation + every target head in a single speculative fan-out). Use this when you want the browser driven end to end without spending a host turn per click. Without a key, use browser_observe + browser_act instead. The key is TYPESAFE_API_KEY, or OPENROUTER_API_KEY when TYPESAFE_BASE_URL points at https://openrouter.ai/api/alpha/decisions -- same model, same contract, no TypeSafe account needed. `verify` runs browser_assert-style checks on the final page,…
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
max_steps | integer | |
session | string | |
verbose | boolean | |
verify |
browser_tabs
List, open, switch to, or close tabs. Tabs opened by the page show up in observations on their own. To act on one, prefer `target_id` (the `#handle` printed by action="list"): indexes are positional and get renumbered whenever the tab list changes, so an index read a call ago can address a different tab. `index` is a convenience when listing and acting in the same breath; omit both to mean "the current tab".
| Parameter | Type | Description |
|---|---|---|
action | string | |
index | integer | |
session | string | |
target_id | string | |
url | string |
browser_sessions
List open sessions (independent owned tabs).
browser_close
Close a session's tab. Set shutdown_browser=True to stop the browser too. Only a browser this server launched is stopped. In attach mode the browser is yours: shutdown detaches and leaves it, and every other window, running.
| Parameter | Type | Description |
|---|---|---|
session | string | |
shutdown_browser | boolean |
browser_doctor
Report environment: browser binary, connection, keys, and policy envelope. Call this when anything behaves unexpectedly — it separates "no browser" from "blocked by policy" from "no key".