</>MCP Agents Market
MCP Server

restheart

by SoftInstigate883JavaUpdated 2026-09-12

The Open Source Backend for MongoDB

Claude CodeCursorVS Code

RESTHeart is an open-source backend platform that transforms MongoDB databases into fully-featured REST, GraphQL, WebSocket, and Server-Sent Events APIs with built-in authentication and authorization. It includes Sophia, an MCP server that exposes RESTHeart's documentation and plugin development interfaces to AI coding assistants such as Claude Code, Cursor, and VS Code. Developers can query MongoDB collections through declarative HTTP endpoints without writing route handlers, and extend functionality through plugins written in Java, Kotlin, JavaScript, or TypeScript.

Key Features

Automatic REST API generation from MongoDB collections with filtering, sorting, pagination, and aggregations
GraphQL endpoint with schema-driven mapping to MongoDB queries
Real-time data sync via WebSocket change streams and Server-Sent Events
Declarative authentication and authorization supporting JWT, OAuth2, LDAP, and MongoDB-based ACL rules
Sophia MCP server exposing documentation and plugin API to AI coding assistants
Plugin framework supporting custom services and interceptors in Java, Kotlin, JavaScript, or TypeScript
Prometheus-compatible metrics endpoint with browser dashboard for monitoring request rates and latency
Distributed as Docker image and GraalVM native binary

Use Cases

  • 01Building REST APIs for mobile and web applications backed by MongoDB without writing API routes
  • 02Creating real-time dashboards and IoT data feeds using WebSocket change streams
  • 03Developing GraphQL APIs with automatic MongoDB query translation
  • 04Integrating AI coding assistants with RESTHeart documentation and plugin development through the Sophia MCP server
  • 05Implementing authentication and authorization for MongoDB-backed applications using declarative ACL rules
  • 06Extending data API functionality with custom business logic through the plugin framework

Related MCP Servers

View more

restheart — FAQ

What is RESTHeart?+

RESTHeart is an open-source backend platform that automatically generates REST, GraphQL, WebSocket, and SSE APIs from MongoDB databases, with built-in authentication, authorization, and a plugin framework. It includes Sophia, an MCP server that connects AI coding assistants to RESTHeart's documentation and plugin development API.

How do I install RESTHeart?+

For self-hosted deployment, download the docker-compose.yml file and run docker compose up. Alternatively, use the fully managed RESTHeart Cloud which includes the Sophia MCP server pre-configured for AI assistant integration.

Which AI clients work with the Sophia MCP server?+

The Sophia MCP server works with Claude Code, Cursor, VS Code, and other AI coding assistants that support the Model Context Protocol.

Do I need API keys or a MongoDB instance to use RESTHeart?+

You need a MongoDB instance to connect RESTHeart to. RESTHeart Cloud provides both the platform and MongoDB managed together, while self-hosted deployments require you to provide your own MongoDB instance.

Is RESTHeart free to use?+

RESTHeart core is free and open source under the GNU AGPL v3 license. Plugins can be distributed under any license including proprietary ones when they only depend on the Apache-licensed restheart-commons library.

Can I extend RESTHeart with custom logic?+

Yes, RESTHeart provides a plugin framework that supports custom services, interceptors, and initializers written in Java, Kotlin, JavaScript, or TypeScript for functionality beyond the declarative data API.

How do I install restheart?+

Open the source repository on GitHub and follow its README. restheart is a mcp server — MCP Agents Market links you directly to the official repo.

Is restheart free?+

restheart is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches