Project Templates
Thecreate-mcp-use-app tool provides several project templates to help you get started quickly with different types of MCP servers. Each template is optimized for specific use cases and includes pre-configured examples.
Available Templates
π Starter Template (Default)
The starter template is the most comprehensive option, showcasing all MCP features including tools, resources, prompts, and automatic UI widget registration for MCP-UI and OpenAI Apps SDK. Whatβs Included:- Full MCP server setup with all primitive types:
- Tools:
fetch-weather- fetches weather data for any city - Resources:
config://settings- server configuration example - Prompts:
review-code- code review prompt template
- Tools:
- Automatic UI Widget Registration from
resources/folder:display-weather- Weather visualization widget (OpenAI Apps SDK)kanban-board- Task management board (MCP-UI)
- Hot reload development environment
- Production build configuration
β‘ Apps SDK Template
The apps-sdk template demonstrates how to build OpenAI Apps SDK compatible widgets for ChatGPT with official UI components integration. Whatβs Included:- Lightweight MCP server setup
- Automatic UI Widget Registration from
resources/folder:product-search-result- Complete ecommerce widget example with carousel, accordion, and filtering
- Official UI Components: Integrated OpenAI Apps SDK UI components for consistent, accessible widgets
- Fruits API: Example API endpoint (
/api/fruits) demonstrating data fetching - React Query: Integrated
@tanstack/react-queryfor data fetching and caching - Example tool:
get-brand-info- Returns brand information - Public Assets: 16 fruit product images in
public/fruits/directory - McpUseProvider: Pre-configured with auto-sizing, debug controls, and view controls
- Minimal configuration for fast development
π¨ MCP-UI Template
The mcp-ui template demonstrates all three MCP-UI UIResource types with examples of each approach. Whatβs Included:- External URL (Iframe Widgets):
kanban-board- Complex interactive board served from filesystem- Automatic static file serving
- Full asset support
- Raw HTML (Direct Rendering):
welcome-card- Beautiful glass-morphic welcome card- No iframe overhead
- Perfect for simple visualizations
- Remote DOM (React Components):
quick-poll- Interactive polling widget- Uses MCP-UI React components (
ui-stack,ui-button,ui-text) - Lightweight scripting approach
- Traditional MCP tools and resources examples
Next Steps
- UI Widgets - Deep dive into automatic UI widget registration
- Tools - Learn about MCP tools
- Resources - Understand MCP resources
- Prompts - Work with prompt templates