Logo: Ios Mcp Routing

Ios Mcp Routing

Communautéit
andreev-danila
ios-mcp-routing

Leet d'Aarbecht vun engem Apple/iOS-KI-Agent tëscht Argent MCP an XcodeBuildMCP ëm (a wéini béid an enger Sessioun kombinéiert solle ginn). Benotzt dës Skill, wann Dir Tools fir Build, Kompiléieren, Testen, Ausféieren, Installéieren, Starten, Simulatorsteierung, UI-Automatiséierung, Screenshots, QA, LLDB-Debugging, Logbicher, Berechtegungen, Profiling, e physescht Gerät, macOS, Android, Chromium oder TV auswielt, oder wann déi zwee MCP-Server verfügbar sinn an de KI-Agent de falschen auswiele kéint. Ausléiser: "which tool", "Argent or XcodeBuild", "XcodeBuildMCP", Build an duerno UI iwwerpréiwen, Kompiléierungsfeeler behiewen an duerno QA, um Simulator lafen, XCTest, snapshot_ui vs describe. Slash: /ios-mcp-routing

Iwwersiicht

Editeurandreev-danila
Repositoryskills
Skill-Nummios-mcp-routing
Stären
24
Forks
0
Matgeliwwert Dateien
1
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    andreev-danila huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ios Mcp Routing an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/andreev-danila/skills/tree/main/skills/ios-mcp-routing
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreev-danila/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/ios-mcp-routing .claude/skills/ios-mcp-routing
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ios Mcp Routing an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ios Mcp Routing automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ios Mcp Routing net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

iOS MCP routing (Argent vs XcodeBuildMCP)

Decide the primary tool by task class. Prefer one owner per phase. Combine only at clean handoff points (usually: XcodeBuildMCP builds → Argent verifies).

0. Availability check (once per session)

  1. XcodeBuildMCP — MCP tools present (XcodeBuildMCP__*) and/or command -v xcodebuildmcp.
  2. Argent — MCP tools present (argent__*) and/or command -v argent.
  3. If only one is available, use it within its strengths; do not invent the missing one.
  4. If neither is available, fall back to shell (xcodebuild, xcrun simctl, adb) and say so.

Load this skill before defaulting to either stack for Apple platform work.

1. One-line rule

NeedPrimary
Compile, scheme/test, LLDB, coverage, project/schemes, macOS, physical iOS device buildXcodeBuildMCP
Drive UI, QA, screenshots/diff, permissions, flows, multi-platform (Android/Chromium/TV), RN runtime inspect, native perf tracesArgent
"Change code → build → prove the UI"Both (XcodeBuildMCP then Argent)

2. Decision tree

What is the bottleneck / goal?
│
├─ Does it need a successful Xcode/SwiftPM build or XCTest run?
│  └─ YES → XcodeBuildMCP (session defaults → build / test / build_run_sim)
│
├─ Is the app already installed and the task is "use / verify the product"?
│  └─ YES → Argent (list-devices → launch-app → describe → interact)
│
├─ Compile/link/signing failure?
│  └─ XcodeBuildMCP only (fix build; do not start Argent UI loops)
│
├─ Runtime crash / wrong UI / flow / visual regression?
│  └─ Prefer Argent for interaction + evidence
│     (optional: XcodeBuildMCP log capture / LLDB if you need native stack)
│
├─ Android, Chromium/Electron, Fire TV / Apple TV remote, RN Metro inspect?
│  └─ Argent only (XcodeBuildMCP does not own these)
│
└─ Physical iOS device install/run/test, or macOS app?
   └─ XcodeBuildMCP (Argent iOS path is simulator-first)

3. Capability map (what each owns)

XcodeBuildMCP — build system + Apple toolchain

Owns:

  • Project discovery: discover_projs, list_schemes, show_build_settings
  • Session defaults: session_show_defaults / session_set_defaults (required before first build/run/test)
  • Simulator: build, build_run_sim, test_sim, install_app_sim, launch_app_sim, stop_app_sim, boot_sim, open_sim, list_sims
  • Clean / app path / bundle id extraction
  • Physical device and macOS build/run/test
  • SwiftPM build/test/run
  • LLDB: attach, breakpoints, stack, variables, continue/detach
  • Code coverage from xcresult
  • Sim management extras: erase, location, appearance, status bar, video record
  • Built-in UI automation via elementRef (snapshot_ui → tap / type_text / swipe / wait_for_ui / batch)

