Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Azure Cosmos DB MCP server

by azurecosmosdb/azure-cosmos-mcp-serverMIT licenceAudited 8 Oct 2026 · source e88bd157bc8b

npm cosmosdb-mcp-server 1.0.0stdiostreamable-http★ 64
✓SAFEGrade B · 89/100 · 8 Oct 2026 · e88bd15
64GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100✓SAFE B
0 critical0 high0 medium7 low4 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmcosmosdb-mcp-server at 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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
**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
F-04 Network egressCWE-200 · CWE-319Layer L1
- 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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-13 Inventory / provenanceCWE-1104Layer L0
golang/images/demo.png
Why
2348262 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · img/logo.png
F-13 Inventory / provenanceCWE-1104Layer L0
img/logo.png
Why
1321667 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · java/media/demo.gif
F-13 Inventory / provenanceCWE-1104Layer L0
java/media/demo.gif
Why
29406178 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · python/README.md:95
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
> - 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

11 read2 write0 destructive
ToolRiskWhat it does
put_itemwriteInserts or replaces an item in a Azure Cosmos DB container
update_itemwriteUpdates specific attributes of an item in a Azure Cosmos DB container
count_documentsreadNo description in the source
describe_containerreadNo description in the source
find_implied_linksreadNo description in the source
get_indexing_policyreadNo description in the source
get_itemreadRetrieves an item from a Azure Cosmos DB container by its ID
get_partition_key_inforeadNo description in the source
get_sample_documentsreadNo description in the source
list_collectionsreadNo description in the source
list_distinct_valuesreadNo description in the source
query_containerreadQueries an Azure Cosmos DB container using SQL-like syntax
query_cosmosreadNo 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]

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

  1. ✓SAFE B 89 / 100

    First audit · e88bd157bc8b

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/azurecosmosdb/azure-cosmos-db/badge.svg)](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?
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
What tools does Azure Cosmos DB expose?
13 in total: 11 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Azure Cosmos DB safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Azure Cosmos DB need?
It reads COSMOSDB_KEY and COSMOS_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Azure Cosmos DB run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as cosmosdb-mcp-server at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (e88bd157bc8b), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

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.