MongoDB
The MCP Catalog provides a prebuilt integration for MongoDB databases. Adding MongoDB from the MCP Catalog makes it available to AI agents as an MCP server, with PingOne Privilege policy applied to its tools..
This integration provides:
-
Tools for working with MongoDB databases and collections.
-
Tool, prompt, and resource-level PingOne Privilege policy.
-
Full audit of agent tool calls in Activity > Activity Logs.
Configure a MongoDB integration
Configuration involves creating a MongoDB application in PingOne Privilege, configuring policies for the application, and establishing connectivity between the agent and an Agent Privilege gateway.
Before you begin
Ensure you have the following:
-
An AI gateway configured in Directory > Gateways. Learn more in AI gateways.
-
The MongoDB connection string and credentials for a database user with the required read or write roles.
Step 1: Create a MongoDB application in PingOne Privilege
-
In the PingOne Privilege admin console, go to AI Security > Agentic Apps.
-
Click the MCP Catalog tab.
-
In the MongoDB tile, click Add .
-
Enter an Application Name for the connection.
-
Select a Mesh Cluster.
-
Provide the required configuration details:
-
Connection String: MongoDB connection URI (local or Atlas).
-
Atlas API Client ID: MongoDB Atlas service account client ID.
-
Atlas API Client Secret: MongoDB Atlas service account API client secret.
-
-
Click Create.
The MongoDB integration is now available to AI agents as an MCP server, with PingOne Privilege policy applied to its tools.
Step 2: Configure policies for MongoDB tools
-
In the PingOne Privilege admin console, go to AI Security > Agentic Apps.
-
In the list, find the MongoDB application.
-
Click (⋮), then click Create Policy.
-
Select which operations from the MongoDB specification are available to agents.
-
Click Update Configuration.
-
Add the users or groups the policy will apply to.
-
Define the users or groups the policy will apply to.
-
Click Continue.
-
Configure the policy with the following fields:
-
Policy Name
-
Select Timezone
-
Start Date and Start Time
-
End Date in hours, days, weeks, months, or custom date.
-
-
Click Submit to save the policy.
Step 3: Establish connectivity between agent and gateway
-
In the PingOne Privilege admin console, go to AI Security > Agentic Apps.
-
On the Active Applications tab, find the MongoDB application and click More Info.
-
On the Overview tab’s Resource Information section, select a configured AI Gateway from the list.
-
Copy the MCP Config code.
-
Use the code you just copied to connect to the MongoDB app through your client. For example, you can paste the code into Claude Desktop.
Result: The associated MongoDB app is now accessible through that client.
-
Validate that the MongoDB tools appear in the client and that restricted tools don’t appear.
Result
Users can now get the MCP Config for connecting their client to the MongoDB app under Agentic Apps in the PingOne Privilege user console.