Skip to main content

Module mcp

Module mcp 

Source
Expand description

MCP server, tool handler, and parameter types.

Structs§

CssParams
Parameters for the compound css tool (inject, remove).
EvalJsParams
Parameters for the eval_js tool.
FindElementsParams
Parameters for the find_elements tool.
GhostCommandParams
Parameters for the detect_ghost_commands tool.
InputParams
Parameters for the compound input tool (fill, type_text, press_key).
InspectParams
Parameters for the compound inspect tool (styles, bounding boxes, highlight, a11y, perf).
InteractParams
Parameters for the compound interact tool (click, hover, focus, scroll, select).
InvokeCommandParams
Parameters for the invoke_command tool.
IpcIntegrityParams
Parameters for the check_ipc_integrity tool.
LogsParams
Parameters for the compound logs tool (console, network, ipc, navigation, dialogs, events).
NavigateParams
Parameters for the compound navigate tool (go_to, go_back, history, dialogs).
RecordingParams
Parameters for the compound recording tool (start, stop, checkpoint, replay, export, import).
RegistryParams
Parameters for the get_registry tool.
ResolveCommandParams
Parameters for the resolve_command tool.
ScreenshotParams
Parameters for the screenshot tool.
SemanticAssertParams
Parameters for the semantic_assert tool.
SnapshotParams
Parameters for the snapshot tool.
StorageParams
Parameters for the compound storage tool (get, set, delete, get_cookies).
VerifyStateParams
Parameters for the verify_state tool.
VictauriMcpHandler
MCP tool handler that dispatches tool calls to the webview bridge and state.
WaitForParams
Parameters for the wait_for tool.
WindowParams
Parameters for the compound window tool (get_state, list, manage, resize, move, title).

Enums§

CssAction
Action for the compound css tool.
DialogAction
Action to take on a browser dialog.
DialogType
Browser dialog type for dialog response configuration.
InputAction
Action for the compound input tool.
InspectAction
Action for the compound inspect tool.
InteractAction
Action for the compound interact tool.
LogsAction
Action for the compound logs tool.
ManageAction
Window management sub-action for the manage action.
NavigateAction
Action for the compound navigate tool.
RecordingAction
Action for the compound recording tool.
SnapshotFormat
Output format for DOM snapshots.
StorageAction
Action for the compound storage tool.
StorageType
Web storage type for browser storage operations.
WaitCondition
Condition to poll for in the wait_for tool.
WindowAction
Action for the compound window tool.

Functions§

build_app
Build an Axum router for the MCP server with default options (no auth token).
build_app_full
Build an Axum router with full control over auth token and rate limiter.
build_app_with_options
Build an Axum router for the MCP server with an optional auth token and rate limiter.
parse_bridge_event
Parse a single bridge event JSON value into an AppEvent.
start_server
Start the MCP server on the given port with default options (no auth token).
start_server_with_options
Start the MCP server on the given port with an optional auth token.