1. Registry
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. ProjectMcpConfig
Viewing docs for MongoDB Atlas v4.16.0
published on Thursday, Sep 17, 2026 by Pulumi
mongodbatlas logo mongodbatlas logo
Viewing docs for MongoDB Atlas v4.16.0
published on Thursday, Sep 17, 2026 by Pulumi

    mongodbatlas.ProjectMcpConfig provides a Project Remote MCP Configuration resource. The resource lets you create, update, delete, and import a Remote MCP configuration for the specified Project.

    IMPORTANT: This resource does not manage ingress secrets. Use mongodbatlas.ProjectMcpConfigSecret to create one.

    Example Usage

    S

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const _this = new mongodbatlas.ProjectMcpConfig("this", {
        projectId: projectId,
        mcpConfigName: "example-mcp-config",
        roles: ["GROUP_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.ProjectMcpConfig("this",
        project_id=project_id,
        mcp_config_name="example-mcp-config",
        roles=["GROUP_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.NewProjectMcpConfig(ctx, "this", &mongodbatlas.ProjectMcpConfigArgs{
    			ProjectId:     pulumi.Any(projectId),
    			McpConfigName: pulumi.String("example-mcp-config"),
    			Roles: pulumi.StringArray{
    				pulumi.String("GROUP_READ_ONLY"),
    			},
    			IpAccessLists: mongodbatlas.ProjectMcpConfigIpAccessListArray{
    				&mongodbatlas.ProjectMcpConfigIpAccessListArgs{
    					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.ProjectMcpConfig("this", new()
        {
            ProjectId = projectId,
            McpConfigName = "example-mcp-config",
            Roles = new[]
            {
                "GROUP_READ_ONLY",
            },
            IpAccessLists = new[]
            {
                new Mongodbatlas.Inputs.ProjectMcpConfigIpAccessListArgs
                {
                    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.ProjectMcpConfig;
    import com.pulumi.mongodbatlas.ProjectMcpConfigArgs;
    import com.pulumi.mongodbatlas.inputs.ProjectMcpConfigIpAccessListArgs;
    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 ProjectMcpConfig("this", ProjectMcpConfigArgs.builder()
                .projectId(projectId)
                .mcpConfigName("example-mcp-config")
                .roles("GROUP_READ_ONLY")
                .ipAccessLists(ProjectMcpConfigIpAccessListArgs.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:ProjectMcpConfig
        properties:
          projectId: ${projectId}
          mcpConfigName: example-mcp-config
          roles:
            - GROUP_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_projectmcpconfig" "this" {
      project_id      = projectId
      mcp_config_name = "example-mcp-config"
      roles           = ["GROUP_READ_ONLY"]
      ip_access_lists {
        cidr_block = "203.0.113.0/24"
      }
    }
    output "mcpConfigId" {
      value = mongodbatlas_projectmcpconfig.this.mcp_config_id
    }
    output "clientId" {
      value = mongodbatlas_projectmcpconfig.this.client_id
    }
    output "egressClientId" {
      value = mongodbatlas_projectmcpconfig.this.egress_client_id
    }
    

    Create ProjectMcpConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProjectMcpConfig(name: string, args: ProjectMcpConfigArgs, opts?: CustomResourceOptions);
    @overload
    def ProjectMcpConfig(resource_name: str,
                         args: ProjectMcpConfigArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProjectMcpConfig(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         mcp_config_name: Optional[str] = None,
                         project_id: Optional[str] = None,
                         roles: Optional[Sequence[str]] = None,
                         ip_access_lists: Optional[Sequence[ProjectMcpConfigIpAccessListArgs]] = None)
    func NewProjectMcpConfig(ctx *Context, name string, args ProjectMcpConfigArgs, opts ...ResourceOption) (*ProjectMcpConfig, error)
    public ProjectMcpConfig(string name, ProjectMcpConfigArgs args, CustomResourceOptions? opts = null)
    public ProjectMcpConfig(String name, ProjectMcpConfigArgs args)
    public ProjectMcpConfig(String name, ProjectMcpConfigArgs args, CustomResourceOptions options)
    
    type: mongodbatlas:ProjectMcpConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mongodbatlas_project_mcp_config" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProjectMcpConfigArgs
    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 ProjectMcpConfigArgs
    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 ProjectMcpConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectMcpConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectMcpConfigArgs
    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 projectMcpConfigResource = new Mongodbatlas.ProjectMcpConfig("projectMcpConfigResource", new()
    {
        McpConfigName = "string",
        ProjectId = "string",
        Roles = new[]
        {
            "string",
        },
        IpAccessLists = new[]
        {
            new Mongodbatlas.Inputs.ProjectMcpConfigIpAccessListArgs
            {
                CidrBlock = "string",
                IpAddress = "string",
            },
        },
    });
    
    example, err := mongodbatlas.NewProjectMcpConfig(ctx, "projectMcpConfigResource", &mongodbatlas.ProjectMcpConfigArgs{
    	McpConfigName: pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	Roles: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IpAccessLists: mongodbatlas.ProjectMcpConfigIpAccessListArray{
    		&mongodbatlas.ProjectMcpConfigIpAccessListArgs{
    			CidrBlock: pulumi.String("string"),
    			IpAddress: pulumi.String("string"),
    		},
    	},
    })
    
    resource "mongodbatlas_project_mcp_config" "projectMcpConfigResource" {
      lifecycle {
        create_before_destroy = true
      }
      mcp_config_name = "string"
      project_id      = "string"
      roles           = ["string"]
      ip_access_lists {
        cidr_block = "string"
        ip_address = "string"
      }
    }
    
    var projectMcpConfigResource = new ProjectMcpConfig("projectMcpConfigResource", ProjectMcpConfigArgs.builder()
        .mcpConfigName("string")
        .projectId("string")
        .roles("string")
        .ipAccessLists(ProjectMcpConfigIpAccessListArgs.builder()
            .cidrBlock("string")
            .ipAddress("string")
            .build())
        .build());
    
    project_mcp_config_resource = mongodbatlas.ProjectMcpConfig("projectMcpConfigResource",
        mcp_config_name="string",
        project_id="string",
        roles=["string"],
        ip_access_lists=[{
            "cidr_block": "string",
            "ip_address": "string",
        }])
    
    const projectMcpConfigResource = new mongodbatlas.ProjectMcpConfig("projectMcpConfigResource", {
        mcpConfigName: "string",
        projectId: "string",
        roles: ["string"],
        ipAccessLists: [{
            cidrBlock: "string",
            ipAddress: "string",
        }],
    });
    
    type: mongodbatlas:ProjectMcpConfig
    properties:
        ipAccessLists:
            - cidrBlock: string
              ipAddress: string
        mcpConfigName: string
        projectId: string
        roles:
            - string
    

    ProjectMcpConfig 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 ProjectMcpConfig resource accepts the following input properties:

    McpConfigName string
    Human-readable name that identifies this MCP configuration.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    Roles List<string>
    List of project roles to assign to this MCP configuration.
    IpAccessLists List<ProjectMcpConfigIpAccessList>
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    McpConfigName string
    Human-readable name that identifies this MCP configuration.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    Roles []string
    List of project roles to assign to this MCP configuration.
    IpAccessLists []ProjectMcpConfigIpAccessListArgs
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcp_config_name string
    Human-readable name that identifies this MCP configuration.
    project_id string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles list(string)
    List of project roles to assign to this MCP configuration.
    ip_access_lists list(object)
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcpConfigName String
    Human-readable name that identifies this MCP configuration.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles List<String>
    List of project roles to assign to this MCP configuration.
    ipAccessLists List<ProjectMcpConfigIpAccessList>
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcpConfigName string
    Human-readable name that identifies this MCP configuration.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles string[]
    List of project roles to assign to this MCP configuration.
    ipAccessLists ProjectMcpConfigIpAccessList[]
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcp_config_name str
    Human-readable name that identifies this MCP configuration.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles Sequence[str]
    List of project roles to assign to this MCP configuration.
    ip_access_lists Sequence[ProjectMcpConfigIpAccessListArgs]
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcpConfigName String
    Human-readable name that identifies this MCP configuration.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles List<String>
    List of project roles to assign to this MCP configuration.
    ipAccessLists List<Property Map>
    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 ProjectMcpConfig resource produces the following output properties:

    ClientId string
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    EgressClientId string
    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.
    McpConfigId string
    Unique identifier that identifies this MCP configuration.
    ClientId string
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    EgressClientId string
    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.
    McpConfigId string
    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_id string
    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_id string
    Unique identifier that identifies this MCP configuration.
    clientId String
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    egressClientId String
    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.
    mcpConfigId String
    Unique identifier that identifies this MCP configuration.
    clientId string
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    egressClientId string
    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.
    mcpConfigId string
    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_id str
    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_id str
    Unique identifier that identifies this MCP configuration.
    clientId String
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    egressClientId String
    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.
    mcpConfigId String
    Unique identifier that identifies this MCP configuration.

    Look up Existing ProjectMcpConfig Resource

    Get an existing ProjectMcpConfig 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?: ProjectMcpConfigState, opts?: CustomResourceOptions): ProjectMcpConfig
    @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[ProjectMcpConfigIpAccessListArgs]] = None,
            mcp_config_id: Optional[str] = None,
            mcp_config_name: Optional[str] = None,
            project_id: Optional[str] = None,
            roles: Optional[Sequence[str]] = None) -> ProjectMcpConfig
    func GetProjectMcpConfig(ctx *Context, name string, id IDInput, state *ProjectMcpConfigState, opts ...ResourceOption) (*ProjectMcpConfig, error)
    public static ProjectMcpConfig Get(string name, Input<string> id, ProjectMcpConfigState? state, CustomResourceOptions? opts = null)
    public static ProjectMcpConfig get(String name, Output<String> id, ProjectMcpConfigState state, CustomResourceOptions options)
    resources:  _:    type: mongodbatlas:ProjectMcpConfig    get:      id: ${id}
    import {
      to = mongodbatlas_project_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.
    The following state arguments are supported:
    ClientId string
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    EgressClientId string
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    IpAccessLists List<ProjectMcpConfigIpAccessList>
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    McpConfigId string
    Unique identifier that identifies this MCP configuration.
    McpConfigName string
    Human-readable name that identifies this MCP configuration.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    Roles List<string>
    List of project roles to assign to this MCP configuration.
    ClientId string
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    EgressClientId string
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    IpAccessLists []ProjectMcpConfigIpAccessListArgs
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    McpConfigId string
    Unique identifier that identifies this MCP configuration.
    McpConfigName string
    Human-readable name that identifies this MCP configuration.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    Roles []string
    List of project 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_id string
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    ip_access_lists list(object)
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcp_config_id string
    Unique identifier that identifies this MCP configuration.
    mcp_config_name string
    Human-readable name that identifies this MCP configuration.
    project_id string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles list(string)
    List of project roles to assign to this MCP configuration.
    clientId String
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    egressClientId String
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    ipAccessLists List<ProjectMcpConfigIpAccessList>
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcpConfigId String
    Unique identifier that identifies this MCP configuration.
    mcpConfigName String
    Human-readable name that identifies this MCP configuration.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles List<String>
    List of project roles to assign to this MCP configuration.
    clientId string
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    egressClientId string
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    ipAccessLists ProjectMcpConfigIpAccessList[]
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcpConfigId string
    Unique identifier that identifies this MCP configuration.
    mcpConfigName string
    Human-readable name that identifies this MCP configuration.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles string[]
    List of project 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_id str
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    ip_access_lists Sequence[ProjectMcpConfigIpAccessListArgs]
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcp_config_id str
    Unique identifier that identifies this MCP configuration.
    mcp_config_name str
    Human-readable name that identifies this MCP configuration.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles Sequence[str]
    List of project roles to assign to this MCP configuration.
    clientId String
    Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP.
    egressClientId String
    Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas.
    ipAccessLists List<Property Map>
    List of IP access list entries that define allowed source addresses for this MCP configuration.
    mcpConfigId String
    Unique identifier that identifies this MCP configuration.
    mcpConfigName String
    Human-readable name that identifies this MCP configuration.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    roles List<String>
    List of project roles to assign to this MCP configuration.

    Supporting Types

    ProjectMcpConfigIpAccessList, ProjectMcpConfigIpAccessListArgs

    CidrBlock 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.
    IpAddress 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.
    CidrBlock 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.
    IpAddress 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.
    cidrBlock 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.
    ipAddress 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.
    cidrBlock 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.
    ipAddress 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.
    cidrBlock 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.
    ipAddress 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 Project ID and MCP Config ID in the format PROJECT_ID/MCP_CONFIG_ID, e.g.

    $ pulumi import mongodbatlas:index/projectMcpConfig:ProjectMcpConfig test 6117ac2fe2a3d04ed27a987v/8423867e-394c-4f1e-9d81-32d323a1dd81
    

    For more information, see Create One MCP Configuration for One Project 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 mongodbatlas Terraform Provider.
    mongodbatlas logo mongodbatlas logo
    Viewing docs for MongoDB Atlas v4.16.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial