mcp-server

v1.1.0
@llialo/mcp-server Checked 3 days ago Published 1 month ago

Actspan local MCP server for the browser extension Bridge

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

actspan_status Actspan bridge status

Check whether the local Actspan browser extension Bridge is connected.

actspan_feishu_push Push Feishu or DingTalk notification

Send a notification through enabled Feishu/Lark or DingTalk bot webhooks configured in the extension. Optional webhookName must match exactly; omit it to send to all enabled Feishu and DingTalk webhooks. No browser tab or confirmation prompt is required.

ParameterTypeDescription
message *string
title *string
webhookNamestringExact configured webhook name; omit to target all enabled Feishu and DingTalk webhooks.

actspan_tabs_list List browser tabs

List browser tabs visible to the current Actspan task.

ParameterTypeDescription
sessionIdstring
taskIdstring

actspan_tab_open Open tab

Open a browser tab for the current task. The tab opens in the background by default, so the user's current tab keeps the foreground and every other tool still works on it. Set focus:true only when the user asked to see the page: it brings the tab to the foreground and interrupts whatever the user is doing.

ParameterTypeDescription
url *string
focusbooleanLeave false (default) to open behind the user's current tab. true is the explicit foreground escape hatch: the tab is brought to the front and the user is interrupted.
labelstring
sessionIdstring
taskIdstring

actspan_tabs_select Select active tab

Select a task-owned tab as the active browser tab.

ParameterTypeDescription
tabId *integer
sessionIdstring
taskIdstring

actspan_tab_close Close tab

Close a tab owned by the current task.

ParameterTypeDescription
tabId *integer
sessionIdstring
taskIdstring

actspan_tab_navigate Navigate tab

Navigate a tab owned by the current task.

ParameterTypeDescription
url *string
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_snapshot Snapshot page elements

Return a deterministic semantic snapshot of a task-owned tab: interactive elements with refs. Elements inside open shadow roots are included. Elements inside child frames (including cross-origin iframes) are included with a frame-qualified ref ending in @fN; pass that ref back verbatim with the returned snapshotId to act or read inside that exact frame.

ParameterTypeDescription
include_framesbooleanInclude child frames (refs end in @fN). Raises the policy level to sensitive because cross-frame reads may touch other origins.
include_hiddenboolean
include_non_interactiveboolean
limitinteger
only_viewportboolean
querystring
scope_selectorstring
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_read Read page

Read text or HTML from a task-owned tab; when tabId is omitted, read the active tab. Pass selector, ref+snapshotId, or find to read one element instead of the whole page.

ParameterTypeDescription
attrstring
expectstring | number | boolean
findobjectLocate by accessible role and/or name without a snapshot. Exact name match wins; multiple matches error instead of guessing, so pass nth (0-based) or use a selector.
formatstring
maxCharsinteger
refstring
selectorstring
sessionIdstring
snapshotIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_click Click page element

Click a DOM element in a tab owned by the current task. Locate it by exactly one of selector, ref+snapshotId (from a snapshot), or find {role, name, nth}. Synthetic DOM events are used first; when they produce no observable effect the click is automatically replayed as real CDP input events. Submit/payment/delete targets never auto-escalate; pass real:true to force real events (recorded in the audit trail).

ParameterTypeDescription
findobjectLocate by accessible role and/or name without a snapshot. Exact name match wins; multiple matches error instead of guessing, so pass nth (0-based) or use a selector.
realbooleanForce real CDP input events instead of synthetic DOM events. Use when the synthetic click or type produced no observable effect; sensitive submit/payment/delete targets never auto-escalate and require…
refstring
selectorstring
sessionIdstring
snapshotIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_type Type into page

Type into a DOM input in a tab owned by the current task. Locate it by exactly one of selector, ref+snapshotId (from a snapshot), or find {role, name, nth}. Synthetic DOM events are used first; when they produce no observable effect the input is automatically replayed as real CDP input events. Submit/payment/delete targets never auto-escalate; pass real:true to force real events (recorded in the audit trail).

