Astra DB

Astra DB

An MCP server for Astra DB workloads.

2.4K

16 Tools

Packaged by
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

Astra DB MCP Server

An MCP server for Astra DB workloads.

What is an MCP Server?

Characteristics

AttributeDetails
Docker Imagemcp/astra-db
Authordatastax
Repositoryhttps://github.com/datastax/astra-db-mcp
Dockerfilehttps://github.com/datastax/astra-db-mcp/blob/refs/pull/14/merge/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/astra-db --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (16)

Tools provided by this ServerShort Description
BulkCreateRecordsCreate multiple records in a collection at once
BulkDeleteRecordsDelete multiple records from a collection at once
BulkUpdateRecordsUpdate multiple records in a collection at once
CreateCollectionCreate a new collection in the database
CreateRecordCreate a new record in a collection
DeleteCollectionDelete a collection from the database
DeleteRecordDelete a record from a collection
EstimateDocumentCountEstimate the number of documents in a collection using a fast, approximate count method
FindRecordFind records in a collection by field value
GetCollectionsGet all collections in the Astra DB database
GetRecordGet a specific record from a collection by ID
HelpAddToClientHelp the user add the Astra DB client to their MCP client
ListRecordsList records from a collection in the database
OpenBrowserOpen a web browser to a specific URL
UpdateCollectionUpdate an existing collection in the database
UpdateRecordUpdate an existing record in a collection

Tools Details

Tool: BulkCreateRecords

Create multiple records in a collection at once

ParametersTypeDescription
collectionNamestringName of the collection to create the records in
recordsarrayArray of records to insert

Tool: BulkDeleteRecords

Delete multiple records from a collection at once

ParametersTypeDescription
collectionNamestringName of the collection containing the records
recordIdsarrayArray of record IDs to delete

Tool: BulkUpdateRecords

Update multiple records in a collection at once

ParametersTypeDescription
collectionNamestringName of the collection containing the records
recordsarrayArray of records to update with their IDs

Tool: CreateCollection

Create a new collection in the database

ParametersTypeDescription
collectionNamestringName of the collection to create
dimensionnumberoptionalThe dimensions of the vector collection, if vector is true
vectorbooleanoptionalWhether to create a vector collection

Tool: CreateRecord

Create a new record in a collection

ParametersTypeDescription
collectionNamestringName of the collection to create the record in
recordobjectThe record data to insert

Tool: DeleteCollection

Delete a collection from the database

ParametersTypeDescription
collectionNamestringName of the collection to delete

Tool: DeleteRecord

Delete a record from a collection

ParametersTypeDescription
collectionNamestringName of the collection containing the record
recordIdstringID of the record to delete

Tool: EstimateDocumentCount

Estimate the number of documents in a collection using a fast, approximate count method

ParametersTypeDescription
collectionNamestringName of the collection to estimate document count for

Tool: FindRecord

Find records in a collection by field value

ParametersTypeDescription
collectionNamestringName of the collection to search in
fieldstringField name to search by (e.g., 'title', '_id', or any property)
valuestringValue to search for in the specified field
limitnumberoptionalMaximum number of records to return

Tool: GetCollections

Get all collections in the Astra DB database

Tool: GetRecord

Get a specific record from a collection by ID

ParametersTypeDescription
collectionNamestringName of the collection to get the record from
recordIdstringID of the record to retrieve

Tool: HelpAddToClient

Help the user add the Astra DB client to their MCP client

Tool: ListRecords

List records from a collection in the database

ParametersTypeDescription
collectionNamestringName of the collection to list records from
limitnumberoptionalMaximum number of records to return

Tool: OpenBrowser

Open a web browser to a specific URL

ParametersTypeDescription
urlstringThe URL to open in the browser

Tool: UpdateCollection

Update an existing collection in the database

ParametersTypeDescription
collectionNamestringName of the collection to update
newNamestringNew name for the collection

Tool: UpdateRecord

Update an existing record in a collection

ParametersTypeDescription
collectionNamestringName of the collection containing the record
recordobjectThe updated record data
recordIdstringID of the record to update

Use this MCP Server

{
  "mcpServers": {
    "astra-db": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ASTRA_DB_API_ENDPOINT",
        "-e",
        "ASTRA_DB_APPLICATION_TOKEN",
        "mcp/astra-db"
      ],
      "env": {
        "ASTRA_DB_API_ENDPOINT": "",
        "ASTRA_DB_APPLICATION_TOKEN": "your_astra_db_token"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers