Viewing docs for MongoDB Atlas v4.16.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for MongoDB Atlas v4.16.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
mongodbatlas.getProjectMcpConfigs returns all Remote MCP Configurations for the specified Project.
Example Usage
S
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const _this = mongodbatlas.getProjectMcpConfigs({
projectId: projectId,
});
export const mcpConfigsResults = _this.then(_this => _this.results);
import pulumi
import pulumi_mongodbatlas as mongodbatlas
this = mongodbatlas.get_project_mcp_configs(project_id=project_id)
pulumi.export("mcpConfigsResults", this.results)
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.GetProjectMcpConfigs(ctx, &mongodbatlas.LookupProjectMcpConfigsArgs{
ProjectId: projectId,
}, nil)
if err != nil {
return err
}
ctx.Export("mcpConfigsResults", this.Results)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var @this = Mongodbatlas.GetProjectMcpConfigs.Invoke(new()
{
ProjectId = projectId,
});
return new Dictionary<string, object?>
{
["mcpConfigsResults"] = @this.Apply(@this => @this.Apply(getProjectMcpConfigsResult => getProjectMcpConfigsResult.Results)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetProjectMcpConfigsArgs;
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) {
final var this = MongodbatlasFunctions.getProjectMcpConfigs(GetProjectMcpConfigsArgs.builder()
.projectId(projectId)
.build());
ctx.export("mcpConfigsResults", this_.results());
}
}
variables:
this:
fn::invoke:
function: mongodbatlas:getProjectMcpConfigs
arguments:
projectId: ${projectId}
outputs:
mcpConfigsResults: ${this.results}
pulumi {
required_providers {
mongodbatlas = {
source = "pulumi/mongodbatlas"
}
}
}
data "mongodbatlas_getprojectmcpconfigs" "this" {
project_id = projectId
}
output "mcpConfigsResults" {
value = data.mongodbatlas_getprojectmcpconfigs.this.results
}
Using getProjectMcpConfigs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectMcpConfigs(args: GetProjectMcpConfigsArgs, opts?: InvokeOptions): Promise<GetProjectMcpConfigsResult>
function getProjectMcpConfigsOutput(args: GetProjectMcpConfigsOutputArgs, opts?: InvokeOutputOptions): Output<GetProjectMcpConfigsResult>def get_project_mcp_configs(project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectMcpConfigsResult
def get_project_mcp_configs_output(project_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetProjectMcpConfigsResult]func LookupProjectMcpConfigs(ctx *Context, args *LookupProjectMcpConfigsArgs, opts ...InvokeOption) (*LookupProjectMcpConfigsResult, error)
func LookupProjectMcpConfigsOutput(ctx *Context, args *LookupProjectMcpConfigsOutputArgs, opts ...InvokeOption) LookupProjectMcpConfigsResultOutput> Note: This function is named LookupProjectMcpConfigs in the Go SDK.
public static class GetProjectMcpConfigs
{
public static Task<GetProjectMcpConfigsResult> InvokeAsync(GetProjectMcpConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectMcpConfigsResult> Invoke(GetProjectMcpConfigsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetProjectMcpConfigsResult> Invoke(GetProjectMcpConfigsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetProjectMcpConfigsResult> getProjectMcpConfigs(GetProjectMcpConfigsArgs args, InvokeOptions options)
public static Output<GetProjectMcpConfigsResult> getProjectMcpConfigs(GetProjectMcpConfigsArgs args, InvokeOptions options)
public static Output<GetProjectMcpConfigsResult> getProjectMcpConfigs(GetProjectMcpConfigsArgs args, InvokeOutputOptions options)
fn::invoke:
function: mongodbatlas:index/getProjectMcpConfigs:getProjectMcpConfigs
arguments:
# arguments dictionarydata "mongodbatlas_get_project_mcp_configs" "name" {
# arguments
}The following arguments are supported:
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- project_
id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation.
getProjectMcpConfigs Result
The following output properties are available:
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Results
List<Get
Project Mcp Configs Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - Results
[]Get
Project Mcp Configs Result - List of returned documents that MongoDB Cloud provides when completing this request.
- project_
id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results list(object)
- List of returned documents that MongoDB Cloud provides when completing this request.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
List<Get
Project Mcp Configs Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
Get
Project Mcp Configs Result[] - List of returned documents that MongoDB Cloud provides when completing this request.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results
Sequence[Get
Project Mcp Configs Result] - List of returned documents that MongoDB Cloud provides when completing this request.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project, also known as
groupIdin the official documentation. - results List<Property Map>
- List of returned documents that MongoDB Cloud provides when completing this request.
Supporting Types
GetProjectMcpConfigsResult
- 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<GetLists Project Mcp Configs Result 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.
- Roles List<string>
- List of project roles associated with 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 []GetLists Project Mcp Configs Result 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.
- Roles []string
- List of project roles associated with 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.
- roles list(string)
- List of project roles associated with 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<GetLists Project Mcp Configs Result 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.
- roles List<String>
- List of project roles associated with 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 GetLists Project Mcp Configs Result 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.
- roles string[]
- List of project roles associated with 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[Getlists Project Mcp Configs Result Ip Access List] - 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.
- roles Sequence[str]
- List of project roles associated with 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.
- roles List<String>
- List of project roles associated with this MCP configuration.
GetProjectMcpConfigsResultIpAccessList
- 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. - Created
At string - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - Last
Used stringAddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- Last
Used stringAt - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- Request
Count int - The number of requests that has originated from this network address.
- 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. - Created
At string - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - Last
Used stringAddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- Last
Used stringAt - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- Request
Count int - The number of requests that has originated from this network address.
- 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. - created_
at string - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - last_
used_ stringaddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- last_
used_ stringat - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- request_
count number - The number of requests that has originated from this network address.
- 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. - created
At String - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - last
Used StringAddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- last
Used StringAt - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- request
Count Integer - The number of requests that has originated from this network address.
- 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. - created
At string - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - last
Used stringAddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- last
Used stringAt - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- request
Count number - The number of requests that has originated from this network address.
- 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. - created_
at str - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - last_
used_ straddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- last_
used_ strat - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- request_
count int - The number of requests that has originated from this network address.
- 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. - created
At String - Date MongoDB Cloud added the entry was added to the Access List. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- 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. - last
Used StringAddress - Network address that issued the most recent request to the API. This parameter requires the address to be expressed as one Internet Protocol version 4 or version 6 address. The resource returns this parameter after this IP address makes at least one request.
- last
Used StringAt - Date when MongoDB Cloud received the most recent request that originated from this Internet Protocol version 4 or version 6 address. The resource returns this parameter when at least one request originates from this IP address. MongoDB Cloud updates this parameter each time a client accesses the permitted resource, with a delay of up to 5 minutes. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
- request
Count Number - The number of requests that has originated from this network address.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
Viewing docs for MongoDB Atlas v4.16.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi