Skip to main content

Generate 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 Setup

Open the MCP settings 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 setup
  • 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.

Components Generated

ComponentDescription
MCP AgentHandles AI client connections and routing
Tool HandlersExecute defined tools with parameter validation
JSON SchemasDescribe tool parameters for AI clients
API EndpointsMCP-compliant REST endpoints

Next Steps