Back to Apps

MCP Apps RSC Demo
Supports UIby hybrist
Demonstration of integrating React Server Components (RSC) with MCP Apps for rich, streaming UI experiences.
0 stars
Works in:mcpjam
Exposes:ResourcesTools
What it does
This demo showcases how React Server Components (RSC) can power interactive user interfaces within MCP tool results. It demonstrates the flow of server-rendered, streaming component payloads being delivered via the Model Context Protocol.
Key features
- RSC Integration: Uses
@vitejs/plugin-rscto serve server components as MCP tool results. - Interactive UI: Implements a Greeting Card component that renders via MCP tools.
- Server Action Routing: Demonstrates routing React server actions through the MCP tool protocol.
- Streaming Payloads: Showcases the efficiency of RSC flight streams for UI delivery.
Installation
This is a demonstration repository. To run locally:
- Clone the repo
- Run
pnpm dev - Use an MCP inspector that supports
allow-forms(e.g., specific versions of MCPJam/inspector).
Supported hosts
- mcpjam
Choose your AI client and follow the steps below.
mcpjam
Run locally via pnpm dev and connect to a compatible inspector.





