- READ
- WRITE
- UPDATE
- MANUAL
Short answer
How can my AI manage user profiles in Cosmos DB?
Your AI uses specific tools to fetch, create, or update user documents in your NoSQL container. You'll see exactly how the data moves in the breakdown below.
Data outcomes
What your data becomes
The specific ways your AI interacts with user records.
READ
Profile retrieval
The AI pulls specific user documents from your container. You get the metadata or settings you asked for immediately.
WRITE
New user setup
Your agent adds new user records to the database. This populates your NoSQL container with fresh profile data.
UPDATE
Setting changes
The AI modifies existing documents. This updates user preferences or profile details without manual database edits.
MANUAL
Human control
You maintain authority over the database schema. The AI handles the records, but you manage the structure.
The workflow
What your AI does when the request arrives.
The AI acts as the bridge between your chat and your NoSQL data.
Locate the user
The AI searches your container to find the specific profile you mentioned.
query_documentsFetch the record
Once found, the AI pulls the full document to read the current settings.
get_documentModify data
The AI writes the updated metadata or new user info back to the container.
create_documentConfirm changes
The AI pulls the document again to ensure the update worked as expected.
get_document
Try it
Copy these to start.
Use these prompts to begin managing your data.
Starting points
Replace the bracketed text with your actual container names or user IDs.
Azure Cosmos DB Container Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_sR5SFdydHWMVwBi2kmwRkK1Y9eFVwnJ0PxFJe5pj/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Azure Cosmos DB Container capabilities are ready to use.
{
"mcpServers": {
"azure-cosmos-db-container-mcp": {
"url": "https://edge.vinkius.com/vk_preview_sR5SFdydHWMVwBi2kmwRkK1Y9eFVwnJ0PxFJe5pj/mcp"
}
}
}Get the profile details for user ID [user_id] in the [container_name] container.
Create a new user profile for [name] with these settings: [json_data].
Update the preferences for user [user_id] to set [setting_name] to [value].
Find all users in the [container_name] container who have [attribute] set to [value].
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Azure Cosmos DB Container once, then ask.
Link your account once. Your credentials stay encrypted on our side, and you can start talking to your database immediately.
Connect Azure Cosmos DB Container to your AIFAQ
How this task behaves
- 01
Can the AI delete user profiles?
No. There is no tool provided to delete documents, so the AI cannot remove data from your container.
- 02
Can the AI change my database schema?
No. The AI only interacts with the data inside the documents. You must manage the container structure yourself.
- 03
How does the AI find a specific user?
The AI uses a query to scan the container for the specific ID or attribute you mention.
- 04
Will the AI overwrite my entire container?
No. The AI only interacts with specific documents based on the tools it uses.
- 05
Can I use this with any AI client?
Yes, as long as your client supports the Model Context Protocol (MCP).
More questions about Azure Cosmos DB Container? The Connector page answers them. See everything the Azure Cosmos DB Container Connector can do
Connect Azure Cosmos DB Container to Claude, Cursor, ChatGPT & more
