Overview
The MCP (Model Context Protocol) server lets you serve your simulations to ChatGPT. Once running, ChatGPT can discover and render your widgets. sunpeak includes an MCP server implementation that serves your widgets out-of-the-box.What is MCP?
MCP is the protocol ChatGPT uses to communicate with your servers. It handles:- Resource & Tool registration and discovery
- Tool invocation and state synchronization
Learn more in the Model Context Protocol documentation.
Quick Start
- Framework
- Library
Start the MCP server:This serves your built resources from
dist/ and watches src/ for changes.Dive Deeper
runMCPServer API Reference
Complete configuration options and ChatGPT connection guide.
Simulation API Reference
Complete simulation documentation.