mcp-apps-builder
できること
このスキルは、AIアシスタントをツールやデータに接続するMCPサーバーを作るためのベストプラクティスを、エージェントに与えます。MCPサーバーを作成または変更する開発者向けです。
使う場面
- ✓エージェントに、新しいMCPサーバーを作らせたいとき。
- ✓MCPサーバーにツール、リソース、プロンプト、ウィジェットを追加または変更したいとき。
- ✓MCPサーバーのデバッグやレビューの助けが必要なとき。
スキルのリンク
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コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“MCPサーバーに注文状況を調べるツールを追加し、結果を簡単なウィジェットとして表示してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、まずあなたがすでにmcp-useのプロジェクトにいるかを確認します。その後、コードを書く前に、ツール、ウィジェット、セキュリティなど、各機能の参照ガイドをエージェントに読ませます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
IMPORTANT: How to Use This Skill
This file provides a NAVIGATION GUIDE ONLY. Before implementing any MCP server features, you MUST:
- Read this overview to understand which reference files are relevant
- ALWAYS read the specific reference file(s) for the features you're implementing
- 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.
- concepts.md - MCP primitives (Tool, Resource, Prompt, Widget) and when to use each
- architecture.md - Server structure (Hono-based), middleware system, server.use() vs server.app
- quickstart.md - Scaffolding, setup, and first tool example
- 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)
-
- When: First time adding auth, understanding
ctx.auth, or choosing a provider - Covers:
oauthconfig, user context shape, provider comparison, common mistakes
- When: First time adding auth, understanding
-
- When: Using WorkOS AuthKit for authentication
- Covers: Setup, env vars, DCR vs pre-registered, roles/permissions, WorkOS API calls
-
- When: Using Supabase for authentication
- Covers: Setup, env vars, HS256 vs ES256, RLS-aware API calls
-
- 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.
-
- When: Creating backend actions the AI can call (send-email, fetch-data, create-user)
- Covers: Tool definition, schemas, annotations, context, error handling
-
- When: Exposing read-only data clients can fetch (config, user profiles, documentation)
- Covers: Static resources, dynamic resources, parameterized resource templates, URI completion
-
- When: Creating reusable message templates for AI interactions (code-revie
よくある質問
新しいプロジェクトを作ってくれますか?
mcp-useのプロジェクトの中にいない場合だけです。既存のプロジェクトでは、そのプロジェクトに機能を追加します。
何を扱いますか?
ツール、リソース、プロンプト、ウィジェット、デバッグ、コードのレビュー、MCP開発についての質問を扱います。
なぜエージェントに参照ファイルを読ませるのですか?
参照ファイルには、短い例では省かれている、詳細なパターンや安全上の注意があるからです。
詳細
作者による元の説明
**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
人気
- GitHubのスター
- 144k
- ランキング
- #681
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/22
コメント
- …
このリポジトリの他のスキル
advisor-orchestrator-worker
144k大きな作業を、AIモデルのチームに分担させるのをエージェントが支援します。より強いモデルが計画と確認を行い、より安いモデルが作業をします。
commit-archaeologist
144kローカルのgitの履歴を読み、誰がそのコードを追加したか、後に何が変わったかを示して、コードが存在する理由をエージェントが説明するのを支援します。
dependency-doctor
144krequirements.txt、pyproject.toml、package.jsonの依存関係を、よくある問題について確認し、小さく確認しやすい修正を提案するのをエージェントが支援します。
first-reader
144k実際の読者が体験するように下書きを読み、どこで興味を失うか、何を覚えているかを示して、下書きをテストするのをエージェントが支援します。
似ているスキル
mcporter
394kHTTPまたはstdioでMCPサーバーとそのツールを一覧表示、呼び出し、確認し、サインイン設定を管理するようエージェントを支援します。
fastmcp
260kPythonで、AIアシスタントがAPI、データベース、ファイルをツールとして利用できるMCPサーバーを作成、テスト、デプロイするのを支援します。
mcp-oauth-remote-gateway
260kHermesがサーバー上で動いている場合に、リモートのMCPサーバーのOAuthサインインを手動で完了させ、トークンを保存します。