mcp-apps-builder

tarafından mcp-use

Üretim amaçlı MCP sunucuları oluşturmak için araçlar, kaynaklar, istemler ve widget'lar içeren zorunlu referans kılavuzu. Temel kavramları (Araç, Kaynak, İstem, Widget ilkelleri), sunucu mimarisini, kimlik doğrulama modellerini (OAuth, Supabase, özel) ve dağıtım stratejilerini kapsar. Araçlar, kaynaklar, istemler, yanıt biçimlendirme ve durum yönetimi ve temalama ile widget tabanlı arayüzlerin uygulanmasına yönelik ayrıntılı kılavuzlar içerir. Yaygın anti-desenleri (eksik doğrulama, hatalı hata...) belgeler.

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 tarafından daha fazla skill

mcp-builder
mcp-use
mcp-use framework'i ve otomatik widget kaydını kullanarak üretime hazır MCP sunucuları oluşturun. npx create-mcp-use-app ile başlatın ve üç şablondan birini seçin: starter (tam özellikli), mcp-apps (ChatGPT için optimize edilmiş) veya blank (minimal). Zod şemaları kullanarak araçları, kaynakları ve istemleri otomatik doğrulama ve net parametre açıklamalarıyla tanımlayın. resources/ klasöründeki React widget'larını, MCP Uygulamaları ve... için çift protokol desteğiyle MCP Araçları ve Kaynakları olarak otomatik kaydedin.
chatgpt-app-builder
mcp-use
mcp-use ve OpenAI Apps SDK kullanarak etkileşimli widget'lar ile ChatGPT uygulamaları oluşturun. ChatGPT uygulamaları oluştururken, widget'larla MCP sunucuları kurarken, tanımlarken kullanın…
chatgpt-app-builder
mcp-use
KULLANIM DIŞI: Bunun yerine mcp-app-builder kullanın. Etkileşimli widget'lar ve sıfır yapılandırmalı React geliştirme ile ChatGPT uygulamaları oluşturun. Bu beceri kullanım dışıdır; devam eden destek ve güncellemeler için mcp-app-builder'a geçin. Paylaşılan etkileşimli widget'lar aracılığıyla insan kullanıcılar ve LLM arasında işbirlikçi kullanıcı arayüzü sağlar. Sunucu işleyicileri, React widget iskeleti, durum yönetimi ve araç çağrıları ile takip mesajları için yerleşik kancalar sunar. Görüntüleme modlarını (satır içi, tam ekran, resim iç
mcp-builder
mcp-use
KULLANIM DIŞI: mcp-use kullanarak araçlar, kaynaklar, istemler ve etkileşimli widget'lar ile MCP sunucuları oluşturun. Bu beceri kullanım dışıdır; bunun yerine mcp-app-builder kullanın. Tek bir MCP sunucusu içinde araçlar, kaynaklar, istemler ve etkileşimli React widget'ları tanımlamayı destekler. Çıktıları metin, markdown, HTML, görseller, nesneler ve özel widget'lar olarak biçimlendirmek için yanıt yardımcıları içerir. Birden fazla MCP sunucusunu birleşik bir arayüzde toplamak için sunucu birleştirme ve proxy oluşturma sağlar.
openapi-to-mcp
mcp-use
Bir OpenAPI / Swagger spesifikasyonundan mcp-use TypeScript SDK'sını kullanarak bir MCP sunucusu oluşturun ve dağıtın. Kullanıcı "bu OpenAPI'yi dönüştürmek istiyorum" dediğinde bu beceriyi kullanın.