Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Stitch Native

by rafaelcsan705version 0.7.2i★ 0iRuns on your computerRepository ↗

How to install

What it does

Convert Google Stitch screens (HTML + Tailwind) to SwiftUI, Jetpack Compose and HTML.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Web & browsers

Use together with

Skills that teach the AI this kind of work; they work alongside this one

last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

by mvanhorn★ 75,1131 skills

Skill · How-to guide

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6991 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6311 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Stitch Native. Follow https://mcp.popnx.com/i/rafaelcsan705-stitch-native.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 26, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Stitch Native for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "stitch-native": { "command": "uvx", "args": [ "stitch-native" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Stitch Native tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "stitch-native": {
          "command": "uvx",
          "args": [
            "stitch-native"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Stitch Native and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Stitch Native or shows a Stitch Native tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Stitch Native yet

Stitch Native runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Stitch Native

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Web & browsers that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Stitch Native for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user stitch-native -- uvx stitch-native 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Stitch Native tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user stitch-native -- uvx stitch-native
  4. Type /mcp in Claude Code

    You should see Stitch Native listed as connected

  5. Try it

    Use Stitch Native and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Stitch Native or shows a Stitch Native tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Stitch Native for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "stitch-native": { "command": "uvx", "args": [ "stitch-native" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Stitch Native tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Stitch Native and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Stitch Native or shows a Stitch Native tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Stitch Native for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "stitch-native": { "type": "stdio", "command": "uvx", "args": [ "stitch-native" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Stitch Native tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Stitch Native and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Stitch Native or shows a Stitch Native tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Stitch Native💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user stitch-native -- uvx stitch-native

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "stitch-native": {
      "command": "uvx",
      "args": [
        "stitch-native"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "stitch-native": {
      "command": "uvx",
      "args": [
        "stitch-native"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "stitch-native": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "stitch-native"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.rafaelcsan705/stitch-native
Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.7.2
Published to registryi
Nov 26, 2026
Code last changedi
Nov 26, 2026
Maker
rafaelcsan705
Packages
pypi: stitch-native
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account rafaelcsan705, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/rafaelcsan705-stitch-native.svg)](https://mcp.popnx.com/en/servers/rafaelcsan705-stitch-native)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Web & browsersi

  • More stars than 0% of the other 1796 servers in this category
  • Published to the registry more recently than 99% of the other 1796 servers in this category
  • Basic checks equal to or better than 99% of the other 1796 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Stitch Native safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (0.7.2) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Browser Use, changedetection.io (official), Apify, Pomerado, Actionbook

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Browser Use

Lets AI do web tasks for you, such as filling forms, searching and extracting data, in the maker’s cloud browsers or on your computer.

by browser-useWidely used↓ 1.7M/wk★ 122KUpdated 36 days ago

Connect now (has URL)7 tools · light✓ service owner · browser-use.com

Apify

Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡

by apifyWidely used★ 17.9KUpdated 2 days ago

Connect now (has URL) · sign-in✓ service owner · apify.com

Pomerado

Connect your agents to any website. The cheaper, faster and more reliable alternative to browser use

by PomeradoGrowing★ 1.8KUpdated 8 days ago

Connect now (has URL) · sign-in✓ service owner · pomerado.ai

Actionbook

Let your AI agent operate any website through a real, logged-in browser session.

by actionbookGrowing★ 1.6KUpdated 38 days ago

Connect now (has URL) · sign-in✓ service owner · actionbook.app
Compared with similar ones
This one
Stitch Native
Browser Usechangedetection.io (official)ApifyPomeradoActionbook
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoYesNoYesNoNo
Add with + in ClaudeNoYesNoNoNoNo
Basic checks3/35/53/34/44/44/4
LicenseMITMITApache-2.0MITMITApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

stitch-native Google Stitch screens → native SwiftUI , Jetpack Compose and plain HTML . CLI + MCP server.

Quick start

uvx stitch-native swiftui screen.html > Screen.swift

Add to your agent

ClientConfig
Claude Codeclaude mcp add stitch-native -- uvx --from stitch-native stitch-native-mcp
Claude Desktop / Cursor / VS Codesee JSON below
{ "mcpServers": { "stitch-native": {

"command": "uvx", "args": ["--from", "stitch-native", "stitch-native-mcp"] } } }

Tools: stitch_to_native, stitch_to_swiftui, stitch_to_compose, stitch_to_html, extract_tokens, stitch_to_ir, init_config (source: html, path or url). Prompt: convert_screen. Resources: token-map and IR docs.

How it works

Stitch HTML + tailwind.config  →  DOM  →  IR (JSON: box / text / icon / image + styles)  →  emitter
  1. Reads the Tailwind theme Stitch embeds (colors, spacing, borderRadius, fontFamily, fontSize).
  2. Resolves each element's classes into a small layout IR (row / column / grid, padding, gap, radius, borders, text styles).
  3. Emits SwiftUI, Compose or HTML. Colours that are not theme tokens are reported as off-token literals.

Usage

python3 stitch_native.py swiftui  screen.html --name MatchStatsView    > MatchStatsView.swift

python3 stitch_native.py compose screen.html --name MatchStatsScreen > MatchStatsScreen.kt python3 stitch_native.py tokens screen.html > StitchTheme.swift python3 stitch_native.py tokens-kotlin screen.html > StitchTheme.kt python3 stitch_native.py html screen.html --name MatchStats > MatchStats.html python3 stitch_native.py tokens-css screen.html > tokens.css python3 stitch_native.py ir screen.html > screen.ir.json

State mode: stateless screen + State struct/sample, keys, callbacks (no ViewModel)

python3 stitch_native.py swiftui fixtures/fornada-encomendas.html --name OrdersListView --mode state python3 stitch_native.py compose fixtures/fornada-encomendas.html --name OrdersListScreen --mode state

--mode state reads locale, timeZone, currency and key prefixes from stitch-native.json. Plug the screen into your own ViewModel/Coordinator: it only takes state and callbacks.

state.* config (all optional)
KeyWhat it does
brandTexts bound to state.brandName instead of being baked in
storeFieldField name for "Brand — Store" texts (default storeName)
prefix, keys, locale, renameKey prefix; source text or auto key → final L10n key; locale; rename a row struct or field ({"Order": "OrderRow", "orderRows": "orders"})
fieldsSemantic names. Key = source text, auto name (field2) or Item.name (Order.field1) → name
samplesSample value by final field name (Item.name for row fields; a list gives one value per row; prices take cents). Without it samples are neutral (Text 1, Store 1)
money{type, swiftSample, swiftFormat, kotlinType, kotlinSample, kotlinFormat}; {cents} is the sample amount, {v} the value expression. The Swift type must be Equatable (the state struct is). Without it: Int/Long cents plus a private money() helper
enums. cases (source texts), type, current, caseNames (list, or text → name; default case1…)
enums. .existingtrue = use the app's own enum: needs type (Swift), kotlinType, caseMap (source text → domain case), optional kotlinCaseMap (domain case → Kotlin name). Not declared; the tracker shows only the caseMap steps in cases order; the generated private helpers Steps, Rank, Title map cases to L10n keys. Two source texts mapped to one domain case are de-duplicated in the steps (first occurrence wins) and share a key
enums. .domainCasesEvery case of the app's enum, in order. Title then gets one L10n key per case and an exhaustive switch / when (no default), so a missing case fails to compile. Cases not in caseMap get a key whose text is derived from the case name. Without it the helper keeps a flagged default (first step's label). A case that is not a tracker step shows its own label in the status chip; in the tracker every step is pending and none is highlighted
detail{field, type, fields} for the active/detail struct (default active / Active ), or false to keep everything on the root. fields lists extra root fields (final names) to move into it, e.g. data bound outside the tracker/lines block; texts rendered outside that block are wrapped in their own if let active / ?.let { active -> }

An existing enum must be a plain case enum (Hashable, no payloads). The Swift generated code uses Order.Status-style names verbatim, so the row struct must not be called Order (it is renamed automatically).

Targets

A project declares its ecosystem with targets in stitch-native.json: any of swiftui, compose, html. Without it (and without a targets argument) the tools emit swiftui + compose, as before. Unknown names are an error that lists the valid ones.

python3 stitch_native.py init screen.html --targets swiftui,html   # writes only swiftui + html keys, stores targets
  • MCP stitch_to_native and init_config take a targets argument (it wins over the config). stitch_to_native emits only those targets and their theme files; init_config writes only their keys (an iOS-only project gets no iconsCompose and no output.compose) and never deletes existing entries.
  • Internally one registry (TARGETS in stitch_native.py: emitter, theme function, fence language, owned config keys) drives the CLI, MCP and init, so a new ecosystem is one registry entry plus its emitter.
  • Config discovery (MCP): when no config, map or config_path is passed but path is, the server reads the nearest stitch-native.json next to that file or in a parent directory (up to the filesystem root); otherwise it uses no config. The CLI keeps reading ./stitch-native.json.
HTML target

html writes one self-contained page: a single block (tokens as --color-*, --space-*, --font-* custom properties on :root, plus generated .s1, .s2… classes), semantic tags where the export has them (header, nav, main, section, h1…, ul, table…), and no Tailwind, no , no external URLs. Fonts use the system stack (a token's own font name is tried first). Images keep their src; inline becomes an empty with a TODO comment.

  • Material icons become . Fill them with iconsHtml ({"home": "⌂"} text or inline markup, used verbatim); unmapped names are listed (unmapped iconsHtml in init, unmapped icons in the report).
  • Colours: colorsHtml (token or #hex → CSS value) wins; colors entries are used only when they already look like a CSS value (#hex, var(...), rgb(...)…), so a Swift expression shared with the iOS target never lands in the CSS. Off-token literals are reported like for the other targets.
  • Toasts and sheets are emitted hidden; top and bottom bars are position: sticky.
  • Layout mode only: --mode state / mode: "state" is an error for html; stitch_to_native in state mode skips it with a warning.
  • Examples: examples/MatchStats.html, examples/OrdersList.html.
Map tokens to your design system
{ "colors": { "primary": "DS.Color.accent", "#12241c": "DS.Color.card" },

"fonts": { "headline-md": "DS.Font.title" } }

python3 stitch_native.py init screen.html      # writes stitch-native.json, lists unmapped tokens/icons

python3 stitch_native.py swiftui screen.html # auto-loads ./stitch-native.json (or --config path)

stitch-native.json also takes targets, icons (Material → SF Symbol), iconsCompose (Material → Icons.X.Y), iconsHtml, colorsHtml, preview.colorScheme and output folders. null entries fall back to the theme.

MCP server

stitch_native_mcp.py exposes the converter to any MCP client (stdio, no dependencies).

claude mcp add stitch-native -- python3 /path/to/stitch_native_mcp.py
ToolDoes
extract_tokensTheme file for swiftui, compose or html (CSS custom properties)
stitch_to_irLayout IR as JSON
stitch_to_swiftuiSwiftUI view + off-token report
stitch_to_composeCompose composable + off-token report
stitch_to_htmlSelf-contained HTML page + off-token and unmapped-icon report (layout mode)
stitch_to_nativeThe configured targets (default swiftui + compose) in one call, with their theme files
init_configstitch-native.json skeleton + unmapped list

Each tool takes html (the export) or path; the code tools also take name and config (object) or config_path (else the nearest stitch-native.json next to path). Pairs well with the official Stitch MCP: fetch the screen HTML there, convert here.

Example

fixtures/match-stats.html → examples/MatchStatsView.swift, examples/MatchStatsScreen.kt and examples/MatchStats.html.

Status

Prototype. Known gaps:

  • Output not yet compile-checked in CI.
  • SwiftUI drops the font weight when a family token and a text-* size class share an element.
  • Absolute positioning, animations and hover: states are ignored.

Roadmap: visual_diff tool (render vs Stitch screenshot) and a Claude skill.

Releasing

Pushing a tag vX.Y.Z runs .github/workflows/publish.yml: tests, build, upload to PyPI (trusted publishing), then publish server.json to the MCP registry (GitHub OIDC). No secrets are stored. pyproject.toml, both versions in server.json and VERSION in stitch_native_mcp.py must agree (a unit test checks it); the tag must match too.

One-time manual step on pypi.org (Account → Publishing → "Add a new pending publisher"), before the first tag:

FieldValue
PyPI project namestitch-native
Ownerrafaelcsan705
Repository namestitch-native
Workflow namepublish.yml
Environment namepypi

Optionally create a GitHub environment named pypi (Settings → Environments) with required reviewers as a manual gate.

License

MIT