# Magic

> An open-source, self-hosted app builder where you describe an app in ordinary English and get its database, API and frontend, plus every endpoint exposed as an MCP tool.

- **Category:** Low Code
- **Licence:** MIT
- **Latest version:** v24.1.5
- **Open source:** oss
- **Languages:** Typescript, CSS, C#
- **Platforms:** Docker Compose, Kubernetes, DigitalOcean, Build from Source
- **Tags:** Low Code, Mcp, REST API, Openapi, Workflow Automation, Mcp Server, Ai Agents, No Code, Dotnet, Agentic Ai, LLM, Rag, MSSQL, AI, Backend, Self Hosted, Csharp, App Builder, Ai Chatbot, Code generation, Full Stack Generator, Hyperlambda, Crud API, Crud Generator

## Description

Magic is an open-source platform that turns ordinary English descriptions into running applications: the database behind them, a role-restricted HTTP API and the frontend, all executed on hardware you control. Generated logic lands in Hyperlambda, a tree-structured language compiled into an abstract syntax tree that the runtime matches against a per-role whitelist of callable functions — the mechanism the project relies on to make AI-authored code safe to execute. The dashboard brings together an IDE with a prompt bar under the editor, a playground for running snippets before saving them, a SQL workbench for designing and interrogating schemas (SQLite built in, plus SQL Server, MySQL, PostgreSQL and MariaDB), a generator that converts tables into CRUD endpoints, an importer for OpenAPI and Swagger specifications, users and roles, scheduled tasks, machine-learning tools for training chatbots on your own content, a visual designer that edits the served HTML file in place, and an execution recorder you can step through backwards. Install the mcp plugin and your cloudlet acts as an MCP server whose tools are your own endpoints, with an OAuth 2.1 flow of its own and tool lists filtered by role. Self-hosting is a single docker compose command that brings up the backend on 4444 and the dashboard on 5555; Kubernetes, a manual VPS compose stack behind nginx-proxy, and a DigitalOcean cloud-init droplet are documented too, while ongoing hardening remains the operator's job. Code generation and embeddings-based retrieval default to OpenAI and need a key, but Ollama and Hugging Face plugins can replace inference and BM25 keyword search avoids embeddings altogether. The hosted generator is free for now with per-request pricing expected later, and AINIRO.IO sells managed cloudlets starting at $100 a month.

## Links

- [Homepage](https://github.com/polterguy/magic)
- [Website](https://hyperlambda.dev)
- [Docker](servergardens/magic-backend)
- [Demo](https://playground.hyperlambda.dev)
- [Documentation](https://docs.ainiro.io)
- [GitHub repository](https://github.com/polterguy/magic)
- [Discord community](https://discord.gg/vdWgJYu5xP)
- [Blog](https://hyperlambda.dev/blog)

---
Source: https://selfhost.directory/project/magic