proxy_stop_server
Stop the Web Proxy MCP Server to halt HTTP/HTTPS traffic monitoring, analysis, and browser setup operations in your automated workflow.
Instructions
Stop the proxy server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/tool-handlers.js:245-262 (handler)The main handler logic for the 'proxy_stop_server' tool. Checks if the proxy server is running, and if so, stops it using `proxyServer.stop()`. Returns appropriate success or status messages.case 'proxy_stop_server': if (!this.proxyServer.isRunning()) { return { content: [{ type: "text", text: "Proxy server is not running" }] }; } await this.proxyServer.stop(); return { content: [{ type: "text", text: "✅ Proxy server stopped" }] };
- Input schema definition for the 'proxy_stop_server' tool, which takes no parameters.proxy_stop_server: { name: "proxy_stop_server", description: "Stop the proxy server", inputSchema: { type: "object", properties: {} } },
- index.js:66-74 (registration)Dynamic registration of all MCP tools, including 'proxy_stop_server', by exposing their definitions from the TOOLS object in ListTools responses.this.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: Object.entries(TOOLS).map(([name, tool]) => ({ name, description: tool.description, inputSchema: tool.inputSchema })) }; });