Swiftforge logo

Swiftforge

Browse and retrieve curated SwiftUI components for AI-assisted iOS development through MCP.

Install Swiftforge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "swiftforge": {
      "command": "npx",
      "args": [
        "-y",
        "swiftforge-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y swiftforge-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The swiftforge MCP server connects an AI coding agent to a curated catalog of modern SwiftUI components. It lets agents list categories, browse or search components, and retrieve complete source code with usage guidance and notes. The catalog covers iOS 17–26 APIs, including iOS 26 Liquid Glass components with fallback notes. Reach for it when an agent needs reusable SwiftUI UI instead of generating a component from scratch.

Use cases

  • Browse SwiftUI components by category
  • Search for UI patterns by description
  • Retrieve source for a reusable component
  • Add iOS 26 Liquid Glass examples to an app

Key features

  • Curated SwiftUI catalog
  • Category browsing with counts
  • Free-text component search
  • Complete source and usage retrieval
  • iOS 26 Liquid Glass components
  • Syntax-checked catalog entries

Tools4

What Swiftforge lets your agent do. Expand a tool for its parameters.

Self-reported~61 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · swiftforge-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads220Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed4Callable tools this server registers over MCP.

How Swiftforge works

What the swiftforge MCP server does

The swiftforge MCP server exposes a catalog of curated SwiftUI components to MCP-compatible coding agents. The catalog contains 96 components across 14 areas, including controls, cards, navigation, lists, forms, charts, effects, overlays, media, authentication, animations, layout, and onboarding.

Components target current SwiftUI APIs for iOS 17 through iOS 26. The collection includes dedicated Liquid Glass examples for iOS 26, with notes about graceful fallback behavior. Catalog entries include SwiftUI source, usage information, implementation notes, a preview, and support for dark mode and Dynamic Type according to the project documentation.

How it works

The agent communicates with the server through MCP and requests catalog data as needed. It can first inspect available categories, browse the component list, or search using a description of the interface being built. After identifying a component, the agent calls get_component to receive the complete source and its associated usage details.

This workflow is useful for requests such as adding a glass card, finding a pull-to-refresh list, or selecting an onboarding view. The server supplies catalog content; integrating the returned component into an application remains the agent's or developer's responsibility.

Setup and configuration

The swiftforge MCP server is distributed through npm and can be started with npx -y swiftforge-mcp. Claude Code can register it with:

Terminal
claude mcp add swiftforge -- npx -y swiftforge-mcp

For Cursor or Windsurf, add an MCP server entry that uses npx as the command and -y swiftforge-mcp as its arguments. The repository also documents a local development path: clone the project, run npm install, use npm run smoke, and point the agent to node /absolute/path/to/src/index.js.

No environment variables are documented as required. The server uses standard process-based MCP configuration rather than a service URL or credential setup.

Tools and capabilities

  • list_categories returns catalog categories and their counts.
  • list_components browses components, with optional category filtering.
  • search_components performs free-text searches based on the intended interface.
  • get_component retrieves one component's current SwiftUI source, usage information, and notes.

The repository validates component syntax with xcrun swiftc -parse. Its demo app can generate an Xcode project from the catalog and build it for an iOS simulator, but those commands are development and verification workflows rather than MCP tools.

Limitations and notes

The catalog is curated and finite, so a search may not return a component for every design requirement. Components are SwiftUI-focused and intended for iOS development. The repository states that the server is MIT-licensed, while catalog content is attributed to its authors.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Swiftforge

swiftforge is an MCP server that connects AI coding agents to a curated SwiftUI component catalog. Its main tools list categories, browse or search components, and retrieve a component's current SwiftUI source, usage guidance, and notes for iOS development.

Install it by registering the npm package with your MCP client using `npx -y swiftforge-mcp`. Claude Code uses `claude mcp add swiftforge -- npx -y swiftforge-mcp`; Cursor and Windsurf use an MCP JSON entry with the same command and arguments.

Yes, swiftforge works with Cursor through its MCP configuration. Add a server named `swiftforge` with `npx` as the command and `-y swiftforge-mcp` as the arguments in the user or project MCP configuration file.

swiftforge provides 96 components across 14 catalog categories, including controls, cards, navigation, lists, forms, charts, effects, overlays, media, authentication, animations, layout, and onboarding. The catalog also includes iOS 26 Liquid Glass components.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSwiftforge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/swiftforge?style=directory)](https://allmcps.com/mcp/swiftforge)
HTML Embed
<a href="https://allmcps.com/mcp/swiftforge"><img src="https://allmcps.com/api/badge/swiftforge?style=directory" alt="Swiftforge on AllMCPs" /></a>