How does ChatGPT apps work?
Your MCP server is the foundation of every ChatGPT App. It exposes tools that the model can call, enforces authentication, and packages the structured data plus component that the ChatGPT client renders inline. This guide walks through the core building blocks with examples in FastApps.Tool Architecture
BaseWidget Class
Every FastApps tool must inherit fromBaseWidget
:
Next Steps
Ready to start building?- Tool Basics - Learn the fundamentals
- Advanced Patterns - Complex business logic
- API Integration - Connect to external services