Skip to main content
Glama
andreahaku
by andreahaku

simulator.log_stream.stop

Stop streaming system logs from the iOS Simulator to monitor and debug Expo/React Native applications during development.

Instructions

Stop streaming simulator system logs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core implementation of stopLogStream(): kills the log stream process (execa 'xcrun simctl spawn booted log stream') if running, updates state variables.
    export async function stopLogStream(): Promise<void> { logger.info("simulator", "Stopping simulator log stream"); if (!logStreamProcess) { logger.info("simulator", "No log stream is running"); return; } logStreamProcess.kill("SIGTERM"); logStreamProcess = null; isStreaming = false; logger.info("simulator", "Simulator log stream stopped"); }
  • MCP tool registration for 'simulator.log_stream.stop': thin wrapper around stopLogStream() with MCP response formatting and error handling.
    server.tool( "simulator.log_stream.stop", "Stop streaming simulator system logs", {}, async () => { try { await stopLogStream(); return { content: [ { type: "text", text: JSON.stringify({ success: true, message: "Log stream stopped" }), }, ], }; } catch (error) { return handleToolError(error); } } );

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/andreahaku/expo_ios_development_mcp'

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