RESTHeart Cloud
Menu
The backend for AI-first apps

Stop building backends.
Start shipping AI apps.

Your app gets sign-up, login, permissions, payments and live data. Your AI agents get the same data as tools over MCP, under your rules. Nothing to build, nothing to deploy.

2M+ Docker pulls
<5 min to production API
Open-source core since 2014
app.ts
$ npm install @restheart-cloud/kit
import { login, checkSession } from '@restheart-cloud/kit'
 
await login(config, email, password)
const user = await checkSession(config)
 
// { email, roles, teams } — survives a reload
0 backend filesFree service ready in 0:47 — no servers, no deploys
REST /collectionsGraphQL apps, no resolversChange streams WebSocket & SSEMCP your data as agent tools
Your framework

Your app, 2 minutes, every framework

Sign in a user and read their data. Web, mobile, or plain TypeScript.

// npm install @restheart-cloud/kit
import { login, checkSession, getToken } from '@restheart-cloud/kit';

const config = { apiBaseUrl: 'https://f3a9c1.eu-central-1-free-1.restheart.com' };

await login(config, 'alice@example.com', 'her-password');
const user = await checkSession(config); // survives a reload

const todos = await fetch(`${config.apiBaseUrl}/todos`, {
  headers: { Authorization: `Bearer ${getToken()}` },
}).then(r => r.json());

Or start from an app with sign-up, teams and payments already wired: React · Angular · Ecommerce

See the flow in 2 minutes

Short walkthrough of the setup

Build With Any Client

One backend API, endless possibilities

Mobile
iOS
Android
Flutter
+ any other
Web
React
Vue
Angular
RESTHeart Cloud
REST • GraphQL • WebSocket
Web
Svelte
Next.js
JavaScript
+ any other
More
IoT
Desktop
CLI Tools

Standard HTTP APIs - No SDKs required

Use fetch, axios, or any HTTP client you love

Auth & Permissions Built In

JWT authentication, role-based access control, and data-level permissions out of the box. Users and ACL live in MongoDB — your data, your rules.

Learn more

Sign-up Management

Complete user management system: registration, email verification, OAuth social login (Google, GitHub), team invitations, multi-tenancy, and password reset—all built-in and fully managed.

Learn more

REST, GraphQL & Real-time APIs

Every MongoDB collection becomes a REST endpoint, a GraphQL query, and a WebSocket stream — instantly. No backend code, no resolvers to write.

Learn more

Everything Included

Sign-up and OAuth login, RBAC permissions, Stripe payments, webhooks, email and AI — on the Free tier too.

See what you get
Native MCP server

Native MCP server, built in

Point Claude, Cursor, IntelliJ or VS Code at our MCP server in one line and your assistant knows RESTHeart Cloud — the API shapes, the ACL, the aggregations, the kit. It writes the calls to your service correctly the first time, instead of guessing at them.

claude code
$ claude mcp add --transport http sophia-cloud \
https://api.bysophia.ai/mcp/restheart-cloud/
✓ MCP server "sophia-cloud" added
You: "Build an expense tracker. Users log in, add expenses with category and amount, see totals. Use RESTHeart Cloud + React."
Claude: Looking up collections, ACL and aggregations in sophia-cloud...
✓ PUT /expenses — collection created
✓ POST /acl — per-user permission set
✓ PUT /expenses/_aggrs/by-category — totals endpoint
✓ React frontend generated
No custom backend layer.
# Create collection
curl -X PUT https://acac36.eu-central-1-free-1.restheart.com/products \
  -H "Authorization: Bearer YOUR_JWT"

# Add data
curl -X POST https://acac36.eu-central-1-free-1.restheart.com/products \
  -H "Authorization: Bearer YOUR_JWT" \
  -H "Content-Type: application/json" \
  -d '{"name":"Laptop","price":999}'

# Query it
curl https://acac36.eu-central-1-free-1.restheart.com/products?filter={"price":{$lt:1000}} \
  -H "Authorization: Bearer YOUR_JWT"