Magic Cloud — Claude Code MCP server: what it does, how to install
Generates secure CRUD APIs over databases, executes SQL, and exposes endpoints as MCP tools to AI agents. Useful for running self-hosted backends with role-based access control.
Open on GitHubWhat Magic Cloud does
Magic Cloud runs an open-source backend on top of the .NET 10 runtime and Hyperlambda directly on your hardware. You can point the API Wizard at existing PostgreSQL, MySQL, SQL Server, or MariaDB schemas to generate REST endpoints. It also turns OpenAPI and Swagger definitions into typed wrappers.
The platform includes the Hyper IDE dashboard and SQL Studio. Once you install the mcp plugin from the cloudlet dashboard, every HTTP endpoint in the modules directory becomes an MCP tool for Claude Code, Cursor, or Codex. Hyperlambda runs inside an isolated sandbox with role-based access control. It checks functions against an allowlist during execution, protecting the host filesystem.
Running the platform locally requires Docker. The backend binds to port 4444, while the dashboard serves on port 5555. Because the generator outputs an abstract syntax tree rather than plain text, the engine rejects nonexistent function calls before execution.
What it helps with
- generate secure REST APIs from existing relational database schemas
- expose backend endpoints as MCP tools for Claude Code
- wrap external OpenAPI specifications into callable endpoints
- run scheduled background jobs on self-hosted hardware
Example prompts for the agent
- Call the Magic Cloud endpoint to update the order status in the database.
- Invoke the API tool from the
modulesdirectory to fetch users with the admin role.
How to install Magic Cloud
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Magic Cloud
How do you install and run Magic Cloud for Claude Code?
Start the containers with curl -fsSL https://hyperlambda.dev/docker-compose.yaml | docker compose -f - up. Open localhost:5555, point it to localhost:4444, sign in with root / root, and install the mcp plugin in the dashboard.
What does Magic Cloud do?
It generates a full backend with REST APIs, authentication, and role-based access control from your existing database tables. With the mcp plugin, every generated endpoint instantly becomes an MCP tool for AI agents.
Which databases are supported by Magic Cloud?
The API Wizard supports MySQL, PostgreSQL, SQL Server, and MariaDB schemas.