Magic Cloud
Self-hosted backend that turns a database into secured APIs and MCP tools
- Pricing
- Freemium
- Platforms
- self-hosted, Web, API
- Runs
- Remotely
- Version
- 24.4.23
- Listing updated
- 3 days ago
About Magic Cloud
Magic Cloud is a freemium MCP server for databases. It runs as a hosted remote server, so there is nothing to install locally.
Magic Cloud is an MIT-licensed platform built on Hyperlambda, a language whose code is an AST that is checked against a whitelist before it runs. Its pitch is that an agent can be given a sandbox and a restricted vocabulary, and a bundled generator cannot return a function that does not exist. The registry entry shows the MCP endpoint lives on your own Magic instance, at /magic/modules/mcp/mcp, rather than a shared hosted URL.
Through it, an assistant can generate secured CRUD APIs over an existing SQL Server, MySQL, PostgreSQL or SQLite database, run SQL, manage files and tasks, and drive a headless browser. Every endpoint becomes an MCP tool behind role-based access control. The README also describes wrapping any OpenAPI or Swagger spec, background jobs, chatbots grounded in crawled content, and a Chat Ops agent that builds database, API and frontend from a description.
Run it with Docker Compose on your own hardware for free. AINIRO also sells managed cloudlets with a 14-day trial, billed per cloudlet rather than per user.
Install
Run in a terminal
claude mcp add magic --env magic_host='<magic_host>' -- docker run -i --rm -e magic_host docker.io/servergardens/magic-aio:v24.4.23Add to claude_desktop_config.json
{
"mcpServers": {
"magic": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"magic_host",
"docker.io/servergardens/magic-aio:v24.4.23"
],
"env": {
"magic_host": "<magic_host>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"magic": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"magic_host",
"docker.io/servergardens/magic-aio:v24.4.23"
],
"env": {
"magic_host": "<magic_host>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"magic": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"magic_host",
"docker.io/servergardens/magic-aio:v24.4.23"
],
"env": {
"magic_host": "<magic_host>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"magic": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"magic_host",
"docker.io/servergardens/magic-aio:v24.4.23"
],
"env": {
"magic_host": "<magic_host>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"magic": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"magic_host",
"docker.io/servergardens/magic-aio:v24.4.23"
],
"env": {
"magic_host": "<magic_host>"
}
}
}
}Configuration
magic_hostHostname of your own Magic instance, e.g. magic.example.comRequired
What it does
- CRUD API generation
- Point it at a database and get a role-gated REST API.
- Endpoints as MCP tools
- Every endpoint is exposed to MCP clients.
- Sandboxed runtime
- Hyperlambda runs with no file access outside its sandbox and can whitelist functions.
- SQL, files and tasks
- Run SQL and manage files and scheduled tasks.
- Headless browser
- Drive a browser from the same instance.
- OpenAPI wrappers
- Wrap third-party APIs from an OpenAPI or Swagger URL.
Good for
- Put an agent on an existing SQL database with access control
- Generate an internal CRM or admin tool from a description
- Wrap a legacy system with an API
- Expose company endpoints to Claude or Cursor
- Run scheduled background jobs
Pricing
Freemium
MIT self-hosted free; managed cloudlet with 14-day trial, billed per cloudlet
Prices change. Check hyperlambda.dev before you buy.
Magic Cloud FAQ
Is it free?
The runtime is MIT-licensed and free to self-host. Managed cloudlets are paid with a 14-day trial.
How do I start it locally?
Run the Docker Compose file from hyperlambda.dev and log in at localhost:5555; change the default root password.
Are app users billed?
On managed cloudlets, no. Billing is per cloudlet, not per user.
Which databases work?
SQL Server, MySQL, PostgreSQL, MariaDB and SQLite are mentioned.
Is Magic Cloud free?
Magic Cloud has a free plan, with paid plans for more usage or features.
How do I add Magic Cloud to Claude Code?
Run this command in your terminal: claude mcp add magic --env magic_host='<magic_host>' -- docker run -i --rm -e magic_host docker.io/servergardens/magic-aio:v24.4.23
What are the best alternatives to Magic Cloud?
The closest alternatives to Magic Cloud are REA, Browser Use, Scrapling MCP Server, Codebase Memory and GitHub.
Alternatives to Magic Cloud

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Browser Use
MCP serverBrowser agents and cloud browsers for AI, with an MCP server for web tasks
- 7 tools
- Remote
- Freemium
- 121K GitHub stars
- Browser automation

Scrapling MCP Server
MCP serverMCP server for AI clients to scrape sites with HTTP and stealth browser sessions
Runs locally- 17 tools
- Open source
- 104K GitHub stars
- Web search and scraping

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools