Provides deployment infrastructure for the MCP server, allowing one-command deployment to Cloudflare Workers for hosting both the MCP endpoints and React frontend.
Uses Deno runtime for the MCP server implementation, with specific integration with the Deco platform for deployment and management.
Supports the development environment requirements, with Node.js serving as a prerequisite for running the MCP server's development tools.
Integrates a modern React frontend with the MCP server, enabling a web interface that communicates with the server's tools and workflows through a typed RPC client.
Incorporates pre-configured shadcn/ui components for building the frontend interface, accelerating development of the web UI that interacts with the MCP server.
Utilizes Tailwind CSS for styling the React frontend interface, enabling rapid UI development with utility-first CSS.
Provides full TypeScript support with auto-generated RPC client types for type-safe communication between the frontend and MCP server endpoints.
Leverages Vite for the React frontend build process, providing fast hot module replacement during development of the MCP server's web interface.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@React Tailwind Views MCP Servershow me the UI components available in the template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
React + Tailwind MCP Server Template
A full-stack template for building Model Context Protocol (MCP) servers with a modern React frontend. This template provides a complete development environment where your MCP server not only exposes tools and workflows to AI agents but also serves a beautiful web interface built with React and Tailwind CSS.
✨ Features
🤖 MCP Server: Cloudflare Workers-based server with typed tools and workflows
⚛️ React Frontend: Modern React app with Vite, TanStack Router, and Tailwind CSS
🎨 UI Components: Pre-configured shadcn/ui components for rapid development
🔧 Type Safety: Full TypeScript support with auto-generated RPC client types
🚀 Hot Reload: Live development with automatic rebuilding for both frontend and backend
☁️ Ready to Deploy: One-command deployment to Cloudflare Workers
Related MCP server: Xava Labs MCP Template
🚀 Quick Start
Prerequisites
Node.js ≥18.0.0
Deno ≥2.0.0
Deco CLI:
deno install -Ar -g -n deco jsr:@deco/cli
Setup
# Install dependencies
npm install
# Configure your app
npm run configure
# Start development server
npm run devThe server will start on http://localhost:8787 serving both your MCP endpoints
and the React frontend.
📁 Project Structure
├── server/ # MCP Server (Cloudflare Workers + Deco runtime)
│ ├── main.ts # Server entry point with tools & workflows
│ └── deco.gen.ts # Auto-generated integration types
└── view/ # React Frontend (Vite + Tailwind CSS)
├── src/
│ ├── lib/rpc.ts # Typed RPC client for server communication
│ ├── routes/ # TanStack Router routes
│ └── components/ # UI components with Tailwind CSS
└── package.json🛠️ Development Workflow
npm run dev- Start development with hot reloadnpm run gen- Generate types for external integrationsnpm run gen:self- Generate types for your own tools/workflowsnpm run deploy- Deploy to production
🔗 Frontend ↔ Server Communication
The template includes a fully-typed RPC client that connects your React frontend to your MCP server:
// Typed calls to your server tools and workflows
const result = await client.tools.MY_TOOL({ input: "data" });
const workflowResult = await client.workflows.MY_WORKFLOW({ input: "data" });📖 Learn More
This template is built for deploying primarily on top of the Deco platform which can be found at the deco-cx/chat repository.
Ready to build your next MCP server with a beautiful frontend? Get started now!
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.