Skip to content

Commit 04a77ca

Browse files
chore: new config prop toolMetadataOverrides
1 parent 607c250 commit 04a77ca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/common/config/userConfig.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,14 @@ export const UserConfigSchema = z4.object({
167167
)
168168
.default([])
169169
.describe("An array of preview features that are enabled."),
170+
toolMetadataOverrides: z4
171+
.record(
172+
z4.string().describe("Original name of the MongoDB MCP server tool that needs to be overridden."),
173+
z4.object({
174+
name: z4.string().nonempty().optional().describe("New name to be used for the tool."),
175+
description: z4.string().nonempty().optional().describe("New description to be used for the tool."),
176+
})
177+
)
178+
.default({})
179+
.describe("A map of name of the MongoDB MCP server tool to the metadata that needs to be used for that tool."),
170180
});

0 commit comments

Comments
 (0)