ParameterTypeDescription
text *string
findobjectLocate by accessible role and/or name without a snapshot. Exact name match wins; multiple matches error instead of guessing, so pass nth (0-based) or use a selector.
realbooleanForce real CDP input events instead of synthetic DOM events. Use when the synthetic click or type produced no observable effect; sensitive submit/payment/delete targets never auto-escalate and require…
refstring
selectorstring
sessionIdstring
snapshotIdstring
submitboolean
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_eval Evaluate page expression

Evaluate a page expression. The expression must be provably side-effect free: mutating JS is rejected even after approval, and DOM property reads such as input.value may be rejected by the V8 side-effect check. Use page_read with attr "value"/"text"/"checked" or page_snapshot to observe page state.

ParameterTypeDescription
expression *string
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_screenshot Capture screenshot

Capture a screenshot from a task-owned tab; when tabId is omitted, capture the active tab. Defaults to the visible area; pass full_page for the entire scrollable page, clip for a viewport region, or element_id+snapshot_id (from page_snapshot) to capture one element.

ParameterTypeDescription
clipobjectViewport coordinates region.
element_idstring
formatstring
full_pageboolean
qualityintegerjpeg only, default 80.
sessionIdstring
snapshot_idstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
wait_msintegerPage load timeout, default 15000.

actspan_skills_list List skills and workflows

Read the current Actspan registry revision and skill summaries.

actspan_skill_detail Get skill detail

Read a complete skill and its structured workflow contracts.

ParameterTypeDescription
name *string

actspan_workflow_run Run workflow

Start a structured workflow and return an asynchronous task handle.

ParameterTypeDescription
name *string
inputobject
modestring
sessionIdstring
taskIdstring

actspan_agent_submit Submit agent task

Start an open-ended browser task and return an asynchronous task handle.

ParameterTypeDescription
inputobject
querystring
sessionIdstring
taskIdstring

actspan_agent_status Get agent task status

Read an agent task state by taskId.

ParameterTypeDescription
sessionIdstring
taskIdstring

actspan_agent_result Get agent task result

Read the retained result of an agent task by taskId.

ParameterTypeDescription
sessionIdstring
taskIdstring

actspan_agent_cancel Cancel agent task

Cancel an agent task by taskId.

ParameterTypeDescription
sessionIdstring
taskIdstring

actspan_act ActSpan compound action

Your DEFAULT way to act — batch every step you can predict. Every call you merge saves a full model turn. Steps run sequentially with an effect check per step, stop at the first failure, and one final snapshot returns at the end. Only steps located by find {role, name} are eligible for draft capture; selector-only steps still run but are never promoted into a reusable draft.

ParameterTypeDescription
steps *arrayOrdered predicted action steps. The budget counts expanded atomic steps: repeat/if count as the steps they actually run, and the whole script may run at most 20.
allowSensitivebooleanExplicitly allow sensitive submit/payment/delete actions; extension approval still applies.
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_adopt Adopt ActSpan draft

Adopt a successful ActSpan draft into the saved workflow registry.

ParameterTypeDescription
draftId *string
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_select Select native option

Select a value or exact option label on a native select, without debugger or tab activation.

ParameterTypeDescription
selector *string
value *string
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_upload Upload file

Create a File from base64 and set a native file input via DataTransfer, or dispatch drag/drop to dropSelector. No system file dialog.

ParameterTypeDescription
base64 *string
filename *string
dropSelector
mimeTypestring
selectorstring
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_key Press key sequence

Press keys in order with optional repeat (up to 50); Tab moves focus and Enter activates ordinary controls. Never activates payment targets.

ParameterTypeDescription
keys *array
ref
repeatinteger
selectorstring
sessionIdstring
snapshotId
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_page_wait Wait for condition

Wait for selector, page text, or a stable idle DOM (no mutation for 500ms). Does not mutate the page.

ParameterTypeDescription
for *string
selectorstring
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
textstring
timeoutMsinteger

actspan_page_scroll Scroll page

Scroll the task-leased tab by pixel offsets, optionally within a selector. Does not activate or focus the tab.

ParameterTypeDescription
deltaXnumber
deltaYnumber
selectorstring
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_network_list List captured browser requests

