Skip to content

Commit 9270c4f

Browse files
committed
address comment: remove cluster operation type
1 parent aefccf7 commit 9270c4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Operation types:
184184

185185
#### Read-Only Mode
186186

187-
The `readOnly` configuration option allows you to restrict the MCP server to only use tools with "read" and "metadata" operation types. When enabled, all tools that have "create", "update", "delete", or "cluster" operation types will not be registered with the server.
187+
The `readOnly` configuration option allows you to restrict the MCP server to only use tools with "read" and "metadata" operation types. When enabled, all tools that have "create", "update" or "delete" operation types will not be registered with the server.
188188

189189
This is useful for scenarios where you want to provide access to MongoDB data for analysis without allowing any modifications to the data or infrastructure.
190190

src/tools/tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { UserConfig } from "../config.js";
1010

1111
export type ToolArgs<Args extends ZodRawShape> = z.objectOutputType<Args, ZodNever>;
1212

13-
export type OperationType = "metadata" | "read" | "create" | "delete" | "update" | "cluster";
13+
export type OperationType = "metadata" | "read" | "create" | "delete" | "update";
1414
export type ToolCategory = "mongodb" | "atlas";
1515

1616
export abstract class ToolBase {

0 commit comments

Comments
 (0)