Langsung ke konten
Skillpedia
Konektor (MCP)144k Β· #681

mcp-apps-builder

Fungsinya

Skill ini memberi agent Anda praktik terbaik untuk membangun server MCP, yang menghubungkan asisten AI dengan alat dan data. Skill ini ditujukan untuk pengembang yang membuat atau mengubah server MCP.

Kapan dipakai

  • βœ“Saat Anda meminta agent Anda membuat server MCP baru.
  • βœ“Saat Anda ingin menambah atau mengubah alat, sumber daya, prompt, atau widget di server MCP.
  • βœ“Saat Anda membutuhkan bantuan men-debug atau meninjau server MCP.

Link skill

https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/generative_ui_agents/ai-mcp-app-builder/apps/mcp-use-server/.agent/skills/mcp-apps-builder/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/generative_ui_agents/ai-mcp-app-builder/apps/mcp-use-server/.agent/skills/mcp-apps-builder/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTambahkan alat ke server MCP saya yang memeriksa status pesanan, dan tampilkan hasilnya sebagai widget sederhana.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill pertama-tama memeriksa apakah Anda sudah berada dalam proyek mcp-use. Setelah itu, skill mengarahkan agent ke panduan referensi untuk setiap fitur, seperti alat, widget, atau keamanan, sebelum menulis kode.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

IMPORTANT: How to Use This Skill

This file provides a NAVIGATION GUIDE ONLY. Before implementing any MCP server features, you MUST:

  1. Read this overview to understand which reference files are relevant
  2. ALWAYS read the specific reference file(s) for the features you're implementing
  3. Apply the detailed patterns from those files to your implementation

Do NOT rely solely on the quick reference examples in this file - they are minimal examples only. The reference files contain critical best practices, security considerations, and advanced patterns.


MCP Server Best Practices

Comprehensive guide for building production-ready MCP servers with tools, resources, prompts, and widgets using mcp-use.

⚠️ FIRST: New Project or Existing Project?

Before doing anything else, determine whether you are inside an existing mcp-use project.

Detection: Check the workspace for a package.json that lists "mcp-use" as a dependency, OR any .ts file that imports from "mcp-use/server".

β”œβ”€ mcp-use project FOUND β†’ Do NOT scaffold. You are already in a project.
β”‚  └─ Skip to "Quick Navigation" below to add features.
β”‚
β”œβ”€ NO mcp-use project (empty dir, unrelated project, or greenfield)
β”‚  └─ Scaffold first with npx create-mcp-use-app, then add features.
β”‚     See "Scaffolding a New Project" below.
β”‚
└─ Inside an UNRELATED project (e.g. Next.js app) and user wants an MCP server
   └─ Ask the user where to create it, then scaffold in that directory.
      Do NOT scaffold inside an existing unrelated project root.

NEVER manually create MCPServer boilerplate, package.json, or project structure by hand. The CLI sets up TypeScript config, dev scripts, inspector integration, hot reload, and widget compilation that are difficult to replicate manually.


Scaffolding a New Project

npx create-mcp-use-app my-server
cd my-server
npm run dev

For full scaffolding details and CLI flags, see quickstart.md.


Quick Navigation

Choose your path based on what you're building:

πŸš€ Foundations

When: ALWAYS read these first when starting MCP work in a new conversation. Reference later for architecture/concept clarification.

  1. concepts.md - MCP primitives (Tool, Resource, Prompt, Widget) and when to use each
  2. architecture.md - Server structure (Hono-based), middleware system, server.use() vs server.app
  3. quickstart.md - Scaffolding, setup, and first tool example
  4. deployment.md - Deploying to Manufact Cloud, self-hosting, Docker, managing deployments

Load these before diving into tools/resources/widgets sections.


πŸ” Adding Authentication?

When: Protecting your server with OAuth (WorkOS, Supabase, or custom)

  • overview.md

    • When: First time adding auth, understanding ctx.auth, or choosing a provider
    • Covers: oauth config, user context shape, provider comparison, common mistakes
  • workos.md

    • When: Using WorkOS AuthKit for authentication
    • Covers: Setup, env vars, DCR vs pre-registered, roles/permissions, WorkOS API calls
  • supabase.md

    • When: Using Supabase for authentication
    • Covers: Setup, env vars, HS256 vs ES256, RLS-aware API calls
  • custom.md

    • When: Using any other identity provider (GitHub, Okta, Azure AD, Google, etc.)
    • Covers: Custom verification, user info extraction, provider examples

πŸ”§ Building Server Backend (No UI)?

When: Implementing MCP features (actions, data, templates). Read the specific file for the primitive you're building.

  • tools.md

    • When: Creating backend actions the AI can call (send-email, fetch-data, create-user)
    • Covers: Tool definition, schemas, annotations, context, error handling
  • resources.md

    • When: Exposing read-only data clients can fetch (config, user profiles, documentation)
    • Covers: Static resources, dynamic resources, parameterized resource templates, URI completion
  • prompts.md

    • When: Creating reusable message templates for AI interactions (code-revie
Pertanyaan umum

Apakah akan membuat proyek baru untuk saya?

Hanya jika Anda belum berada dalam proyek mcp-use. Di proyek yang sudah ada, skill menambahkan fitur ke proyek itu.

Apa saja yang dicakup?

Alat, sumber daya, prompt, widget, debugging, tinjauan kode, dan pertanyaan tentang pengembangan MCP.

Mengapa skill meminta agent membaca berkas referensi?

Berkas referensi memuat pola detail dan catatan keamanan yang tidak dicakup contoh singkat.

Detail

Deskripsi asli dari pembuat

**MANDATORY for ALL MCP server work** - mcp-use framework best practices and patterns. **READ THIS FIRST** before any MCP server work, including: - Creating new MCP servers - Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) - Debugging MCP server issues or errors - Reviewing MCP server code for quality, security, or performance - Answering questions about MCP development or mcp-use patterns - Making ANY changes to server.tool(), server.resource(), server.prompt(), or widgets This skill contains critical architecture decisions, security patterns, and common pi

repo: Shubhamsaboo/awesome-llm-apps

Popularitas

Bintang GitHub
144k
Peringkat
#681
Lisensi
Apache-2.0
Diperbarui
22/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa