mcp-apps-builder

द्वारा mcp-use

उत्पादन MCP सर्वर बनाने के लिए अनिवार्य संदर्भ गाइड, जिसमें टूल, संसाधन, प्रॉम्प्ट और विजेट शामिल हैं। इसमें मूलभूत अवधारणाएँ (टूल, संसाधन, प्रॉम्प्ट, विजेट प्रिमिटिव), सर्वर आर्किटेक्चर, प्रमाणीकरण पैटर्न (OAuth, Supabase, कस्टम) और तैनाती रणनीतियाँ शामिल हैं। टूल, संसाधन, प्रॉम्प्ट, प्रतिक्रिया स्वरूपण और स्थिति प्रबंधन और थीमिंग के साथ विजेट-आधारित UI को लागू करने के लिए विस्तृत ग

npx skills add https://github.com/mcp-use/mcp-use --skill mcp-apps-builder

Build with mcp-use

Treat the installed mcp-use package, its exported types, generated declarations, and the project's existing code as the source of truth. Inspect the installed version before choosing APIs or changing code.

Workflow

  1. Inspect package.json, the server entry, exported tool refs, mcp-env.d.ts, views/, skills/, and the installed mcp-use version.
  2. Scaffold a new stable project with create-mcp-use-app@latest and the appropriate template. Match the package version or dist-tag when working on beta, canary, or an existing versioned project.
  3. Read only the references needed for the task:
    • Server for tools, resources, prompts, MCP middleware, request context, and result envelopes.
    • Views for interactive MCP Apps, React hooks, model context, host capabilities, assets, and CSP.
    • Authentication for OAuth providers, verified identity, scopes, permissions, and authorization.
    • Skills over MCP when a server should ship reusable workflows alongside its tools.
    • Advanced features for OpenAPI, proxying, notifications, subscriptions, and elicitation.
    • Migration only when retired or compatibility-only imports, helpers, registration shapes, UI patterns, or session assumptions are present.
    • Verification before reporting implementation work complete.
  4. Implement against installed types. Prefer the framework's current conventions over copied examples or historical changelogs.
  5. Validate the smallest real lifecycle that proves the changed behavior, then expand checks in proportion to risk.

Core invariants

  • Import server APIs from mcp-use, React APIs from mcp-use/react, and OAuth provider adapters from their mcp-use/oauth/* subpaths.
  • Define tool arguments with inputSchema. Add outputSchema for structured results and every View-bound tool.
  • Return raw MCP result envelopes. A successful schema-backed tool must include matching structuredContent; an expected failure may return isError: true with model-readable content.
  • Put each View at views/<name>/view.tsx and bind it with view: { name: "<name>" }.
  • Export every statically declared tool ref consumed by a View. Default-export the server entry used by mcp-use dev, build, and start.
  • Keep identity and mutable workflow state request-scoped or in an external store. Treat client-reported metadata as unverified.
  • Consider Skills over MCP when a server exposes a repeatable, multi-step workflow that would otherwise inflate tool descriptions.

Guardrails

  • Do not invent exports, configuration fields, or callback shapes. Confirm uncertain details in installed declarations or source.
  • Do not preserve APIs that are absent from the installed version merely because they appear in an existing project.
  • Do not return a plain domain object from a tool callback.
  • Do not bind a View without a matching outputSchema and structuredContent result.
  • Do not use module globals for cross-request identity, elicitation continuity, or durable business state.
  • Do not claim success from a source build alone when types, package exports, authentication, or interactive behavior changed.
  • Do not deploy or mutate external systems unless the user explicitly requests it.

mcp-use की और Skills

mcp-builder
mcp-use
mcp-builder फ्रेमवर्क और स्वचालित विजेट पंजीकरण के साथ उत्पादन-तैयार MCP सर्वर बनाएं। npx create-mcp-use-app के साथ बूटस्ट्रैप करें और तीन टेम्पलेट्स में से चुनें: स्टार्टर (पूर्ण-सुविधाओं वाला), mcp-apps (ChatGPT-अनुकूलित), या ब्लैंक (न्यूनतम)। स्वचालित सत्यापन और स्पष्ट पैरामीटर विवरण के साथ Zod स्कीमा का उपयोग करके टूल, संसाधन और प्रॉम्प्ट परिभाषित करें। resources/ फ़ोल्डर से React विजेट को स्वचालित रूप
chatgpt-app-builder
mcp-use
चैटजीपीटी ऐप्स को इंटरैक्टिव विजेट्स के साथ बनाएं, mcp-use और OpenAI Apps SDK का उपयोग करके। जब चैटजीपीटी ऐप्स बना रहे हों, विजेट्स के साथ MCP सर्वर बना रहे हों, परिभाषित कर रहे हों...
chatgpt-app-builder
mcp-use
पदावनत: इसके बजाय mcp-app-builder का उपयोग करें। इंटरैक्टिव विजेट और शून्य-कॉन्फ़िगरेशन React विकास के साथ ChatGPT ऐप्स बनाएँ। यह कौशल पदावनत है; निरंतर समर्थन और अपडेट के लिए mcp-app-builder पर माइग्रेट करें। साझा इंटरैक्टिव विजेट के माध्यम से मानव उपयोगकर्ताओं और LLM के बीच सहयोगी UI सक्षम करता है। सर्वर हैंडलर, React विजेट स्कैफोल्डिंग, स्थिति प्रबंधन, और टूल कॉल और अनुवर्ती संदेशों के ल
mcp-builder
mcp-use
पदावनत: mcp-use का उपयोग करके टूल, संसाधन, प्रॉम्प्ट और इंटरैक्टिव विजेट के साथ MCP सर्वर बनाएं। यह कौशल पदावनत है; इसके बजाय mcp-app-builder का उपयोग करें। एकल MCP सर्वर के भीतर टूल, संसाधन, प्रॉम्प्ट और इंटरैक्टिव React विजेट को परिभाषित करने का समर्थन करता है। आउटपुट को टेक्स्ट, मार्कडाउन, HTML, इमेज, ऑब्जेक्ट और कस्टम विजेट के रूप में फ़ॉर्मेट करने के लिए प्रतिक्रिया सहायक शामिल हैं। एकीकृत
openapi-to-mcp
mcp-use
OpenAPI / Swagger स्पेक से mcp-use TypeScript SDK का उपयोग करके MCP सर्वर बनाएं और तैनात करें। इस कौशल का उपयोग तब करें जब उपयोगकर्ता "इस OpenAPI को बदलना चाहता है…