Skip to content

Instantly share code, notes, and snippets.

View igor-makarov's full-sized avatar
🚌
Hi, I'm using GitHub!

Igor Makarov igor-makarov

🚌
Hi, I'm using GitHub!
View GitHub Profile
@igor-makarov
igor-makarov / README.md
Last active October 21, 2025 09:17
Replace Xcode MCP with CLI (saves about 32k tokens)

Replace Xcode MCP with CLI (saves about 32k tokens)

There are two files:

  • xcodebuild - the script that the agent is expected to run
  • building-with-xcode.md - the instructions given to the agent, i.e. in CLAUDE.md
@igor-makarov
igor-makarov / hook_allow_mcp.js
Created February 10, 2026 12:12
Auto-approve annoying Xcode 26.3 MCP prompts
#!/usr/bin/env osascript -l JavaScript
// Find and approve any MCP agent access dialogs in Xcode.
function run() {
var se = Application("System Events");
try { se.processes.byName("Xcode").name(); } catch (e) { return "Xcode not running."; }
var count = 0;
var windows = se.processes.byName("Xcode").windows();