Sign inSign up

mcp/astra-db

Verified Publisher

By mcp

•Updated 8 months ago

An MCP server for Astra DB workloads

Image
Machine learning & AI
0

10K+

mcp/astra-db repository overview

⁠Astra DB MCP Server

An MCP server for Astra DB workloads.

What is an MCP Server?⁠

⁠MCP Info

⁠Image Building Info

AttributeDetails
Dockerfilehttps://github.com/datastax/astra-db-mcp/blob/da7da00667ed07593a664e6cdfb754f9e18c1867/Dockerfile⁠
Commitda7da00667ed07593a664e6cdfb754f9e18c1867
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 (19)

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
FindDistinctValuesFind distinct values for a field in a collection
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
HybridSearchSearch for records using both vector similarity and text matching
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
VectorSearchSearch for records in a collection using vector similarity

⁠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
dimensionnumber optionalThe dimensions of the vector collection, if vector is true
metricstring optionalThe similarity metric to use for vector search (cosine, euclidean, or dot_product)
vectorboolean optionalWhether 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: FindDistinctValues

Find distinct values for a field in a collection

ParametersTypeDescription
collectionNamestringName of the collection to search in
fieldstringField name to find distinct values for
filterobject optionalOptional filter to apply before finding distinct values

⁠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
limitnumber optionalMaximum 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: HybridSearch

Search for records using both vector similarity and text matching

ParametersTypeDescription
collectionNamestringName of the collection to search in
queryVectorarrayThe vector to search for similar vectors
textQuerystringThe text query to search for
fieldsarray optionalFields to search in for text matching
limitnumber optionalMaximum number of records to return
weightsobject optionalWeights for vector and text components

⁠Tool: ListRecords

List records from a collection in the database

ParametersTypeDescription
collectionNamestringName of the collection to list records from
limitnumber optionalMaximum 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

⁠Tool: VectorSearch

Search for records in a collection using vector similarity

ParametersTypeDescription
collectionNamestringName of the collection to search in
queryVectorarrayThe vector to search for similar vectors
filterobject optionalAdditional filter criteria for the search
limitnumber optionalMaximum number of records to return
minScorenumber optionalMinimum similarity score (0.0 to 1.0)

⁠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?⁠

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:8c1bc87a2…

Size

91.8 MB

Last updated

8 months ago

docker pull mcp/astra-db

This week's pulls

Pulls:

144

Last week