iOS开发新控件
claude mcp add swiftnewmodules -- npx -y swiftforge-mcp{
"mcpServers": {
"swiftnewmodules": {
"command": "npx",
"args": ["-y", "swiftforge-mcp"]
}
}
}Resumen de MCP Servers
<p align="center">
<img src="assets/logo.svg" width="104" alt="SwiftForge logo">
</p>
<h1 align="center">SwiftForge MCP</h1>
[](https://www.npmjs.com/package/swiftforge-mcp)
[](LICENSE)
[](https://modelcontextprotocol.io)
[](#)
**A curated, current, production-grade SwiftUI component library — served straight to your AI coding agent over MCP.**
Think [21st.dev](https://21st.dev) (curated React components for AI agents), but for **SwiftUI**.
---
## See it in action
https://github.com/user-attachments/assets/c2460a1d-fb0d-47e0-9d1b-91e6a784717b
_A quick tour of components from the catalog (incl. iOS 26 Liquid Glass), running in the demo app._
---
## The problem
Coding agents (Claude Code, Cursor, Copilot) are *great* at logic and *mediocre* at SwiftUI. They:
- reach for **deprecated APIs** (`NavigationView`, `.foregroundColor`, `ObservableObject` everywhere)
- have **never seen iOS 26 "Liquid Glass"** (`.glassEffect`, `GlassEffectContainer`, `.buttonStyle(.glass)`) and guess wrong
- produce **bland, one-off views** instead of polished, reusable components
You end up rewriting their SwiftUI by hand. Every time.
## What SwiftForge does
SwiftForge is a tiny **MCP server** that gives your agent on-demand access to a hand-curated catalog of **modern, compile-ready SwiftUI components**. When you ask your agent to "add a glass card" or "build an onboarding flow," it pulls the real, current component instead of hallucinating one.
The value isn't the server — it's the **curated catalog**: every component uses current API only, is dark-mode + Dynamic Type friendly, includes a `#Preview`, and is reviewed for taste.
## Quick start
### Claude Code
```bash
claude mcp add swiftforge -- npx -y swiftforge-mcp
```
### Cursor / Windsurf (`~/.cursor/mcp.json` or project `.cursor/mcp.json`)
```json
{
"mcpServers": {
"swiftforge": {
"command": "npx",
"args": ["-y", "swiftforge-mcp"]
}
}
}
```
Full setup, example prompts, and troubleshooting: **[docs/USAGE.md](docs/USAGE.md)**.
<details>
<summary>Run from a local clone (development)</summary>
```bash
git clone <this repo> && cd swiftforge-mcp
npm install && npm run smoke
# then point your agent at: node /absolute/path/to/src/index.js
```
</details>
Then just talk to your agent:
> "Use swiftforge to add a Liquid Glass stat card to this dashboard."
> "Search swiftforge for a pull-to-refresh list and wire it to my view model."
## Demo app — the closed loop, proven
`examples/SwiftForgeDemo` is a **real iOS app** that pulls in all 96 catalog components and builds clean — proof that the full loop works (agent → swiftforge → a compiling iOS app):
```bash
npm run demo:gen # (re)generate the demo project from the catalog
npm run demo:build # headless xcodebuild for the iOS simulator
# or just open it:
open examples/SwiftForgeDemo/SwiftForgeDemo.xcodeproj
```
Verified `** BUILD SUCCEEDED **` on Xcode 26 / iOS 26 simulator — **including the Liquid Glass components**. The app live-renders a couple of components (paywall, OTP) and lists the full catalog.
## Tools the agent gets
| Tool | What it does |
|------|--------------|
| `list_categories` | See the catalog's categories + counts |
| `list_components` | Browse components (optionally by category) |
| `search_components` | Free-text search by what you're building |
| `get_component` | Fetch one component's full, current SwiftUI source + usage + notes |
## What's inside
**96 curated components** across 14 categories: **Buttons & Controls · Cards & Containers · Navigation & Bars · Lists & Scroll · Lists & Grids · Forms & Inputs · Charts · Effects & Liquid Glass · Feedback & Overlays · Media · Auth & Account · Animations · Layout & Scaffolding · Onboarding & Hero** — including dedicated **iOS 26 Liquid Glass** components with graceful-fallback notes.
Every component is gated through a syntax check (`scripts/validate.js`, `xcrun swiftc -parse`) and a senior-review pass that strips deprecated API.
📖 **Browse every component → [docs/CATALOG.md](docs/CATALOG.md)**
## Roadmap
- New components every release, kept current as iOS evolves.
- Missing something? [Open an issue](https://github.com/jrlingyin888/SwiftNewModules/issues) — requests drive what gets added next.
The catalog here is free and MIT.
## License
MIT (server). Catalog content © its authors.
Lo que la gente pregunta sobre SwiftNewModules
¿Qué es jrlingyin888/SwiftNewModules?
+
jrlingyin888/SwiftNewModules es mcp servers para el ecosistema de Claude AI. iOS开发新控件 Tiene 0 estrellas en GitHub y se actualizó por última vez 2d ago.
¿Cómo se instala SwiftNewModules?
+
Puedes instalar SwiftNewModules clonando el repositorio (https://github.com/jrlingyin888/SwiftNewModules) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar jrlingyin888/SwiftNewModules?
+
jrlingyin888/SwiftNewModules aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene jrlingyin888/SwiftNewModules?
+
jrlingyin888/SwiftNewModules es mantenido por jrlingyin888. La última actividad registrada en GitHub es de 2d ago, con 0 issues abiertos.
¿Hay alternativas a SwiftNewModules?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega SwiftNewModules en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/jrlingyin888-swiftnewmodules)<a href="https://claudewave.com/repo/jrlingyin888-swiftnewmodules"><img src="https://claudewave.com/api/badge/jrlingyin888-swiftnewmodules" alt="Featured on ClaudeWave: jrlingyin888/SwiftNewModules" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。