Skip to main content

Module mcp

Module mcp 

Source
Expand description

MCP server, tool handler, and parameter types.

Structs§

AnimationParams
Parameters for the compound animation tool.
CssParams
Parameters for the compound css tool (inject, remove).
DiagnosticsParams
Parameters for the get_diagnostics tool.
EvalJsParams
Parameters for the eval_js tool.
ExplainParams
Parameters for the explain compound tool.
FaultParams
Parameters for the fault compound 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).
IntrospectParams
Parameters for the introspect compound tool.
InvokeCommandParams
Parameters for the invoke_command tool.
IpcIntegrityParams
Parameters for the check_ipc_integrity tool.
ListAppDirParams
Parameters for the list_app_dir 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).
QueryDbParams
Parameters for the query_db tool.
ReadAppFileParams
Parameters for the read_app_file tool.
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.
RouteParams
Parameters for the compound route tool (network interception / mock / block / delay).
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).
TraceParams
Parameters for the compound trace tool (screencast / visual timeline).
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§

AnimationAction
Action for the compound animation tool (motion introspection / scrubbing).
AppDir
Which app directory to target.
CssAction
Action for the compound css tool.
DialogAction
Action to take on a browser dialog.
DialogType
Browser dialog type for dialog response configuration.
ExplainAction
Actions available in the explain compound tool.
FaultAction
Actions available in the fault compound tool.
FaultKind
The type of fault to inject.
InputAction
Action for the compound input tool.
InspectAction
Action for the compound inspect tool.
InteractAction
Action for the compound interact tool.
IntrospectAction
Actions available in the introspect compound 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.
RouteAction
Action for the compound route tool.
RouteBehavior
What a matched route rule does to the request.
RouteMatchType
How a route rule’s pattern is matched against the request URL.
SnapshotFormat
Output format for DOM snapshots.
StorageAction
Action for the compound storage tool.
StorageType
Web storage type for browser storage operations.
TraceAction
Action for the compound trace tool.
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.