# 策展 · X (Twitter) 🔥

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 作者：MongoDB (@MongoDB) · 平台：X (Twitter) · 日期：2026-06-12

> 原始來源：https://x.com/MongoDB/status/2065120404172329137

## 中文摘要

MongoDB 正式進駐 Grok Build Plugin Marketplace，透過 MCP 協定賦予 Agent 執行資料庫操作與效能優化的能力。

**核心整合功能**
MongoDB 宣布其插件現已於 Grok Build Plugin Marketplace 上架，旨在將資料庫管理能力直接整合至 AI 開發流程中。此次整合提供兩大核心價值：
- 提供專為 MongoDB 工作流程與最佳實踐設計的 Agent skill。
- 透過 MCP（Model Context Protocol）Server，讓 Agent 具備即時且具備上下文感知（context-aware）的資料庫指導能力。

**實際操作流程**
根據 Grok Build 0.2.45 版本展示，使用者可透過自然語言直接與 MongoDB Atlas 資料庫互動，無需手動撰寫複雜查詢。具體操作步驟如下：
1. 進入 Grok Build 的 Marketplace 搜尋並安裝 `mongodb` 插件。
2. 系統會自動執行一系列工具呼叫（Tools call），包含 `connect`、`list-databases`、`list-collections`、`db-stats`、`find` 以及 `aggregate`。
3. 使用者僅需輸入自然語言指令，即可完成資料檢索與分析。

**應用成效**
在實際演示中，該插件能迅速處理複雜的資料分析任務。例如，透過單一提示詞（prompt），系統成功產出「銷售總量前 10 名產品」排行榜，數據顯示「Atlas App Services」以 104 件銷售量居冠，隨後依序為「Atlas SQL Interface」（88 件）、「Atlas Stream Processing」（66 件）等。此整合不僅簡化了資料探索過程，更協助開發者在 Grok Build 環境中更高效地建構高效能向量搜尋系統。

<video src="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/1781227213526-jq09axw9.mp4" poster="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/0e7bf1a70d4f1ffb.jpg" controls playsinline preload="metadata" style="max-width:100%;height:auto;display:block;margin:1rem 0"></video>
> 使用 Grok Build 的 MongoDB MCP 插件，透過自然語言查詢 MongoDB Atlas 資料庫中的銷售數據。

## 媒體內容

**使用 Grok Build 的 MongoDB MCP 插件，透過自然語言查詢 MongoDB Atlas 資料庫中的銷售數據。**

**影片中的 Prompt 與操作**

Prompt（00:10）：

```
連接到我的 MongoDB Atlas 叢集，查看 grok_demo 資料庫中的 orders 集合，並找出總購買數量前 10 名的產品。
```

原文：Connect to my MongoDB Atlas cluster, look at the orders collection in the grok_demo database, and find the top 10 most purchased products by total quantity.

操作步驟：

1. （00:02）安裝 mongodb 插件
2. （00:10）輸入查詢指令並送出

## 標籤

MCP, 功能更新, Agent, 新產品, MongoDB, Grok, xAI
