restheart
by SoftInstigate·★ 875·Score 54
RESTHeart is a MongoDB backend that provides a native MCP server for AI agents to access data via REST and GraphQL APIs.
Overview
RESTHeart is a comprehensive backend solution for MongoDB that exposes data through a native MCP server alongside full REST and GraphQL APIs. It offers AI agents and developers instant, secure access to MongoDB with zero backend boilerplate. Built on Java 25, Undertow, and virtual threads, it provides authentication, authorization, and a plugin system for extending functionality. The platform is available as a Docker image and GraalVM native binary, making it easy to deploy in various environments.
Try asking AI
After installing, here are 4 things you can ask your AI assistant:
When to choose this
Choose RESTHeart when you need a production-ready backend for AI agents to access MongoDB securely without custom integration code.
When NOT to choose this
Avoid if you need AGPLv3 compliance for all components (plugins have Apache 2.0 exception but core is AGPLv3) or if you require write capabilities (this is primarily a read-only MCP server).
Tools this server exposes
7 tools extracted from the READMEquery_mongodbQuery MongoDB data with filters, sorting, and pagination
create_documentCreate a new document in a MongoDB collection
update_documentUpdate an existing document in MongoDB
delete_documentDelete a document from a MongoDB collection
aggregate_dataPerform MongoDB aggregation operations on collections
create_github_issueCreate a new issue in a GitHub repository
list_filesList files in a directory or collection
Comparable tools
Installation
Quick Start Options
**Option 1 — RESTHeart Cloud (no install)** Sign up for the fully managed service at [cloud.restheart.com](https://cloud.restheart.com/signup)
**Option 2 — Docker Compose (local)**
curl https://raw.githubusercontent.com/SoftInstigate/restheart/master/docker-compose.yml --output docker-compose.yml && docker compose up --attach restheartDefault credentials: admin / secret
**Option 3 — Native Executables** Download prebuilt binaries for macOS, Linux, and Windows from [docs/native-executables.md](https://github.com/SoftInstigate/restheart/blob/master/docs/native-executables.md)
**Claude Desktop Setup** In Claude Desktop settings, add a custom connector with context URL: https://sophia-api.restheart.com/mcp/restheart/
**Claude Code Setup**
claude mcp add --transport http sophia-restheart https://sophia-api.restheart.com/mcp/restheartOn Hacker News
Recent discussion from the developer community.
- Story by mkj6 · 2015-10-23
- Story by mkj6 · 2016-02-13
Compare restheart with
Last updated · Auto-generated from public README + GitHub signals.