apple-log-mcp
Provides tools for accessing and managing Apple platform logs (console, unified, diagnostic) from Apple devices and simulators.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@apple-log-mcpstart live logs for the booted iPhone simulator"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
apple-log-mcp
Local MCP server for Apple platform console, unified, and diagnostic logs.
Install
git clone https://github.com/BBC6BAE9/apple-log-mcp.git "$HOME/.local/share/apple-log-mcp"
cd "$HOME/.local/share/apple-log-mcp"
npm install
npm run buildRelated MCP server: xcforge
Codex config
Add this to ~/.codex/config.toml.
[mcp_servers.apple_log]
command = "/bin/zsh"
args = ["-lc", "node \"$HOME/.local/share/apple-log-mcp/dist/index.js\""]
startup_timeout_sec = 30Restart Codex after changing the config.
Claude Desktop config
Add this to your MCP config JSON.
{
"mcpServers": {
"apple_log": {
"command": "/bin/zsh",
"args": ["-lc", "node \"$HOME/.local/share/apple-log-mcp/dist/index.js\""]
}
}
}Tools
apple_list_devices: list physical and simulated Apple devices.apple_start_live_logs: start a live capture session.apple_read_live_logs: read recent or incremental log lines.apple_stop_live_logs: stop a capture session.apple_list_log_sessions: list active sessions.
Example
Start live logs for a simulator:
{
"target": "simulator",
"device": "booted",
"bundleId": "com.example.app",
"streams": ["console", "unified"],
"terminateExisting": true
}Then read logs:
{
"sessionId": "<session id from apple_start_live_logs>",
"limit": 200
}Notes
Swift
print()is stdout. To capture it reliably, start the app through this MCP.Objective-C
NSLog,os_log, and SwiftLoggerusually go through Apple unified logging.The MCP does not expose a raw shell. It wraps
xcrun devicectl,xcrun simctl, andlog.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/BBC6BAE9/apple-log-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server