mcp-apps-builder
What it does
This skill gives your agent best practices for building MCP servers, which connect AI assistants to tools and data. It is for developers creating or changing an MCP server.
When to use it
- βWhen you ask your agent to create a new MCP server.
- βWhen you want to add or change tools, resources, prompts or widgets in an MCP server.
- βWhen you need help debugging or reviewing an MCP server.
Skill link
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.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βAdd a tool to my MCP server that looks up order status, and show the result as a simple widget.β
5 new skills a week. 1 minute to read.
How it works
The skill first checks whether you already have an mcp-use project. It then points the agent to the reference guides for each feature, such as tools, widgets or security, before writing the code.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Will it create a new project for me?
Only if you are not already in an mcp-use project. In an existing project, it adds features to that project.
What does it cover?
Tools, resources, prompts, widgets, debugging, code review and questions about MCP development.
Why does it ask the agent to read reference files?
The reference files hold the detailed patterns and safety notes that the short examples leave out.
Details
Original description by the author
**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
Popularity
- GitHub stars
- 144k
- Ranking position
- #681
- License
- Apache-2.0
- Updated
- 10/22/2026
Comments
- β¦
More skills from this repository
advisor-orchestrator-worker
144kHelps your agent split a very large task across a team of AI models, with a stronger model planning and checking while cheaper ones do the work.
commit-archaeologist
144kHelps your agent explain why a piece of code exists by reading its local git history, including who added it and what changed later.
dependency-doctor
144kHelps your agent check a requirements.txt, pyproject.toml or package.json file for common dependency problems and suggest small, reviewable fixes.
first-reader
144kHelps your agent test a draft by simulating how real readers experience it, showing where they might lose interest and what they remember.
Similar skills
mcporter
394kHelps your agent list, call, and inspect MCP servers and their tools over HTTP or stdio, and manage their sign-in settings.
fastmcp
260kHelps you build, test, and deploy a Python MCP server that gives AI assistants access to your API, database, or files as tools.
mcp-oauth-remote-gateway
260kWalks you through OAuth sign-in for a remote MCP server when Hermes runs on a server, where the normal browser sign-in cannot reach it.