MCP server · Org-owned · Audited from source
Astra DB MCP server
by datastax/astra-db-mcpApache-2.0 licenceAudited 8 Oct 2026 · source 9a34d9206e9b
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
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 6 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
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
datastaxOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@datastax/astra-db-mcpat 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
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
vi.mock("../../util/db.js", () => {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/tools/BulkCreateRecords.test.ts:16
import { BulkCreateRecords } from "../../tools/BulkCreateRecords.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/tools/BulkDeleteRecords.test.ts:16
import { BulkDeleteRecords } from "../../tools/BulkDeleteRecords.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/tools/BulkUpdateRecords.test.ts:16
import { BulkUpdateRecords } from "../../tools/BulkUpdateRecords.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/tools/CreateCollection.test.ts:16
import { CreateCollection } from "../../tools/CreateCollection.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
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
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.
| Tool | Risk | What it does |
|---|---|---|
AlterTable | destructive | Alter a table schema (add columns, drop columns, add vector columns) |
BulkDeleteRecords | destructive | Delete multiple records from a collection at once |
DeleteCollection | destructive | Delete a collection from the database |
DeleteRecord | destructive | Delete a record from a collection |
DeleteTableRow | destructive | Delete one or multiple rows matching a filter from a table |
DropKeyspace | destructive | Drop a keyspace from the Astra DB database |
DropTable | destructive | Drop a table from the current keyspace |
BulkCreateRecords | write | Create multiple records in a collection at once |
BulkUpdateRecords | write | Update multiple records in a collection at once |
CreateCollection | write | Create a new collection with optional vector, metric, auto-vectorize service, or indexing options |
CreateKeyspace | write | Create a new keyspace in the Astra DB database |
CreateRecord | write | Create a new record in a collection |
CreateTable | write | Create a structured table with typed columns and primary key in Astra DB |
CreateTableIndex | write | Create a regular secondary index on a table column |
CreateTableVectorIndex | write | Create a vector index on a vector column in a table |
HelpAddToClient | write | Help the user add the Astra DB client to their MCP client |
InsertTableRow | write | Insert a single row or multiple rows into a table |
UpdateCollection | write | Update an existing collection in the database |
UpdateRecord | write | Update an existing record in a collection |
UpdateTableRow | write | Update one or multiple rows matching a filter in a table |
EstimateDocumentCount | read | Estimate the number of documents in a collection using a fast, approximate count method |
FindAndRerank | read | Perform hybrid (lexical + vector) search with optional reranking on a collection |
FindDistinctValues | read | Find distinct values for a field in a collection |
FindRecord | read | Find records in a collection by a single field value |
FindWithFilter | read | Find records in a collection using rich MongoDB-style filter expressions ($and, $or, $gt, $in, $exists, etc.) with sorting and pagination |
FindWithVector | read | Find records via vector similarity search using raw vector embeddings |
FindWithVectorize | read | Find records in a vectorized collection using plain text (auto-vectorization using collection |
GetCollectionInfo | read | Get metadata, options, vector settings, and defaultId type of a collection |
GetCollections | read | Get all collections in the active Astra DB keyspace |
GetCurrentKeyspace | read | Get the currently active keyspace |
GetDatabaseInfo | read | Get database environment metadata (id, name, region, environment, status, keyspaces) |
GetRecord | read | Get a specific record from a collection by ID |
HybridSearch | read | Search for records using both vector similarity and text matching |
ListEmbeddingProviders | read | List all available vector embedding providers and models supported by Astra DB Vectorize |
ListKeyspaces | read | List all keyspaces in the Astra DB database |
ListRecords | read | List records from a collection with optional sorting, pagination, and projection |
ListRerankingProviders | read | List all available reranking providers and models supported by Astra DB for hybrid search |
ListTables | read | List all tables in the current keyspace |
OpenBrowser | read | Open a web browser to a specific URL |
QueryTable | read | Query rows in a table with filter, sorting, pagination, and projection |
UseKeyspace | read | Switch the active working keyspace for subsequent queries |
VectorSearch | read | Search 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]{
"mcpServers": {
"astra-db-mcp": {
"command": "npx",
"args": [
"-y",
"@datastax/[email protected]"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "${ASTRA_DB_APPLICATION_TOKEN}",
"ASTRA_DB_KEYSPACE": "${ASTRA_DB_KEYSPACE}"
}
}
}
}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
- ✓SAFE B 89 / 100
First audit ·
9a34d9206e9b
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Astra DB expose?
Is Astra DB safe to connect to an agent?
What credentials does Astra DB need?
How does Astra DB run?
How current is this page?
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.
- What is the Astra DB MCP server?
- What tools does Astra DB expose?
- Is Astra DB safe to connect to an agent?