xcode-mods
Shows Xcode build and test results and SwiftUI previews next to your prompt. A Claude Code plugin that uses Xcode's MCP server.
View on GitHub ↗- Stars
- ★ 29
- Last commit
- 14 Oct 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- Xcode & IDE
- GitHub
- artemnovichkov/xcode-mods
Overview
xcode-mods by Artem Novichkov is a Claude Code plugin that adds Xcode-style panes to Claude Code. You can build, run tests, run the app with a live console and render SwiftUI previews from inside Claude Code, using Xcode's own headless MCP server. A toolbar band shows the scheme and destination like Xcode does.
Features
- /build, /tests, /run and /stop commands
- Live build progress with errors and warnings
- Tests grouped by target and suite with failures first
- Streams the app's stdout and OSLog while it runs
- /preview renders a #Preview into a Canvas pane and keeps the last 10 snapshots
- Notifications when an action finishes
Requirements
- Xcode 27 or later with the MCP server in headless mode
- Claude Code 2.1.286 or later
- A terminal with the kitty graphics protocol (such as Ghostty) or the Claude desktop app to see previews
Install
Turn on Xcode's headless MCP server and add it to Claude Code as xcode
sudo xcrun mcp-server enable claude mcp add --scope user xcode -- xcrun mcpbridgeAllow mcp__xcode in ~/.claude/settings.json, then install the plugin
/plugin marketplace add artemnovichkov/xcode-mods /plugin install xcode-mods@xcode-mods
Example
Run /preview ContentView.swift to see your SwiftUI preview inside Claude Code while the agent edits the view.
Works with
Listed in
- github.com/artemnovichkov/xcode-mods
- raw.githubusercontent.com/artemnovichkov/xcode-mods/HEAD/README.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
Copilot for Xcode (intitni)
Open-source Xcode extension that brings GitHub Copilot and chat-model features into Xcode.
Copilot for Xcode (GitHub)
GitHub's official Copilot extension for Xcode, with completions, agent mode and code review.
XcodePaI
Mac app and Xcode extension that connects OpenAI-compatible model providers to Xcode's coding assistant, adding an agent mode and completions.