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

MCP server · Org-owned · Audited from source

Astra DB MCP server

by datastax/astra-db-mcpApache-2.0 licenceAudited 8 Oct 2026 · source 9a34d9206e9b

npm @datastax/astra-db-mcp 1.3.4stdio★ 42
✓SAFEGrade B · 89/100 · 8 Oct 2026 · 9a34d92
42GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 42 tools: 22 read, 13 write and 7 destructive. The audit recorded 8 findings (0 critical, 0 high, 1 medium, 7 low). Maintainer's description: An MCP server for Astra DB workloads

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Astra DB MCP server (datastax/astra-db-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/datastax/astra-db

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium7 low0 info

8 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

  • FilesystemDeclared1 observation
  • NetworkDeclared1 observation
  • 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
L1 Static sourceSecrets, path traversal, supply chainPASS 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner datastaxOrganizationAccount type recorded when we read the repository.
  • PackagePublished on npm@datastax/astra-db-mcp at version 1.3.4
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push5 days agoActivity of the repository when we read it.
  • Source commit read9a34d9206e9bThe 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 inventory42 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 (8)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
AlterTable, BulkDeleteRecords, DeleteCollection, DeleteRecord, DeleteTableRow, DropKeyspace, DropTable
Why
7 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · tests/mocks/db.mock.ts:275
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock("../../util/db.js", () => {
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/tools/BulkCreateRecords.test.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { BulkCreateRecords } from "../../tools/BulkCreateRecords.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/tools/BulkDeleteRecords.test.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { BulkDeleteRecords } from "../../tools/BulkDeleteRecords.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/tools/BulkUpdateRecords.test.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { BulkUpdateRecords } from "../../tools/BulkUpdateRecords.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/tools/CreateCollection.test.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { CreateCollection } from "../../tools/CreateCollection.js";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@datastax/astra-db-ts, @modelcontextprotocol/core, @modelcontextprotocol/server, dotenv, jsonschema, mcp-evals, @modelcontextprotocol/inspector, @types/node
Why
11 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · README.md:157
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentatio
Why
asks the agent to read credentials
Fix
—

Tools it exposes

42 declared in source · 7 destructive

22 read13 write7 destructive

7 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
AlterTabledestructiveAlter a table schema (add columns, drop columns, add vector columns)
BulkDeleteRecordsdestructiveDelete multiple records from a collection at once
DeleteCollectiondestructiveDelete a collection from the database
DeleteRecorddestructiveDelete a record from a collection
DeleteTableRowdestructiveDelete one or multiple rows matching a filter from a table
DropKeyspacedestructiveDrop a keyspace from the Astra DB database
DropTabledestructiveDrop a table from the current keyspace
BulkCreateRecordswriteCreate multiple records in a collection at once
BulkUpdateRecordswriteUpdate multiple records in a collection at once
CreateCollectionwriteCreate a new collection with optional vector, metric, auto-vectorize service, or indexing options
CreateKeyspacewriteCreate a new keyspace in the Astra DB database
CreateRecordwriteCreate a new record in a collection
CreateTablewriteCreate a structured table with typed columns and primary key in Astra DB
CreateTableIndexwriteCreate a regular secondary index on a table column
CreateTableVectorIndexwriteCreate a vector index on a vector column in a table
HelpAddToClientwriteHelp the user add the Astra DB client to their MCP client
InsertTableRowwriteInsert a single row or multiple rows into a table
UpdateCollectionwriteUpdate an existing collection in the database
UpdateRecordwriteUpdate an existing record in a collection
UpdateTableRowwriteUpdate one or multiple rows matching a filter in a table
EstimateDocumentCountreadEstimate the number of documents in a collection using a fast, approximate count method
FindAndRerankreadPerform hybrid (lexical + vector) search with optional reranking on a collection
FindDistinctValuesreadFind distinct values for a field in a collection
FindRecordreadFind records in a collection by a single field value
FindWithFilterreadFind records in a collection using rich MongoDB-style filter expressions ($and, $or, $gt, $in, $exists, etc.) with sorting and pagination
FindWithVectorreadFind records via vector similarity search using raw vector embeddings
FindWithVectorizereadFind records in a vectorized collection using plain text (auto-vectorization using collection
GetCollectionInforeadGet metadata, options, vector settings, and defaultId type of a collection
GetCollectionsreadGet all collections in the active Astra DB keyspace
GetCurrentKeyspacereadGet the currently active keyspace
GetDatabaseInforeadGet database environment metadata (id, name, region, environment, status, keyspaces)
GetRecordreadGet a specific record from a collection by ID
HybridSearchreadSearch for records using both vector similarity and text matching
ListEmbeddingProvidersreadList all available vector embedding providers and models supported by Astra DB Vectorize
ListKeyspacesreadList all keyspaces in the Astra DB database
ListRecordsreadList records from a collection with optional sorting, pagination, and projection
ListRerankingProvidersreadList all available reranking providers and models supported by Astra DB for hybrid search
ListTablesreadList all tables in the current keyspace
OpenBrowserreadOpen a web browser to a specific URL
QueryTablereadQuery rows in a table with filter, sorting, pagination, and projection
UseKeyspacereadSwitch the active working keyspace for subsequent queries
VectorSearchreadSearch for records in a collection using vector similarity

Install

Package version 1.3.4 · audited commit 9a34d92

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.3.4. The audit covers commit 9a34d92 only.

claude mcp add astra-db-mcp --env ASTRA_DB_APPLICATION_TOKEN=${ASTRA_DB_APPLICATION_TOKEN} --env ASTRA_DB_KEYSPACE=${ASTRA_DB_KEYSPACE} -- npx -y @datastax/[email protected]

The command pins the package version recorded in the source (1.3.4); the audit covers commit 9a34d9206e9b. Transport: stdio. Reads these environment variables: ASTRA_DB_APPLICATION_TOKEN, ASTRA_DB_KEYSPACE. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 9a34d9206e9b

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/datastax/astra-db/badge.svg)](https://modelsatlas.com/mcp/datastax/astra-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 Astra DB MCP server

What is the Astra DB MCP server?
An MCP server for Astra DB workloads
What tools does Astra DB expose?
42 in total: 22 read-only, 13 that write, and 7 that can delete or overwrite (AlterTable, BulkDeleteRecords, DeleteCollection, DeleteRecord, DeleteTableRow). Every one is listed on this page with its risk.
Is Astra 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. Separately from the audit: 7 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Astra DB need?
It reads ASTRA_DB_APPLICATION_TOKEN and ASTRA_DB_KEYSPACE 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 Astra DB run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @datastax/astra-db-mcp at 1.3.4.
How current is this page?
The grade is for one exact copy of the source (9a34d9206e9b), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • datastax/astra-db-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 9a34d9206e9bObserved · 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.