Generating Code
Convert your HyperStudio application into a runtime MCP-ready application.
Pre-Generation Checklist
Before generating, verify
- Agent name and instructions are complete
- All necessary tools are defined
- Tool descriptions are clear
Code Generation Process
1
Review Configuration
Open the MCP configuration panel and review all settings. Ensure your agent name clearly identifies the application and instructions provide sufficient context.
2
Generate Application Code
Click the Generate Code button in HyperStudio. This creates:
- Application code with your business logic
- MCP agent implementation
- Tool handlers with validation
- JSON schemas for all tools
- MCP-compliant API endpoints
3
Download & Extract
Download the generated code package and extract it to your deployment location.
4
Install Dependencies
npm install
5
Start the Application
npm run start
Your application is now running with MCP endpoints available.
What's Generated
| Component | Description |
|---|---|
| MCP Agent | Handles AI client connections and routing |
| Tool Handlers | Execute defined tools with parameter validation |
| JSON Schemas | Describe tool parameters for AI clients |
| API Endpoints | MCP-compliant REST endpoints |
Next Steps
- Connecting to Claude - Set up Claude Desktop integration
- Financial App Example - Complete working example