Does not own (or is weak for):

  • Android / Chromium / Vega
  • Permission grant/deny/reset without Settings UI
  • Screenshot pixel-diff workflows, record/replay flows
  • React Native Metro component tree / JS eval
  • Native Instruments/Perfetto-style profiling pipelines Argent provides
  • Cross-app system AX for arbitrary foreground content as rich as Argent describe (Argent is preferred for agent QA loops)

Mandatory session habit: before first build/run/test call, session_show_defaults. If project/scheme/simulator missing, set them. Prefer build_run_sim over separate build+install+launch unless you need a compile-only check.

Argent — device runtime, interaction, QA

Owns:

  • Multi-platform device inventory: list-devices (iOS sim, Android emu/device, Chromium CDP, Vega)
  • Boot/launch/restart/reinstall: boot-device, launch-app, restart-app, reinstall-app
  • Discovery: describe (AX/DOM), native-describe-screen (iOS UIKit), RN debugger-component-tree
  • Interaction: gestures, keyboard (incl. secret placeholders), hardware buttons, deep links (open-url)
  • Waiting: await-ui-element, await-screen-idle
  • Evidence: screenshot, screenshot-diff
  • Setup: settings-permissions
  • Automation reuse: flow record/execute (.argent/flows/)
  • Profiling: native profiler (+ RN profiler when RN)
  • TV: tv-remote + focus-oriented describe

Does not own:

  • Xcode scheme builds, clean, XCTest orchestration, coverage reports
  • LLDB source-level debugging of native binaries
  • Guaranteed physical-iOS parity (treat Argent iOS as simulator-first)
  • Replacing pnpm ios:prepare / XcodeGen / Fastlane release pipelines

Mandatory interaction habit: never guess tap coordinates from a screenshot alone — always discover (describe / native / RN tree) first. Prefer launch-app over home-screen icon taps.

Overlap zone (pick one primary)

Both can: boot a sim, launch an installed app, screenshot, basic tap/type.

Overlap taskPreferWhy
Build + install + first launch after code changeXcodeBuildMCP build_run_simCompiles; Argent cannot build
Re-launch already installed app for QAArgent launch-app / restart-appFaster; native-devtools prep on iOS
UI exploration / multi-step QAArgentRicher discovery, waits, diffs, flows, multi-platform
Quick elementRef taps right after an XcodeBuildMCP runXcodeBuildMCP UI tools OK for short checksSame stack; avoid thrashing
Long QA, visual regression, permissions, RN/AndroidArgentSpecialty tools
XCTest / unit/UI test targetsXcodeBuildMCP test_sim / device testReal test runner
Manual agent "click through the app"ArgentDesigned agent loop

Do not interleave Argent gestures and XcodeBuildMCP snapshot_ui/tap on the same screen without a deliberate refresh — elementRefs and coordinate spaces are stack-specific. Finish one automation style, then switch only at a stable boundary (e.g. after navigation settle).

4. When to combine in one session

Pattern A — implement → build → UI verify (most common)

  1. Edit code.
  2. XcodeBuildMCP: session_show_defaults → fix defaults → build_run_sim (or build if install not needed).
  3. On build failure: stay on XcodeBuildMCP until green. Do not open Argent yet.
  4. On success: note simulator UDID/name and bundle id from defaults / get_app_bundle_id.
  5. Argent: list-devices → same UDID → describe / interact / screenshot / optional screenshot-diff.
  6. If UI wrong → fix code → return to step 2 (rebuild). If only JS/web content in a hybrid shell and no native rebuild needed, relaunch/reload as the project requires, then Argent again.

Pattern B — compile-only gate, then manual QA later

  1. XcodeBuildMCP build (simulator, no launch).
  2. Later Argent session for QA against an already-installed build (or reinstall via Argent reinstall-app using get_sim_app_path / known .app path).

Pattern C — crash / native bug

  1. Reproduce with Argent (or XcodeBuildMCP UI) to get to the crash.
  2. Attach XcodeBuildMCP LLDB (debug_attach_sim, breakpoints, stack, variables).
  3. After fix: XcodeBuildMCP rebuild; Argent re-verify the flow.

Pattern D — test suite + exploratory QA

  1. XcodeBuildMCP test_sim for automated tests / coverage.
  2. Argent for scenarios tests do not cover (permissions matrix, visual diff, multi-step product flows).

Pattern E — hybrid monorepo (native host + web/miniapps)

  1. Native host changes → XcodeBuildMCP build/run.
  2. In-app UX / miniapp surface → Argent describe + screenshots (WKWebView content may be sparse in AX; use screenshot + careful discovery).
  3. Pure web package work → not these tools (web browser tooling / project web scripts).

5. Shared identifiers (handoff contract)

When combining tools, pass these explicitly between phases:

TokenSourceConsumers
Simulator UDIDXcodeBuildMCP defaults / list_sims; Argent list-devicesAll launch/interact tools
Scheme + configurationXcodeBuildMCP defaultsRebuilds
Bundle IDproject / get_app_bundle_id / session bundleIdArgent launch-app, permissions, reinstall
.app pathXcodeBuildMCP get_sim_app_pathArgent reinstall-app after clean install needs
Log file pathXcodeBuildMCP launch/build_run responsesCrash diagnosis

Prefer one booted simulator for the whole session. If XcodeBuildMCP boots sim A and Argent boots sim B, launches and UI state diverge.

6. Anti-patterns

  1. Argent for compile errors — it will not fix or surface xcodebuild diagnostics; use XcodeBuildMCP.
  2. XcodeBuildMCP as the only tool for multi-step product QA when Argent is available — weaker flows, no screenshot-diff/permissions/Android.
  3. Building with raw xcodebuild/simctl when XcodeBuildMCP is connected — prefer MCP session defaults (skill: xcodebuildmcp-cli).
  4. Tapping from screenshots with either stack when a discovery API exists.
  5. Starting Argent UI work before the new binary is installed after native code changes — rebuild first.
  6. Assuming the repo is React Native because Argent has RN skills — detect project type; native-only hosts skip Metro/debugger-component-tree.
  7. Mixing elementRef taps and Argent coordinate taps mid-flow without re-discovering.
  8. Physical device QA defaulting to Argent — use XcodeBuildMCP device workflow unless Argent explicitly supports the target in this environment.

7. Suggested skill handoff

After choosing the primary tool, load the specialized skill (do not re-encode their full procedures here):

SituationNext skill
XcodeBuildMCP usage / CLI discoveryxcodebuildmcp-cli
Argent iOS sim bootargent-ios-simulator-setup
Argent taps/gestures/screenshotsargent-device-interact
Agent QA loopsargent-test-ui-flow
Visual regressionargent-screenshot-diff
Permissions without Settings UIargent-settings-permissions
Record/replayargent-create-flow
Native perfargent-native-profiler
RN (only if project is RN)argent-react-native-app-workflow, argent-metro-debugger
Android / TVargent-android-emulator-setup, argent-tv-interact

8. Quick recipes

"Build the iOS app"

XcodeBuildMCP only → defaults → build or build_run_sim.

"Is the new button on screen / does the menu work?"

If binary current: Argent only. If you just changed native UI code: XcodeBuildMCP build_run_sim, then Argent QA.

"XCTest failed"

XcodeBuildMCP test_sim (and logs/coverage). Use Argent only if you need to reproduce a manual path the test does not cover.

"Need Android or webview Electron too"

Argent. XcodeBuildMCP is out of scope.

"LLDB breakpoint in Swift"

XcodeBuildMCP debugging workflow. Argent does not replace LLDB.

9. Exit criteria

Before acting, state (internally or briefly to the user when ambiguous):

  1. Primary tool for this step: Argent | XcodeBuildMCP | both (ordered).
  2. Why (one sentence from the decision tree).
  3. Handoff tokens if both: UDID, bundle id, scheme.
  4. Specialized skill loaded next.

If the user already named a tool, honor that unless it is impossible (e.g. "Argent build my scheme" → explain and use XcodeBuildMCP for build).

References

  • Capability detail and edge cases: references/capability-matrix.md

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ios Mcp Routing?

Leet d'Aarbecht vun engem Apple/iOS-KI-Agent tëscht Argent MCP an XcodeBuildMCP ëm (a wéini béid an enger Sessioun kombinéiert solle ginn). Benotzt dës Skill, wann Dir Tools fir Build, Kompiléieren, Testen, Ausféieren, Installéieren, Starten, Simulatorsteierung, UI-Automatiséierung, Screenshots, QA, LLDB-Debugging, Logbicher, Berechtegungen, Profiling, e physescht Gerät, macOS, Android, Chromium oder TV auswielt, oder wann déi zwee MCP-Server verfügbar sinn an de KI-Agent de falschen auswiele kéint. Ausléiser: "which tool", "Argent or XcodeBuild", "XcodeBuildMCP", Build an duerno UI iwwerpr...

Firwat Ios Mcp Routing op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ios Mcp Routing besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ios Mcp Routing an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/andreev-danila/skills/tree/main/skills/ios-mcp-routing an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ios Mcp Routing benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ios Mcp Routing benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ios Mcp Routing domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ios Mcp Routing gratis?

andreev-danila huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