Mcp
Generate code from semantic type definitions
Generates production-ready code files from structured type definitions using semantic type understanding.
Supports 10 languages: TypeScript, Python, Go, C#, Java, Kotlin, Groovy, Scala, Swift, PHP.
This endpoint is used by the MetaEngine MCP Server for AI-assisted code generation via Claude Code and other MCP-compatible tools.
The submitted configuration is processed in memory only: it is never written to the application log. Failures are logged as an exception type against an incident id, which is returned to the caller.
post/api/mcp/generate
Request body
Response
Code generated successfully. Returns array of file paths and contents with execution metrics.