diff --git a/package.json b/package.json index b9c2d85fd..1f2df2be4 100644 --- a/package.json +++ b/package.json @@ -1282,6 +1282,64 @@ "type": "boolean", "default": true, "description": "Specify whether to show the overview page immediately after installing the extension." + }, + "mdb.mcp.apiBaseUrl": { + "type": "string", + "default": "https://cloud.mongodb.com/", + "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." + }, + "mdb.mcp.apiClientId": { + "type": "string", + "default": "", + "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." + }, + "mdb.mcp.apiClientSecret": { + "type": "string", + "default": "", + "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." + }, + "mdb.mcp.disabledTools": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Tool names, operation types (create, update, delete, read, metadata), and/or categories (atlas, mongodb) to disable in MongoDB MCP server." + }, + "mdb.mcp.readOnly": { + "type": "boolean", + "default": false, + "description": "When set to true, MongoDB MCP server will only allow read, connect, and metadata operation types, disabling create/update/delete operations." + }, + "mdb.mcp.indexCheck": { + "type": "boolean", + "default": false, + "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." + }, + "mdb.mcp.server": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "ask" + ], + "default": "ask", + "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." + }, + "mdb.mcp.exportsPath": { + "type": "string", + "default": "", + "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." + }, + "mdb.mcp.exportTimeoutMs": { + "type": "number", + "default": 300000, + "description": "The time in milliseconds after which the MongoDB MCP server will expire the export. Default is 5 minutes (300000ms)." + }, + "mdb.mcp.exportCleanupIntervalMs": { + "type": "number", + "default": 120000, + "description": "Controls how often the MongoDB MCP server runs the export cleanup process to remove expired files (in milliseconds). Default is 2 minutes (120000ms)." } } },