Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Beschreibung vom Entwickler (englisches Original)
Render SwiftUI #Preview as PNG images, so an AI agent sees the views it changes
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Die .mcpb-Datei des Entwicklers herunterladen
Der Link führt zur Datei des Entwicklers selbst; wir hosten sie nicht und verpacken sie nicht neu. Öffne die Datei, dann installiert Claude Desktop sie.
Führe das in deinem Terminal aus
Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 6. Nov. 2026
Der Registry-Name wurde mit dem GitHub-Konto BarredEwe bestätigt, dem das Repo gehört
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (6.6.0) kam vor 6 Tagen in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du MCPB auf deinem Computer.
In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, Symantec Cloud DLP AIops
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Governed Symantec Cloud DLP — 14 MCP tools, read-only with audit.
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
Quick Start · Installation · Usage · AI agents · Configuration · Docs · Website
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, thenclaude mcp add prefire -- prefire mcpin your project. The agent renders SwiftUI previews on any iPhone or iPad, light or dark, without Xcode Previews. Setup →
#Preview, @Previewableprefire render and an MCP serverUIView/UIViewController and NSView/NSViewController📦 Example project available at: Prefire Example
// 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") ] )
#Preview#Preview {
Button("Submit") }
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.
| Method | How |
|---|---|
| SPM Plugin | PrefireTestsPlugin / PrefirePlaybookPlugin in Package.swift |
| Xcode Build Tool Plugin | Add PrefireTestsPlugin to the test target's build phases |
| CLI | brew install barredewe/prefire/prefire |
| Mint (*Beta*) | mint install BarredEwe/Prefire |
| GitHub Actions / CI | Any of the above, see Troubleshooting |
Step-by-step setup is in the Installation guide.
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() }
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.
Show all previews as an interactive catalog with PlaybookView:
isComponent: true lists all the ViewsisComponent: false groups them by UserStoryimport 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.
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) }
If a preview contains more than one View, mark the State of each:
static var previews: some View {
TestView("Default")
TestView("Loading") .previewState(.loading) }
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)") }
| Feature | Modifier |
|---|---|
| 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) |
# Generate snapshot tests
prefire tests
prefire playbook
Run prefire tests --help or prefire playbook --help for more options.
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
prefire board
Add the MCP server to your agent, from the folder with .prefire.yml:
| Agent | Install |
|---|---|
| Claude Code | claude mcp add prefire -- prefire mcp, or the plugin with a skill: /plugin marketplace add BarredEwe/Prefire then /plugin install prefire@prefire |
| Cursor | |
| Codex | codex mcp add prefire -- prefire mcp |
| VS Code | code --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.
.prefire.ymltest_configuration:
target: MyApp
playbook_configuration: preview_default_enabled: true
All options are in the Configuration guide. To change the generated code, see Templates.
#Preview and PreviewProvider blocks and the .prefireEnabled() / .prefireIgnored() modifiersStencil templates, respecting .prefire.ymlUserStory and State into PreviewModels.generated.swiftNur der Anfang wird gezeigt; den Rest findest du im Repo