published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
mongodbatlas.McpConfig provides an Organization Remote MCP Configuration resource. The resource lets you create, update, delete, and import a Remote MCP configuration for the specified Organization.
IMPORTANT: This resource does not manage ingress secrets. Use
mongodbatlas.McpConfigSecretto create one.
Example Usage
S
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const _this = new mongodbatlas.McpConfig("this", {
orgId: orgId,
mcpConfigName: "example-mcp-config",
roles: ["ORG_READ_ONLY"],
ipAccessLists: [{
cidrBlock: "203.0.113.0/24",
}],
});
export const mcpConfigId = _this.mcpConfigId;
export const clientId = _this.clientId;
export const egressClientId = _this.egressClientId;
import pulumi
import pulumi_mongodbatlas as mongodbatlas
this = mongodbatlas.McpConfig("this",
org_id=org_id,
mcp_config_name="example-mcp-config",
roles=["ORG_READ_ONLY"],
ip_access_lists=[{
"cidr_block": "203.0.113.0/24",
}])
pulumi.export("mcpConfigId", this.mcp_config_id)
pulumi.export("clientId", this.client_id)
pulumi.export("egressClientId", this.egress_client_id)
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
this, err := mongodbatlas.NewMcpConfig(ctx, "this", &mongodbatlas.McpConfigArgs{
OrgId: pulumi.Any(orgId),
McpConfigName: pulumi.String("example-mcp-config"),
Roles: pulumi.StringArray{
pulumi.String("ORG_READ_ONLY"),
},
IpAccessLists: mongodbatlas.McpConfigIpAccessListArray{
&mongodbatlas.McpConfigIpAccessListArgs{
CidrBlock: pulumi.String("203.0.113.0/24"),
},
},
})
if err != nil {
return err
}
ctx.Export("mcpConfigId", this.McpConfigId)
ctx.Export("clientId", this.ClientId)
ctx.Export("egressClientId", this.EgressClientId)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var @this = new Mongodbatlas.McpConfig("this", new()
{
OrgId = orgId,
McpConfigName = "example-mcp-config",
Roles = new[]
{
"ORG_READ_ONLY",
},
IpAccessLists = new[]
{
new Mongodbatlas.Inputs.McpConfigIpAccessListArgs
{
CidrBlock = "203.0.113.0/24",
},
},
});
return new Dictionary<string, object?>
{
["mcpConfigId"] = @this.McpConfigId,
["clientId"] = @this.ClientId,
["egressClientId"] = @this.EgressClientId,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.McpConfig;
import com.pulumi.mongodbatlas.McpConfigArgs;
import com.pulumi.mongodbatlas.inputs.McpConfigIpAccessListArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var this_ = new McpConfig("this", McpConfigArgs.builder()
.orgId(orgId)
.mcpConfigName("example-mcp-config")
.roles("ORG_READ_ONLY")
.ipAccessLists(McpConfigIpAccessListArgs.builder()
.cidrBlock("203.0.113.0/24")
.build())
.build());
ctx.export("mcpConfigId", this_.mcpConfigId());
ctx.export("clientId", this_.clientId());
ctx.export("egressClientId", this_.egressClientId());
}
}
resources:
this:
type: mongodbatlas:McpConfig
properties:
orgId: ${orgId}
mcpConfigName: example-mcp-config
roles:
- ORG_READ_ONLY
ipAccessLists:
- cidrBlock: 203.0.113.0/24
outputs:
mcpConfigId: ${this.mcpConfigId}
clientId: ${this.clientId}
egressClientId: ${this.egressClientId}
pulumi {
required_providers {
mongodbatlas = {
source = "pulumi/mongodbatlas"
}
}
}
resource "mongodbatlas_mcpconfig" "this" {
org_id = orgId
mcp_config_name = "example-mcp-config"
roles = ["ORG_READ_ONLY"]
ip_access_lists {
cidr_block = "203.0.113.0/24"
}
}
output "mcpConfigId" {
value = mongodbatlas_mcpconfig.this.mcp_config_id
}
output "clientId" {
value = mongodbatlas_mcpconfig.this.client_id
}
output "egressClientId" {
value = mongodbatlas_mcpconfig.this.egress_client_id
}
Create McpConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new McpConfig(name: string, args: McpConfigArgs, opts?: CustomResourceOptions);@overload
def McpConfig(resource_name: str,
args: McpConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def McpConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
mcp_config_name: Optional[str] = None,
org_id: Optional[str] = None,
roles: Optional[Sequence[str]] = None,
ip_access_lists: Optional[Sequence[McpConfigIpAccessListArgs]] = None)func NewMcpConfig(ctx *Context, name string, args McpConfigArgs, opts ...ResourceOption) (*McpConfig, error)public McpConfig(string name, McpConfigArgs args, CustomResourceOptions? opts = null)
public McpConfig(String name, McpConfigArgs args)
public McpConfig(String name, McpConfigArgs args, CustomResourceOptions options)
type: mongodbatlas:McpConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "mongodbatlas_mcp_config" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args McpConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args McpConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args McpConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args McpConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args McpConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mcpConfigResource = new Mongodbatlas.McpConfig("mcpConfigResource", new()
{
McpConfigName = "string",
OrgId = "string",
Roles = new[]
{
"string",
},
IpAccessLists = new[]
{
new Mongodbatlas.Inputs.McpConfigIpAccessListArgs
{
CidrBlock = "string",
IpAddress = "string",
},
},
});
example, err := mongodbatlas.NewMcpConfig(ctx, "mcpConfigResource", &mongodbatlas.McpConfigArgs{
McpConfigName: pulumi.String("string"),
OrgId: pulumi.String("string"),
Roles: pulumi.StringArray{
pulumi.String("string"),
},
IpAccessLists: mongodbatlas.McpConfigIpAccessListArray{
&mongodbatlas.McpConfigIpAccessListArgs{
CidrBlock: pulumi.String("string"),
IpAddress: pulumi.String("string"),
},
},
})
resource "mongodbatlas_mcp_config" "mcpConfigResource" {
lifecycle {
create_before_destroy = true
}
mcp_config_name = "string"
org_id = "string"
roles = ["string"]
ip_access_lists {
cidr_block = "string"
ip_address = "string"
}
}
var mcpConfigResource = new McpConfig("mcpConfigResource", McpConfigArgs.builder()
.mcpConfigName("string")
.orgId("string")
.roles("string")
.ipAccessLists(McpConfigIpAccessListArgs.builder()
.cidrBlock("string")
.ipAddress("string")
.build())
.build());
mcp_config_resource = mongodbatlas.McpConfig("mcpConfigResource",
mcp_config_name="string",
org_id="string",
roles=["string"],
ip_access_lists=[{
"cidr_block": "string",
"ip_address": "string",
}])
const mcpConfigResource = new mongodbatlas.McpConfig("mcpConfigResource", {
mcpConfigName: "string",
orgId: "string",
roles: ["string"],
ipAccessLists: [{
cidrBlock: "string",
ipAddress: "string",
}],
});
type: mongodbatlas:McpConfig
properties:
ipAccessLists:
- cidrBlock: string
ipAddress: string
mcpConfigName: string
orgId: string
roles:
- string
McpConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The McpConfig resource accepts the following input properties:
- Mcp
Config stringName - Human-readable name that identifies this MCP configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Roles List<string>
- List of organization roles to assign to this MCP configuration.
- Ip
Access List<McpLists Config Ip Access List> - List of IP access list entries that define allowed source addresses for this MCP configuration.
- Mcp
Config stringName - Human-readable name that identifies this MCP configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Roles []string
- List of organization roles to assign to this MCP configuration.
- Ip
Access []McpLists Config Ip Access List Args - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp_
config_ stringname - Human-readable name that identifies this MCP configuration.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles list(string)
- List of organization roles to assign to this MCP configuration.
- ip_
access_ list(object)lists - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp
Config StringName - Human-readable name that identifies this MCP configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles List<String>
- List of organization roles to assign to this MCP configuration.
- ip
Access List<McpLists Config Ip Access List> - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp
Config stringName - Human-readable name that identifies this MCP configuration.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles string[]
- List of organization roles to assign to this MCP configuration.
- ip
Access McpLists Config Ip Access List[] - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp_
config_ strname - Human-readable name that identifies this MCP configuration.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles Sequence[str]
- List of organization roles to assign to this MCP configuration.
- ip_
access_ Sequence[Mcplists Config Ip Access List Args] - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp
Config StringName - Human-readable name that identifies this MCP configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles List<String>
- List of organization roles to assign to this MCP configuration.
- ip
Access List<Property Map>Lists - List of IP access list entries that define allowed source addresses for this MCP configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the McpConfig resource produces the following output properties:
- Client
Id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- Egress
Client stringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcp
Config stringId - Unique identifier that identifies this MCP configuration.
- Client
Id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- Egress
Client stringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcp
Config stringId - Unique identifier that identifies this MCP configuration.
- client_
id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress_
client_ stringid - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- id string
- The provider-assigned unique ID for this managed resource.
- mcp_
config_ stringid - Unique identifier that identifies this MCP configuration.
- client
Id String - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress
Client StringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- id String
- The provider-assigned unique ID for this managed resource.
- mcp
Config StringId - Unique identifier that identifies this MCP configuration.
- client
Id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress
Client stringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- id string
- The provider-assigned unique ID for this managed resource.
- mcp
Config stringId - Unique identifier that identifies this MCP configuration.
- client_
id str - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress_
client_ strid - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- id str
- The provider-assigned unique ID for this managed resource.
- mcp_
config_ strid - Unique identifier that identifies this MCP configuration.
- client
Id String - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress
Client StringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- id String
- The provider-assigned unique ID for this managed resource.
- mcp
Config StringId - Unique identifier that identifies this MCP configuration.
Look up Existing McpConfig Resource
Get an existing McpConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: McpConfigState, opts?: CustomResourceOptions): McpConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
egress_client_id: Optional[str] = None,
ip_access_lists: Optional[Sequence[McpConfigIpAccessListArgs]] = None,
mcp_config_id: Optional[str] = None,
mcp_config_name: Optional[str] = None,
org_id: Optional[str] = None,
roles: Optional[Sequence[str]] = None) -> McpConfigfunc GetMcpConfig(ctx *Context, name string, id IDInput, state *McpConfigState, opts ...ResourceOption) (*McpConfig, error)public static McpConfig Get(string name, Input<string> id, McpConfigState? state, CustomResourceOptions? opts = null)public static McpConfig get(String name, Output<String> id, McpConfigState state, CustomResourceOptions options)resources: _: type: mongodbatlas:McpConfig get: id: ${id}import {
to = mongodbatlas_mcp_config.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Client
Id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- Egress
Client stringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- Ip
Access List<McpLists Config Ip Access List> - List of IP access list entries that define allowed source addresses for this MCP configuration.
- Mcp
Config stringId - Unique identifier that identifies this MCP configuration.
- Mcp
Config stringName - Human-readable name that identifies this MCP configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Roles List<string>
- List of organization roles to assign to this MCP configuration.
- Client
Id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- Egress
Client stringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- Ip
Access []McpLists Config Ip Access List Args - List of IP access list entries that define allowed source addresses for this MCP configuration.
- Mcp
Config stringId - Unique identifier that identifies this MCP configuration.
- Mcp
Config stringName - Human-readable name that identifies this MCP configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Roles []string
- List of organization roles to assign to this MCP configuration.
- client_
id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress_
client_ stringid - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- ip_
access_ list(object)lists - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp_
config_ stringid - Unique identifier that identifies this MCP configuration.
- mcp_
config_ stringname - Human-readable name that identifies this MCP configuration.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles list(string)
- List of organization roles to assign to this MCP configuration.
- client
Id String - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress
Client StringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- ip
Access List<McpLists Config Ip Access List> - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp
Config StringId - Unique identifier that identifies this MCP configuration.
- mcp
Config StringName - Human-readable name that identifies this MCP configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles List<String>
- List of organization roles to assign to this MCP configuration.
- client
Id string - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress
Client stringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- ip
Access McpLists Config Ip Access List[] - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp
Config stringId - Unique identifier that identifies this MCP configuration.
- mcp
Config stringName - Human-readable name that identifies this MCP configuration.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles string[]
- List of organization roles to assign to this MCP configuration.
- client_
id str - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress_
client_ strid - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- ip_
access_ Sequence[Mcplists Config Ip Access List Args] - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp_
config_ strid - Unique identifier that identifies this MCP configuration.
- mcp_
config_ strname - Human-readable name that identifies this MCP configuration.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles Sequence[str]
- List of organization roles to assign to this MCP configuration.
- client
Id String - Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
- egress
Client StringId - Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
- ip
Access List<Property Map>Lists - List of IP access list entries that define allowed source addresses for this MCP configuration.
- mcp
Config StringId - Unique identifier that identifies this MCP configuration.
- mcp
Config StringName - Human-readable name that identifies this MCP configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- roles List<String>
- List of organization roles to assign to this MCP configuration.
Supporting Types
McpConfigIpAccessList, McpConfigIpAccessListArgs
- Cidr
Block string - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - Ip
Address string - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
- Cidr
Block string - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - Ip
Address string - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
- cidr_
block string - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - ip_
address string - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
- cidr
Block String - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - ip
Address String - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
- cidr
Block string - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - ip
Address string - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
- cidr_
block str - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - ip_
address str - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
- cidr
Block String - Range of network addresses in the access list for the Service Account. This parameter requires the range to be expressed in Classless Inter-Domain Routing (CIDR) notation of Internet Protocol version 4 or version 6 addresses. You can set a value for this parameter or
ipAddress, but not for both in the same request. - ip
Address String - Network address in the access list for the Service Account. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. You can set a value for this parameter or
cidrBlock, but not for both in the same request.
Import
Import the MCP Config resource by using the Organization ID and MCP Config ID in the format ORG_ID/MCP_CONFIG_ID, e.g.
$ pulumi import mongodbatlas:index/mcpConfig:McpConfig test 6117ac2fe2a3d04ed27a987v/8423867e-394c-4f1e-9d81-32d323a1dd81
For more information, see Create One MCP Configuration for One Organization in the MongoDB Atlas API documentation.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi