Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

axiom-xcode-mcp-ref

БесплатноБез исполняемых скриптовНе проверен

Reference — all 20 Xcode MCP tools with parameters, return schemas, and examples

ComeOnOliverот ComeOnOliver★ 67 звёзд на GitHub

Об этом скилле

Xcode MCP Tool Reference

Complete reference for all 20 tools exposed by Xcode's MCP server (xcrun mcpbridge).

Important: Parameter schemas below are sourced from blog research and initial testing. Validate against your live mcpbridge with tools/list if behavior differs.

Discovery

XcodeListWindows

Call this first. Returns open Xcode windows with tabIdentifier values needed by most other tools.

  • Parameters: None
  • Returns: List of { tabIdentifier: string, workspacePath: string }
  • Notes: No parameters needed. If empty, no project is open in Xcode.
XcodeListWindows()
→ { "tabIdentifier": "abc-123", "workspacePath": "/Users/dev/MyApp.xcodeproj" }

File Operations

XcodeRead

Read file contents from the project.

  • Parameters:
    • path (string, required) — File path relative to project or absolute
  • Returns: File contents as string
  • Notes: Sees Xcode's project view including generated files and resolved SPM packages

XcodeWrite

Create a new file.

  • Parameters:
    • path (string, required) — File path
    • content (string, required) — File contents
  • Returns: Write confirmation
  • Notes: Creates the file but does NOT add it to Xcode targets automatically. Use XcodeUpdate for existing files.

XcodeUpdate

Edit an existing file with str_replace-style patches.

  • Parameters:
    • path (string, required) — File path
    • patches (array, required) — Array of { oldText: string, newText: string } replacements
  • Returns: Update confirmation
  • Notes: Preferred over XcodeWrite for editing existing files. Each patch must match exactly one location in the file.

XcodeGlob

Find files matching a pattern.

  • Parameters:
    • pattern (string, required) — Glob pattern (e.g., **/*.swift)
  • Returns: Array of matching file paths
  • Notes: Searches within the Xcode project scope

XcodeGrep

Search file contents for a string or pattern.

  • Parameters:
    • query (string, required) — Search term or pattern
    • scope (string, optional) — Limit search to specific directory/file
  • Returns: Array of matches with file paths and line numbers
  • Notes: Returns structured results, not raw grep output

XcodeLS

List directory contents.

  • Parameters:
    • path (string, required) — Directory path
  • Returns: Array of entries (files and subdirectories)

XcodeMakeDir

Create a directory.

  • Parameters:
    • path (string, required) — Directory path to create
  • Returns: Creation confirmation
  • Notes: Creates intermediate directories as needed

XcodeRM

Delete a file or directory. DESTRUCTIVE.

  • Parameters:
    • path (string, required) — Path to delete
  • Returns: Deletion confirmation
  • Notes: Irreversible. Always confirm with the user before calling.

XcodeMV

Move or rename a file. DESTRUCTIVE.

  • Parameters:
    • sourcePath (string, required) — Current path
    • destinationPath (string, required) — New path
  • Returns: Move confirmation
  • Notes: May break imports and references. Confirm with user. Xcode may not automatically update references.

Build & Test

BuildProject

Build the Xcode project.

  • Parameters:
    • tabIdentifier (string, required) — From XcodeListWindows
  • Returns: { buildResult: string, elapsedTime: number, errors: array }
  • Notes: Builds the active scheme. Check buildResult for "succeeded" or "failed".

GetBuildLog

Retrieve build output after a build.

  • Parameters:
    • tabIdentifier (string, required)
  • Returns: Build log as string
  • Notes: Contains raw compiler output. For structured diagnostics, prefer XcodeListNavigatorIssues.

RunAllTests

Run the full test suite.

  • Parameters:
    • tabIdentifier (string, required)
  • Returns: Test results with pass/fail counts and failure details
  • Notes: Runs all tests in the active scheme's test plan. Use RunSomeTests for faster iteration.

RunSomeTests

Run specific test(s).

  • Parameters:
    • tabIdentifier (string, required)
    • tests (array of strings, required) — Test identifiers (e.g., ["MyTests/testLogin"])
  • Returns: Test results for the specified tests
  • Notes: Much faster than RunAllTests for iterative debugging. Use test identifiers from GetTestList.

GetTestList

List available tests.

  • Parameters:
    • tabIdentifier (string, required)
  • Returns: Array of test identifiers organized by test target/class
  • Notes: Use the returned identifiers with RunSomeTests.

Diagnostics

XcodeListNavigatorIssues

Get current issues from Xcode's Issue Navigator.

  • Parameters:
    • tabIdentifier (string, required)
  • Returns: Array of issues (errors, warnings, notes) with file paths and line numbers
  • Notes: Canonical source for diagnostics. Structured and deduplicated unlike raw build logs.

XcodeRefreshCodeIssuesInFile

Полный SKILL.md на GitHub

Установить axiom-xcode-mcp-ref в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл axiom-xcode-mcp-ref?

Reference — all 20 Xcode MCP tools with parameters, return schemas, and examples

Как установить скилл axiom-xcode-mcp-ref?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл axiom-xcode-mcp-ref запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить axiom-xcode-mcp-ref с