stop_web_monitor
Stop the Xcode MCP Server's web interface to terminate monitoring and free system resources when no longer needed.
Instructions
Stop the web interface if it is running
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:108-118 (handler)Handler for the 'stop_web_monitor' tool: calls WebMonitorManager.stop() and formats the response.if (name === 'stop_web_monitor') { const result = this.webMonitorManager.stop(); return { content: [ { type: 'text', text: result.message } ] }; }
- src/index.ts:67-75 (schema)Schema definition for the 'stop_web_monitor' tool, specifying no input parameters.{ name: 'stop_web_monitor', description: 'Stop the web interface if it is running', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/index.ts:87-89 (registration)Registers the 'stop_web_monitor' tool (via webMonitorTools) in the ListTools response.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [...tools, ...webMonitorTools], }));
- src/web-monitor-manager.ts:115-123 (helper)WebMonitorManager.stop() method: kills the web server process and updates status.stop(): { message: string } { if (this.webServerProcess) { this.webServerProcess.kill('SIGTERM'); this.webServerProcess = null; this.isRunning = false; return { message: 'Web monitor stopped successfully' }; } return { message: 'Web monitor was not running' }; }