MCP server · Org-owned · Audited from source
Azure Cosmos DB MCP server
by azurecosmosdb/azure-cosmos-mcp-serverMIT licenceAudited 8 Oct 2026 · source e88bd157bc8b
Is it safe? Yes — SAFE, grade B (89/100). It exposes 13 tools: 11 read, 2 write and 0 destructive. The audit recorded 11 findings (0 critical, 0 high, 0 medium, 7 low). Maintainer's description: This repository contains a collection of sample implementations of the MCP across multiple programming languages, all backed by Azure Cosmos DB. These examples demonstrate how to create, query, update, and delete documents using the Azure Cosmos DB SDKs
Cite
Cite this page
ModelsAtlas. “Azure Cosmos DB MCP server (azurecosmosdb/azure-cosmos-mcp-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/azurecosmosdb/azure-cosmos-db
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
azurecosmosdbOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
cosmosdb-mcp-serverat version 1.0.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit reade88bd157bc8bThe audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory13 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (11)
Sorted by severity
LOWNetwork egressnet.raw_ip · python/README.md:98
Your server will be running at `http://127.0.0.1:8080/mcp/` 🚀
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · python/README.md:132
url: http://127.0.0.1:8080/mcp/
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · python/README.md:157
mcp = FastMCP.as_proxy("http://127.0.0.1:8080/mcp/", name="Azure Cosmos DB Explorer")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · python/README.md:220
**Endpoint**: `http://127.0.0.1:8080/mcp/`
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · python/README.md:305
- Ensure server is running: `curl http://127.0.0.1:8080/mcp/`
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · javascript/package.json
@azure/cosmos, @azure/identity, @modelcontextprotocol/sdk, dotenv, @types/dotenv, @types/node, shx, ts-node
- Why
- 9 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · python/requirements.txt
azure-cosmos, pandas, mcp, fastmcp, azure-identity, python-dotenv
- Why
- 6 requirement(s) not pinned with ==
- Fix
- pin exact versions
INFOInventory / provenanceinv.oversize · golang/images/demo.png
golang/images/demo.png
- Why
- 2348262 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · img/logo.png
img/logo.png
- Why
- 1321667 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · java/media/demo.gif
java/media/demo.gif
- Why
- 29406178 bytes not read
- Fix
- —
INFOPrompt injectionprompt.credential_read · python/README.md:95
> - Load configuration from `.env` file or environment variables
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
13 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
put_item | write | Inserts or replaces an item in a Azure Cosmos DB container |
update_item | write | Updates specific attributes of an item in a Azure Cosmos DB container |
count_documents | read | No description in the source |
describe_container | read | No description in the source |
find_implied_links | read | No description in the source |
get_indexing_policy | read | No description in the source |
get_item | read | Retrieves an item from a Azure Cosmos DB container by its ID |
get_partition_key_info | read | No description in the source |
get_sample_documents | read | No description in the source |
list_collections | read | No description in the source |
list_distinct_values | read | No description in the source |
query_container | read | Queries an Azure Cosmos DB container using SQL-like syntax |
query_cosmos | read | No description in the source |
Install
Package version 1.0.0 · audited commit e88bd15
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit e88bd15 only.
claude mcp add cosmosdb-mcp-server --env COSMOSDB_KEY=${COSMOSDB_KEY} --env COSMOS_KEY=${COSMOS_KEY} -- npx -y [email protected]{
"mcpServers": {
"cosmosdb-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"COSMOSDB_KEY": "${COSMOSDB_KEY}",
"COSMOS_KEY": "${COSMOS_KEY}"
}
}
}
}The command pins the package version recorded in the source (1.0.0); the audit covers commit e88bd157bc8b. Transport: stdio · streamable-http. Reads these environment variables: COSMOSDB_KEY, COSMOS_KEY. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
e88bd157bc8b
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/azurecosmosdb/azure-cosmos-db/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Azure Cosmos DB MCP server
What is the Azure Cosmos DB MCP server?
What tools does Azure Cosmos DB expose?
Is Azure Cosmos DB safe to connect to an agent?
What credentials does Azure Cosmos DB need?
How does Azure Cosmos DB run?
How current is this page?
Sources
- azurecosmosdb/azure-cosmos-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit e88bd157bc8bObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Azure Cosmos DB MCP server?
- What tools does Azure Cosmos DB expose?
- Is Azure Cosmos DB safe to connect to an agent?