프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Prefire

제작자: BarredEwe버전 6.6.0i★ 534i내 컴퓨터에서 실행
레지스트리 이름io.github.BarredEwe/prefire

설치 방법

개요

제작자가 쓴 설명(영어 원문)

Render SwiftUI #Preview as PNG images, so an AI agent sees the views it changes

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 디자인, 이미지 및 오디오

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 3/3 통과 · 내 컴퓨터에서 실행돼요

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

  1. 제작자 설치 파일 내려받기

    제작자의 .mcpb 파일 다운로드

    .mcpb 파일은 제작자에게서 바로 온 것으로, 우리는 바꾸지 않았어요

  2. 파일을 두 번 클릭한 뒤 컴퓨터용 Claude 앱에서 Install 누르기

  3. 해 보기

    Prefire을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Prefire을 쓰고 있다고 하거나 답에 Prefire 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Prefire에 연결할 수 없어요

Prefire는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · Prefire에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

B · 디자인, 이미지 및 오디오에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code는 아직 Prefire에 연결할 수 없어요

제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요

대신 이렇게 할 수 있어요

A · Prefire에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

Cursor는 아직 Prefire에 연결할 수 없어요

제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요

대신 이렇게 할 수 있어요

A · Prefire에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

VS Code는 아직 Prefire에 연결할 수 없어요

제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요

대신 이렇게 할 수 있어요

A · Prefire에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Prefire을 쓰는 사람에게 물어보세요💬 토론 →

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
라이선스i
Apache-2.0
연결 방식
내 컴퓨터에서 실행
최신 버전i
6.6.0
레지스트리 공개i
2026년 10월 31일
코드 마지막 변경i
2026년 10월 31일
제작자
BarredEwe
패키지
mcpb: https://github.com/BarredEwe/Prefire/releases/download/6.6.0
웹사이트
github.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 11일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 BarredEwe 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 11일 전

  • ✓ 통과

    라이선스 있음

    Apache-2.0 사용

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

디자인, 이미지 및 오디오 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 2911개 중 99%보다 스타가 많아요
  • 이 카테고리의 다른 서버 2911개 중 75%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 2911개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Prefire, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 11일 전 변경됐고, 최신 버전(6.6.0)은 11일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 MCPB도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Next AI Draw.io, Pascal 3D Editor, screenpipe

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

제작자: DayuanJiang널리 사용됨↓ 2.2만/주★ 3.7만4일 전 업데이트

내 컴퓨터에서 실행

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

제작자: pascalorg널리 사용됨↓ 1천/주★ 2.5만어제 업데이트

컴퓨터 또는 클라우드✓ pascal.app

screenpipe

Search your local screen recordings, audio transcripts, and computer activity from screenpipe.

제작자: screenpipe널리 사용됨↓ 6.6천/주★ 2.2만8일 전 업데이트

내 컴퓨터에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Quick Start · Installation · Usage · AI agents · Configuration · Docs · Website

🔥 What is Prefire?

Your previews are already tests. Prefire turns the #Preview blocks you write anyway into snapshot tests, a Playbook catalog and images your AI agent can see. You don't write a line of test code.

📸 Snapshot tests Every preview becomes a snapshot test on the devices you pick. A changed padding fails the build, not the release.

How it works →

📚 Playbook A catalog of every component and user story inside your app, with their states and render times.

See Playbook →

🤖 Renders for AI agents Claude Code, Cursor and Codex render your previews through an MCP server and see the UI they just changed.

Set up →

🤖 Using an AI agent? brew install barredewe/prefire/prefire, then claude mcp add prefire -- prefire mcp in your project. The agent renders SwiftUI previews on any iPhone or iPad, light or dark, without Xcode Previews. Setup →

🚀 Key Features

  • 🧠 Smart Preview Parsing — including #Preview, @Previewable
  • 📸 Snapshot Testing — automatic test generation from previews (iOS, tvOS, macOS)
  • 📚 Playbook View — auto-generated interactive component catalog (iOS)
  • 🏃 Flow-aware — build user stories from multiple preview steps
  • 🤖 AI-ready — render previews to PNG for agents with prefire render and an MCP server
  • 🧩 UIKit + AppKit Support — support for UIView/UIViewController and NSView/NSViewController
  • ⚙️ SPM + Xcode Plugins — works in CLI, Xcode build phases, or CI
  • 🧠 Fast Caching — fingerprint-based AST and body caching avoids redundant work
  • ✍️ Stencil Templates — customize output with your own templates
Why Prefire?
  • 🔥 No second set of UI states. Tests come from the previews you already keep up to date.
  • 🔥 Regressions fail CI. Snapshots are compared on every run, on every device you list.
  • 🔥 Designers and QA see every state. Playbook shows components and user stories on a device.
  • 🔥 Agents check their own UI work. They render the previews they changed before calling a task done.

⚡ Quick Start

📦 Example project available at: Prefire Example

1. Add Prefire to Your Project
// Package.swift

dependencies: [ .package(url: "https://github.com/BarredEwe/Prefire.git", from: "6.3.0"), .package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.18.0"), ], .testTarget( dependencies: [ .product(name: "Prefire", package: "Prefire"), .product(name: "SnapshotTesting", package: "swift-snapshot-testing"), ], plugins: [ .plugin(name: "PrefireTestsPlugin", package: "Prefire") ] )

2. Write #Preview
#Preview {

Button("Submit") }

3. Run tests

Just run the test target 🚀 — Prefire will auto-generate snapshots based on your previews.

💡 If your test target is empty, Prefire will still generate files and snapshot code during build.


📦 Installation

MethodHow
SPM PluginPrefireTestsPlugin / PrefirePlaybookPlugin in Package.swift
Xcode Build Tool PluginAdd PrefireTestsPlugin to the test target's build phases
CLIbrew install barredewe/prefire/prefire
Mint (*Beta*)mint install BarredEwe/Prefire
GitHub Actions / CIAny of the above, see Troubleshooting

Step-by-step setup is in the Installation guide.

Requirements
  • Swift 6.0 or higher
  • Xcode 16.0 or higher
  • iOS 14 or higher; macOS 13 or higher (macOS: snapshot tests only, see Configuration)

🛠 Usage

Choose previews

Prefire finds every `#Preview` automatically. For PreviewProvider, add the PrefireProvider protocol:

struct Text_Previews: PreviewProvider, PrefireProvider {

static var previews: some View { ... } }

Exclude a preview with .prefireIgnored():

#Preview {

Text("") .prefireIgnored() }

To opt in instead of opting out, set preview_default_enabled: false in .prefire.yml and mark the previews you want with .prefireEnabled():

#Preview {

Text("") .prefireEnabled() }

Snapshot tests

PrefireTestsPlugin generates the tests into the DerivedData folder when the test target builds. Run the test target as usual.

Tune the timing and precision of a single snapshot:

#Preview {

TestView() .snapshot(delay: 0.3, precision: 0.95, perceptualPrecision: 0.98) }

For previews that load or animate, wait instead of guessing a delay:

.snapshot(waitForIdle: true)                     // until nothing changes on screen

.snapshot(waitUntil: { viewModel.isLoaded }) // until a condition is true

How waiting works, its limits and how the modifiers combine: Snapshot timing and precision.

Snapshots are compared with swift-snapshot-testing.

Playbook (Demo) View

Show all previews as an interactive catalog with PlaybookView:

  • isComponent: true lists all the Views
  • isComponent: false groups them by UserStory
import Prefire 

struct ContentView: View { var body: some View { PlaybookView(isComponent: true, previewModels: PreviewModels.models) } }

To keep previews and PreviewModels out of release builds, see Excluding previews from release builds.

Flows

Connect previews into one Flow with .previewUserStory. Playbook shows them together, in order:

static var previews: some View {

PrefireView() .previewUserStory(.auth) }

static var previews: some View { AuthView() .previewUserStory(.auth) }

States

If a preview contains more than one View, mark the State of each:

static var previews: some View {

TestView("Default")

TestView("Loading") .previewState(.loading) }

Parameterized previews

Prefire expands each argument of a native SwiftUI parameterized preview into its own snapshot and Playbook preview:

#Preview("TextView", traits: .sizeThatFitsLayout, arguments: ["- A", "- B", "- C"]) { suffix in

Text("1 \(suffix)") }


🧰 API

FeatureModifier
Include in snapshot.prefireEnabled()
Exclude from snapshot.prefireIgnored()
Group in a flow.previewUserStory(.auth)
Mark a UI state.previewState(.error)
Customize snapshot.snapshot(delay: 0.3, precision: 0.95)
Wait until the preview settles.snapshot(waitForIdle: true, timeout: 2.0)
Wait for a condition.snapshot(waitUntil: { viewModel.isLoaded })
Parameterized preview#Preview(..., arguments: values)

💡 CLI Usage

# Generate snapshot tests

prefire tests

Generate playbook models

prefire playbook

Run prefire tests --help or prefire playbook --help for more options.


🤖 Let AI agents see SwiftUI

Prefire renders previews in its snapshot tests, built anew and on the devices you choose, so it can show them to an AI agent as images, which Xcode Previews can't do reliably outside Xcode.

# Render previews to PNG + JSON

prefire render "Sign in" --device "iPhone 16 Pro" --color-scheme dark

An HTML board of the last render, grouped by user story

prefire board

Add the MCP server to your agent, from the folder with .prefire.yml:

AgentInstall
Claude Codeclaude mcp add prefire -- prefire mcp, or the plugin with a skill: /plugin marketplace add BarredEwe/Prefire then /plugin install prefire@prefire
Cursor
Codexcodex mcp add prefire -- prefire mcp
VS Codecode --add-mcp '{"name":"prefire","command":"prefire","args":["mcp"]}'

An agent then calls list_previews, render_previews and build_board. Set the scheme to build in render_configuration of .prefire.yml; see the AI guide. Why not Xcode's own RenderPreview? Prefire needs no running Xcode, renders many previews in one build, on the devices, color scheme and Dynamic Type you ask for, and works in CI.


🗂 Configuration: .prefire.yml

test_configuration:

target: MyApp

playbook_configuration: preview_default_enabled: true

All options are in the Configuration guide. To change the generated code, see Templates.


🧠 How It Works

  1. 🔍 Parses all source files — finds #Preview and PreviewProvider blocks and the .prefireEnabled() / .prefireIgnored() modifiers
  2. 📂 Caches `Types` and `PreviewBodies` — keyed by file modification date + SHA-256 of inputs, so nothing is re-parsed if nothing changed
  3. 🔢 Generates snapshot tests — from Stencil templates, respecting .prefire.yml
  4. 📘 Generates Playbook models — groups by UserStory and State into PreviewModels.generated.swift

🩺

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요