Expand description
MCP Preview Server
A browser-based development environment for testing MCP Apps widgets. Simulates the ChatGPT Apps runtime environment with full bridge support.
§Usage
cargo pmcp preview --url http://localhost:3000 --open§Features
- Widget rendering in isolated iframe
- Full
window.mcpBridge/window.openaisimulation - Environment controls (theme, locale, display mode)
- DevTools panel (state, console, network, events)
- Live proxy to MCP server via HTTP
Structs§
- Preview
Config - Configuration for the preview server
- Preview
Server - MCP Preview Server