MCP Catalogs
首页restheart screenshot

restheart

by SoftInstigate·875·综合分 54

RESTHeart 是一个 MongoDB 后端,提供原生 MCP 服务器,让 AI 代理通过 REST 和 GraphQL API 访问数据。

databaseai-llmdeveloper-tools
175
Forks
23
活跃 Issue
本月
最近提交
2 天前
收录于

概述

RESTHeart 是 MongoDB 的全面后端解决方案,通过原生 MCP 服务器以及完整的 REST 和 GraphQL API 来暴露数据。它为 AI 代理和开发者提供了即时、安全的 MongoDB 访问权限,无需后端样板代码。基于 Java 25、Undertow 和虚拟线程构建,提供身份验证、授权和插件系统以扩展功能。该平台可作为 Docker 映像和 GraalVM 原生二进制文件使用,便于在各种环境中部署。

试试问 AI

装完之后,这里有 4 个你可以让 AI 做的事:

:通过 MCP 访问 MongoDB 数据的 AI 代理后端
:无样板代码的 API 开发
:使用 WebSocket 和 SSE 的实时应用
:通过向现有 MongoDB 数据库添加现代 API 进行现代化改造

什么时候选它

当您需要一个为 AI 代理提供生产就绪的 MongoDB 访问后端,无需自定义集成代码时,选择 RESTHeart。

什么时候不要选它

如果您需要对所有组件遵循 AGPLv3 协议(插件有 Apache 2.0 例外但核心是 AGPLv3)或者您需要写入功能(这主要是只读 MCP 服务器),请避免使用。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • query_mongodb

    Query MongoDB data with filters, sorting, and pagination

  • create_document

    Create a new document in a MongoDB collection

  • update_document

    Update an existing document in MongoDB

  • delete_document

    Delete a document from a MongoDB collection

  • aggregate_data

    Perform MongoDB aggregation operations on collections

  • create_github_issue

    Create a new issue in a GitHub repository

  • list_files

    List files in a directory or collection

可对比工具

supabase-mcpmongomcppostgresql-mcpfauna-mcp

安装

快速启动选项

**选项 1 — RESTHeart 云服务(无需安装)** 在 [cloud.restheart.com](https://cloud.restheart.com/signup) 注册完全托管服务

**选项 2 — Docker Compose(本地)**

curl https://raw.githubusercontent.com/SoftInstigate/restheart/master/docker-compose.yml --output docker-compose.yml && docker compose up --attach restheart

默认凭据:admin / secret

**选项 3 — 原生可执行文件** 从 [docs/native-executables.md](https://github.com/SoftInstigate/restheart/blob/master/docs/native-executables.md) 下载 macOS、Linux 和 Windows 的预构建二进制文件

**Claude Desktop 设置** 在 Claude Desktop 设置中,添加自定义连接器,上下文 URL 为:https://sophia-api.restheart.com/mcp/restheart/

**Claude Code 设置**

claude mcp add --transport http sophia-restheart https://sophia-api.restheart.com/mcp/restheart

Hacker News 讨论

开发者社区最近的相关讨论。

restheart 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。