Skip to main content
Glama
852764
by 852764

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WMPF_CDP_WSNoDefault debugger WebSocket URL.ws://127.0.0.1:62000
WMPF_ALLOW_REMOTENoSet to 1 to allow non-local WebSocket hosts.
WMPF_CDP_TIMEOUT_MSNoCDP connection and request timeout.10000
WMPF_MAX_EVENT_CACHENoMaximum recent CDP events.200
WMPF_MAX_SCRIPT_CACHENoMaximum cached script metadata entries.2000
WMPF_MAX_NETWORK_CACHENoMaximum cached network entries.1000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
connectA

Connect to WMPFDebugger CDP WebSocket, default ws://127.0.0.1:62000.

statusB

Show current WMPF CDP connection status and cached debug state.

runtime_evaluateC

Evaluate JavaScript in the mini program runtime through CDP Runtime.evaluate.

cdp_callC

Call any raw Chrome DevTools Protocol method.

list_scriptsA

List scripts observed from Debugger.scriptParsed events.

get_script_sourceC

Get JavaScript source for a Debugger scriptId.

search_scriptsB

Search cached script sources by text or regular expression.

set_breakpoint_by_urlC

Set a breakpoint by URL regex and zero-based line/column.

set_breakpoint_by_script_idC

Set a breakpoint by CDP scriptId and zero-based line/column.

set_breakpoint_on_textC

Search loaded scripts and set a breakpoint at matching text/regex. Best for AI-driven debugging.

list_breakpointsB

List breakpoints set through this MCP session.

remove_breakpointC

Remove a breakpoint by CDP breakpointId.

paused_infoC

Show pause reason, hit breakpoints, call frames, and callFrameIds.

evaluate_on_callframeC

Evaluate an expression in a paused call frame to inspect local variables.

debugger_controlB

Control debugger execution: pause, resume, step_over, step_into, or step_out.

list_network_requestsC

List cached Network requests observed since connection.

network_capture_controlC

Start, stop, or clear CDP Network capture cache.

get_request_detailC

Get one network request with optional response body.

export_network_harC

Export cached network requests as HAR-like JSON.

get_response_bodyC

Get response body for a Network requestId through Network.getResponseBody.

last_eventsB

Show recent raw CDP events for troubleshooting protocol compatibility.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/852764/wmpf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server