Skip to main content
Glama

MCP Xcode

by Stefan-Nitu

get_device_logs

Retrieve detailed logs from iOS, macOS, tvOS, watchOS, or visionOS simulators. Filter logs by device ID, time interval, or custom predicate for efficient debugging and testing within Xcode workflows.

Instructions

Get device logs from the simulator

Input Schema

NameRequiredDescriptionDefault
deviceIdNoDevice UDID or name of the simulator (optional, uses booted device if not specified)
lastNoTime interval for logs (e.g., "1m", "5m", "1h")5m
predicateNoLog filter predicate (optional)

Input Schema (JSON Schema)

{ "properties": { "deviceId": { "description": "Device UDID or name of the simulator (optional, uses booted device if not specified)", "type": "string" }, "last": { "default": "5m", "description": "Time interval for logs (e.g., \"1m\", \"5m\", \"1h\")", "type": "string" }, "predicate": { "description": "Log filter predicate (optional)", "type": "string" } }, "type": "object" }

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/Stefan-Nitu/mcp-xcode'

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