START HERE when you need DATA rather than an action. Never guess an endpoint name from memory — list first, pick by response size (Content-Length when the server reports it; otherwise size is unknown). A: try fetch with changed pagination parameters first. B: if replay fails, returns 406, or requires page-generated x-s/x-t signatures, drive the site UI and read the resulting network response instead; do not fight the signature. C: before persisting with a failing entry point, inspect another site data entry for the same content. Capture starts on first use and cannot recover earlier requests…

ParameterTypeDescription
limitinteger
reloadbooleanExplicitly reload the task-owned tab after starting capture to observe first-load requests. This navigates the tab and requires a write lease.
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
urlFilterstringSubstring from a previously listed URL; matches across cursor variants. Never guess endpoints.

actspan_network_detail Inspect captured browser request

START HERE when you need DATA rather than an action. Never guess an endpoint name from memory — list first, pick by response size (Content-Length when the server reports it; otherwise size is unknown). A: try fetch with changed pagination parameters first. B: if replay fails, returns 406, or requires page-generated x-s/x-t signatures, drive the site UI and read the resulting network response instead; do not fight the signature. C: before persisting with a failing entry point, inspect another site data entry for the same content. Capture starts on first use and cannot recover earlier requests…

ParameterTypeDescription
includeBodyboolean
indexintegerOffset backward among matching completed requests; defaults to 0.
reloadbooleanExplicitly reload the task-owned tab after starting capture to observe first-load requests. This navigates the tab and requires a write lease.
requestIdstringExact requestId from list; cannot be combined with reload:true or urlFilter.
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
urlFilterstringSubstring from a previously listed URL; matches across cursor variants. Never guess endpoints.

actspan_network_query Read captured network response

START HERE when you need DATA rather than an action. Never guess an endpoint name from memory — list first, pick by response size (Content-Length when the server reports it; otherwise size is unknown). A: try fetch with changed pagination parameters first. B: if replay fails, returns 406, or requires page-generated x-s/x-t signatures, drive the site UI and read the resulting network response instead; do not fight the signature. C: before persisting with a failing entry point, inspect another site data entry for the same content. Capture starts on first use and cannot recover earlier requests…

ParameterTypeDescription
urlFilter *stringObserved URL substring selecting actual matching requests.
indexintegerOffset backward among matching completed requests; defaults to 0.
reloadbooleanExplicitly reload the task-owned tab after starting capture to observe first-load requests. This navigates the tab and requires a write lease.
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_data_fetch Fetch data

Fetch page or binary data through the extension. Binary is extension-side by default for cross-origin resources; via page is only for Referer-sensitive resources. Binary returns a bounded transfer descriptor; use savePath to stream chunks in the MCP server process.

ParameterTypeDescription
url *string
binaryboolean
max_content_lengthinteger
refererstring
savePathstring
sectionsarray
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
viastring

actspan_data_paginate Paginate data

Fetch JSON pages through bounded extension calls without guessing pagination. Provide param or cursorParam. Stop reasons are identical_response, non_2xx, max_pages, normal_end, or credential_page (a credential/token URL is never returned). savePath writes one JSON page per line in the MCP server process and returns only a summary plus first-page preview. A page over 64KiB is rejected as PAGE_TOO_LARGE rather than truncated.

ParameterTypeDescription
url *string
cursorParamstring
cursorPathstring
maxPagesinteger
paramstring
paramsobject
savePathstring
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring

actspan_data_download Download file

Download a URL, text, or screenshot through chrome.downloads. Uses saveAs:false to avoid a system save dialog and has no inline size limit.

ParameterTypeDescription
artifact_idstring
contentstring
filenamestring
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
urlstring

actspan_status_update Update task status

One short sentence telling the user what you are about to do (not what you are doing). Call before a multi-step task and whenever the plan changes. Instant, never blocks. Use the user's language. ≤80 chars. Requires a tab leased to this task: call tab_open first, otherwise the update is rejected.

ParameterTypeDescription
text *stringOne short sentence in the user's language.
languagestringOptional language tag, preserved as supplied.
sessionIdstring
tabIdintegerOptional tab id. Mutating operations must use a tab leased to the current task.
taskIdstring
userInputsarrayOptional declared user inputs to mask out of the status copy.