Overview
The MCP (Model Context Protocol) server lets you serve your apps to AI hosts like ChatGPT and Claude. Once running, the host can discover and render your MCP Apps. During development,sunpeak dev runs an MCP server that serves simulation fixture data. For production, use sunpeak build followed by sunpeak start to run your real tool handlers — see the Deployment Guide.
What is MCP?
MCP is the protocol AI hosts use to communicate with your servers. It handles tool and resource registration, discovery, and invocation.Learn more in the MCP primer or the Model Context Protocol documentation.
Quick Start
- Development
- Production
Start the development server:This starts both the inspector and an MCP server with Hot Module Reload.
The MCP server runs on port
8000 and serves simulation fixture data.Dive Deeper
runMCPServer API Reference
Complete configuration options and host connection guide.
Deployment Guide
Build, start, and deploy your app to production.
Simulation API Reference
Complete simulation documentation.