Skip to content

Commit af88a44

Browse files
committed
Merge remote-tracking branch 'origin/search-skunkworks-2025' into skunkworks/create-add-vector-search
2 parents 4b81caf + da43f52 commit af88a44

File tree

12 files changed

+1511
-88
lines changed

12 files changed

+1511
-88
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# MongoDB MCP Server
1+
# MongoDB MCP Server (Search Skunkworks 2025 Branch)
22

33
A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.
44

5+
This is a branch cut for the search team to collaborate on MCP server changes made during
6+
Skunkworks 2025. Please make your PRs against the `search-skunkworks-2025` branch instead of
7+
the main branch during skunkworks.
8+
59
## 📚 Table of Contents
610

711
- [🚀 Getting Started](#getting-started)

package-lock.json

Lines changed: 73 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/filter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function filterOpenapi(openapi: OpenAPIV3_1.Document): OpenAPIV3_1.Document {
4040
"createProjectIpAccessList",
4141
"deleteProjectIpAccessList",
4242
"listOrganizationProjects",
43+
"listAlerts",
4344
];
4445

4546
const filteredPaths = {};

src/common/atlas/apiClient.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,14 @@ export class ApiClient {
247247
}
248248
}
249249

250+
async listAlerts(options: FetchOptions<operations["listAlerts"]>) {
251+
const { data, error, response } = await this.client.GET("/api/atlas/v2/groups/{groupId}/alerts", options);
252+
if (error) {
253+
throw ApiClientError.fromError(response, error);
254+
}
255+
return data;
256+
}
257+
250258
async listClusters(options: FetchOptions<operations["listClusters"]>) {
251259
const { data, error, response } = await this.client.GET("/api/atlas/v2/groups/{groupId}/clusters", options);
252260
if (error) {

0 commit comments

Comments
 (0)