TemplatesMCP App with React Widgets
MCP App with React Widgets
An MCP server with React widgets and Tailwind CSS styling using MCP Apps
Build styled React widgets for MCP applications using Tailwind CSS.
Features
- React component tools with Tailwind CSS v4 styling
- PostCSS configuration included
- CSP and domain metadata support for secure widget embedding
- HTTP transport
- Example tool:
weatherwidget with Tailwind styling
Getting Started
1. Create the project
2. Install & run
The MCP server will start with HTTP transport at http://localhost:3001.
Project Structure
Creating Styled Tools
Create a .tsx file in src/tools/ using Tailwind classes:
The _meta.ui field configures CSP policies and embedding behavior for your widget.
Deploy
Learn More
Other templates
React Widgets
An MCP server with interactive React component widgets
chatgpt
Auth0 Authentication
An MCP server with Auth0 authentication and tools to interact with Auth0 client.
authentication
Clerk Authentication
An MCP server with Clerk authentication, session data and organization management
authentication

