mcp-apps-builder

от mcp-use

Обязательное справочное руководство по созданию production MCP-серверов с инструментами, ресурсами, подсказками и виджетами. Охватывает фундаментальные концепции (примитивы Tool, Resource, Prompt, Widget), архитектуру сервера, шаблоны аутентификации (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.

Больше skills от mcp-use

mcp-builder
mcp-use
Создавайте готовые к продакшену MCP-серверы с помощью фреймворка mcp-use и автоматической регистрацией виджетов. Начните с npx create-mcp-use-app и выберите один из трех шаблонов: starter (полнофункциональный), mcp-apps (оптимизированный для ChatGPT) или blank (минимальный). Определяйте инструменты, ресурсы и промпты с помощью схем Zod с автоматической валидацией и понятными описаниями параметров. Автоматически регистрируйте React-виджеты из папки resources/ как MCP-инструменты и ресурсы с поддержкой двойного протокола для MCP Apps и...
chatgpt-app-builder
mcp-use
Создавайте приложения ChatGPT с интерактивными виджетами, используя mcp-use и OpenAI Apps SDK. Используйте при создании приложений ChatGPT, сборке MCP-серверов с виджетами, определении…
chatgpt-app-builder
mcp-use
УСТАРЕЛО: Используйте mcp-app-builder вместо этого. Создавайте приложения ChatGPT с интерактивными виджетами и настройкой React без конфигурации. Этот навык устарел; переходите на mcp-app-builder для продолжения поддержки и обновлений. Обеспечивает совместную работу пользователей и LLM через общие интерактивные виджеты. Предоставляет серверные обработчики, шаблоны React-виджетов, управление состоянием и встроенные хуки для вызовов инструментов и последующих сообщений. Охватывает режимы отображения (встроенный, полноэкранный, картинка в картинке), темизацию,...
mcp-builder
mcp-use
УСТАРЕЛО: Создание MCP-серверов с инструментами, ресурсами, подсказками и интерактивными виджетами с помощью mcp-use. Этот навык устарел; используйте mcp-app-builder. Поддерживает определение инструментов, ресурсов, подсказок и интерактивных React-виджетов в рамках одного MCP-сервера. Включает вспомогательные функции ответа для форматирования вывода в виде текста, Markdown, HTML, изображений, объектов и пользовательских виджетов. Предоставляет композицию серверов и проксирование для объединения нескольких MCP-серверов в единый интерфейс.
openapi-to-mcp
mcp-use
Создайте и разверните MCP-сервер из спецификации OpenAPI / Swagger, используя TypeScript SDK mcp-use. Используйте этот навык, когда пользователь хочет «превратить этот OpenAPI…