C
chatgpt-app-builder
by @mcp-usev
4.5(206)
此技能已弃用,请使用`mcp-app-builder`替代,用于构建应用程序。
安装方式
npx skills add mcp-use/mcp-use --skill chatgpt-app-buildercompare_arrows
Before / After 效果对比
1 组使用前
之前,开发者可能依赖旧的`chatgpt-app-builder`技能来构建应用程序,但该技能已不再维护,可能存在功能限制或安全隐患。
使用后
现在,应转而使用推荐的`mcp-app-builder`技能,它提供了更稳定、更强大的应用程序构建能力,确保开发流程的顺畅与高效。
SKILL.md
ChatGPT App Builder
Build ChatGPT apps with interactive widgets using mcp-use. Zero-config widget development with automatic registration and built-in React hooks.
The app is consumed by two users at once: the human and the ChatGPT LLM. They collaborate through the widget -- the human interacts with it, the LLM sees its state. The widget is your shared surface.
Before You Code
- Clarify what to build → discover.md: when starting a new app, validating an idea, or scoping features
- Design tools and widgets → architecture.md: when deciding what needs UI vs tools-only, designing UX flows
Setup
- Scaffold and run → setup.md: when creating a new project, starting dev server, connecting to ChatGPT/Claude
Implementation
- Server handlers + widget creation → server-and-widgets.md: when writing server.tool() with widgets, widget() helper, React widget files
- Widget state and LLM context → state-and-context.md: when persisting state, triggering LLM from widget, managing ephemeral vs persistent data
- Display modes, theme, layout → ui-guidelines.md: when adapting to inline/fullscreen/PiP, handling theme, device, locale
- Component API → components-api.md: when using McpUseProvider, Image, ErrorBoundary, useWidget
- CSP and metadata → csp-and-metadata.md: when configuring external domains, dual-protocol metadata
- Advanced patterns → widget-patterns.md: when building complex widgets with tool calls, state, theming
Quick Reference
// Server
import { MCPServer, widget, text, object } from "mcp-use/server";
server.tool({ name: "...", schema: z.object({...}), widget: { name: "widget-name" } },
async (input) => widget({ props: {...}, output: text("...") })
);
// Widget (resources/widget-name.tsx)
import { McpUseProvider, useWidget, type WidgetMetadata } from "mcp-use/react";
export const widgetMetadata: WidgetMetadata = { description: "...", props: z.object({...}) };
export default function MyWidget() {
const { props, isPending, callTool, sendFollowUpMessage, state, setState, theme } = useWidget();
if (isPending) return <McpUseProvider autoSize><div>Loading...</div></McpUseProvider>;
return <McpUseProvider autoSize><div>{/* UI */}</div></McpUseProvider>;
}
用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价
统计数据
安装量9.0K
评分4.5 / 5.0
版本
更新日期2026年5月19日
对比案例1 组
用户评分
4.5(206)
5
23%
4
51%
3
23%
2
2%
1
0%
为此 Skill 评分
0.0
兼容平台
🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI
时间线
创建2026年3月16日
最后更新2026年5月19日