Azure Cosmos Java
Helps with Azure, Java as part of deploying and managing cloud infrastructure workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add azure-cosmos-java npx -- -y @trustedskills/azure-cosmos-java
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"azure-cosmos-java": {
"command": "npx",
"args": [
"-y",
"@trustedskills/azure-cosmos-java"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact with Azure Cosmos DB using Java. It allows for performing common database operations such as querying, creating, updating, and deleting documents within a Cosmos DB container. The agent can leverage this skill to manage data stored in Cosmos DB programmatically.
When to use it
- Data Retrieval: Retrieve specific customer order details from a Cosmos DB database based on an order ID.
- Content Management: Update product descriptions or pricing information directly within a Cosmos DB content repository.
- Application Integration: Integrate an application with Azure Cosmos DB for storing and retrieving user profiles or session data.
- Inventory Management: Track inventory levels in a Cosmos DB database and update quantities based on sales transactions.
Key capabilities
- Java API integration with Azure Cosmos DB
- Document querying using SQL-like syntax
- Creation of new documents within containers
- Updating existing documents
- Deletion of documents from the database
Example prompts
- "Retrieve all products with a price greater than $50 from the 'products' container."
- "Create a new document in the 'orders' container representing order ID 12345."
- "Update the 'status' field of order ID 67890 to 'shipped'."
Tips & gotchas
- Requires an Azure Cosmos DB account and connection string. Ensure the agent has appropriate credentials to access the database.
- Familiarity with Java programming is helpful for constructing complex queries or data manipulation logic.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.