Local Development (Recommended)
Openhttp://localhost:3000/ in your browser to access DevTools. This is the fastest way to develop:
- Tool listing - See all registered tools and widgets
- Input forms - Test tools with custom inputs
- Widget preview - Render widgets in a mocked ChatGPT environment
- Theme/locale switching - Test different display modes
window.openai API, so your widget code works identically in both environments.
Want LLM-based conversations locally?For complete local emulation with real LLM conversations, check out MCP Jam - a third-party tool that provides a full ChatGPT-like environment for testing MCP servers.
Testing in ChatGPT
When you’re ready to test the full integration with the LLM:1. Expose your server
ChatGPT needs a public URL. Use ngrok to expose your local server:https://abc123.ngrok-free.app).
2. Connect to ChatGPT
- In ChatGPT, go to Profile → Apps → Create app
- Enter your ngrok URL with
/mcpat the end: - Click Create
3. Test your app
- Start a new conversation
- Select your app using the + button
- Prompt the model to trigger your tools
Hot Module Reload
Widget changes inweb/src/widgets/ appear instantly in ChatGPT without reconnecting.
Server changes in server/src/ require starting a new conversation to take effect.
