MongoDBMongoDB Atlas Administration API v2
POST/api/atlas/v2/orgs/{orgId}/mcpConfigs
Manage create Org Mcp Config.
Contract-preserving POST endpoint for create Org Mcp Config in the MongoDB Atlas Administration API. Resource-specific values are supplied by the caller at runtime.
All 540 MongoDB Atlas administration endpoints from a fixed Apache-2.0 OpenAPI revision. Hub provides documentation and an independent SDK/CLI, but never proxies account, organization, project, network, backup, or operational data; callers connect directly with local credentials.
Request
- operationId
createOrgMcpConfig- Server
https://cloud.mongodb.com- Authentication
- ServiceAccounts, DigestAuth
Request parameters
orgId
pathstringrequired
org Id value in the Atlas Administration API contract.
4888442a3354817a7320eb61
Request body
CreateOrgMcpConfigRequestrequired
Content-Type: application/vnd.atlas.2025-03-12+json
Properties: ipAccessListmcpConfigNameroles
Responses
201
OrgMcpConfigResponseapplication/vnd.atlas.2025-03-12+json
Successful supplier response.
Properties: clientIdegressClientIdipAccessListmcpConfigIdmcpConfigNameroles
400
ApiErrorapplication/json
Supplier response with HTTP status 400.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
401
ApiErrorapplication/json
Supplier response with HTTP status 401.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
403
ApiErrorapplication/json
Supplier response with HTTP status 403.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
404
ApiErrorapplication/json
Supplier response with HTTP status 404.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
429
ApiErrorapplication/json
Supplier response with HTTP status 429.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
500
ApiErrorapplication/json
Supplier response with HTTP status 500.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
{
"clientId": "mdb_sa_id_1234567890abcdef12345678",
"egressClientId": "mdb_sa_id_1234567890abcdef12345678",
"ipAccessList": {
"cidrBlock": "203.0.113.0/24",
"ipAddress": "203.0.113.10",
"lastUsedAddress": "203.0.113.10",
"requestCount": 0
},
"mcpConfigId": "b9254bc4-d6cc-4325-abf4-fb9d2a9de00a",
"roles": [
"ORG_MEMBER"
]
}