Skip to content

Commit e8b3647

Browse files
chore: adds config options relevant for MCP server MCP-133 (#1108)
1 parent 2947635 commit e8b3647

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

package.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,64 @@
12901290
"type": "boolean",
12911291
"default": true,
12921292
"description": "Specify whether to show the overview page immediately after installing the extension."
1293+
},
1294+
"mdb.mcp.apiBaseUrl": {
1295+
"type": "string",
1296+
"default": "https://cloud.mongodb.com/",
1297+
"description": "API URL of MongoDB Atlas to be used by MongoDB MCP server for enabling Atlas tools. When empty, it defaults to 'https://cloud.mongodb.com/'. Only change this if you're using a custom Atlas deployment."
1298+
},
1299+
"mdb.mcp.apiClientId": {
1300+
"type": "string",
1301+
"default": "",
1302+
"description": "Atlas API client ID for authenticating against Atlas API. Use a Service Account (https://www.mongodb.com/docs/atlas/configure-api-access/#grant-programmatic-access-to-an-organization) for programmatic access to Atlas APIs. Required for enabling Atlas tools in MongoDB MCP server. Store this securely and do not commit to version control."
1303+
},
1304+
"mdb.mcp.apiClientSecret": {
1305+
"type": "string",
1306+
"default": "",
1307+
"description": "Atlas API client secret for authenticating against Atlas API. Use a Service Account (https://www.mongodb.com/docs/atlas/configure-api-access/#grant-programmatic-access-to-an-organization) for programmatic access to Atlas APIs. Required for enabling Atlas tools in MongoDB MCP server. Store this securely and do not commit to version control."
1308+
},
1309+
"mdb.mcp.disabledTools": {
1310+
"type": "array",
1311+
"items": {
1312+
"type": "string"
1313+
},
1314+
"default": [],
1315+
"description": "Tool names, operation types (create, update, delete, read, metadata), and/or categories (atlas, mongodb) to disable in MongoDB MCP server."
1316+
},
1317+
"mdb.mcp.readOnly": {
1318+
"type": "boolean",
1319+
"default": false,
1320+
"description": "When set to true, MongoDB MCP server will only allow read, connect, and metadata operation types, disabling create/update/delete operations."
1321+
},
1322+
"mdb.mcp.indexCheck": {
1323+
"type": "boolean",
1324+
"default": false,
1325+
"description": "When set to true, MongoDB MCP server enforces that query operations must use an index, rejecting queries that perform a collection scan. This helps prevent performance issues in production environments."
1326+
},
1327+
"mdb.mcp.server": {
1328+
"type": "string",
1329+
"enum": [
1330+
"enabled",
1331+
"disabled",
1332+
"ask"
1333+
],
1334+
"default": "ask",
1335+
"description": "Controls whether MongoDB MCP server starts automatically with the extension or if a permission is requested when connecting to a new connection. If automatic startup is disabled, the server can still be started using the 'MongoDB: Start MCP Server' command."
1336+
},
1337+
"mdb.mcp.exportsPath": {
1338+
"type": "string",
1339+
"default": "",
1340+
"description": "The directory where the MongoDB MCP server will export the data to when using the export tool. Ensure the path is writable or leave empty to use the default path."
1341+
},
1342+
"mdb.mcp.exportTimeoutMs": {
1343+
"type": "number",
1344+
"default": 300000,
1345+
"description": "The time in milliseconds after which the MongoDB MCP server will expire the export. Default is 5 minutes (300000ms)."
1346+
},
1347+
"mdb.mcp.exportCleanupIntervalMs": {
1348+
"type": "number",
1349+
"default": 120000,
1350+
"description": "Controls how often the MongoDB MCP server runs the export cleanup process to remove expired files (in milliseconds). Default is 2 minutes (120000ms)."
12931351
}
12941352
}
12951353
},

0 commit comments

Comments
 (0)