Deletes the MCP configuration with the specified ID for the specified project.
The atlas api sub-command is automatically generated from the MongoDB Atlas Admin API and offers full coverage of the Admin API. Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.
This command is autogenerated and corresponds 1:1 with the Atlas API endpoint https://www.mongodb.com/ko-kr/docs/api/doc/atlas-admin-api-v2/operation/operation-deletegroupmcpconfig.
For more information and examples, see the referenced API documentation linked above.
Syntax
atlas api remoteMcpConfigurations deleteGroupMcpConfig [options]
Options
Name | Type | Required | Description |
|---|---|---|---|
--cascading | false | Flag that indicates whether to delete the MCP configuration even if it has active secrets. If false and active secrets exist, the request returns an error. Defaults to false. | |
--groupId | string | true | Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
-h, --help | false | help for deleteGroupMcpConfig | |
--mcpConfigId | string | true | Unique identifier of the MCP configuration to delete. |
-o, --output | string | false | preferred api format, can be ["json", go-template] This value defaults to "json". |
--outputFile | string | false | file to write the api output to. This flag is required when the output of an endpoint is binary (ex: gzip) and the command is not piped (ex: atlas command > out.zip) |
--version | string | false | API version to use when calling the Atlas API endpoints [options: "2025-03-12"]. If not set by the user, defaults to the latest version or the profile's api_version config value if set. This value defaults to "2025-03-12". |
Inherited Options
Name | Type | Required | Description |
|---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Examples
atlas api remoteMcpConfigurations deleteGroupMcpConfig --version 2025-03-12 --groupId 32b6e34b3d91647abb20e7b8 --mcpConfigId b9254bc4-d6cc-4325-abf4-fb9d2a9de00a