An MCP server for Astra DB workloads
9.7K
An MCP server for Astra DB workloads.
| Attribute | Details |
|---|---|
| Docker Image | mcp/astra-db |
| Author | datastax |
| Repository | https://github.com/datastax/astra-db-mcp |
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/datastax/astra-db-mcp/blob/da7da00667ed07593a664e6cdfb754f9e18c1867/Dockerfile |
| Commit | da7da00667ed07593a664e6cdfb754f9e18c1867 |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/astra-db --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | Apache License 2.0 |
| Tools provided by this Server | Short Description |
|---|---|
BulkCreateRecords | Create multiple records in a collection at once |
BulkDeleteRecords | Delete multiple records from a collection at once |
BulkUpdateRecords | Update multiple records in a collection at once |
CreateCollection | Create a new collection in the database |
CreateRecord | Create a new record in a collection |
DeleteCollection | Delete a collection from the database |
DeleteRecord | Delete a record from a collection |
EstimateDocumentCount | Estimate the number of documents in a collection using a fast, approximate count method |
FindDistinctValues | Find distinct values for a field in a collection |
FindRecord | Find records in a collection by field value |
GetCollections | Get all collections in the Astra DB database |
GetRecord | Get a specific record from a collection by ID |
HelpAddToClient | Help the user add the Astra DB client to their MCP client |
HybridSearch | Search for records using both vector similarity and text matching |
ListRecords | List records from a collection in the database |
OpenBrowser | Open a web browser to a specific URL |
UpdateCollection | Update an existing collection in the database |
UpdateRecord | Update an existing record in a collection |
VectorSearch | Search for records in a collection using vector similarity |
BulkCreateRecordsCreate multiple records in a collection at once
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to create the records in |
records | array | Array of records to insert |
BulkDeleteRecordsDelete multiple records from a collection at once
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection containing the records |
recordIds | array | Array of record IDs to delete |
BulkUpdateRecordsUpdate multiple records in a collection at once
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection containing the records |
records | array | Array of records to update with their IDs |
CreateCollectionCreate a new collection in the database
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to create |
dimension | number optional | The dimensions of the vector collection, if vector is true |
metric | string optional | The similarity metric to use for vector search (cosine, euclidean, or dot_product) |
vector | boolean optional | Whether to create a vector collection |
CreateRecordCreate a new record in a collection
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to create the record in |
record | object | The record data to insert |
DeleteCollectionDelete a collection from the database
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to delete |
DeleteRecordDelete a record from a collection
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection containing the record |
recordId | string | ID of the record to delete |
EstimateDocumentCountEstimate the number of documents in a collection using a fast, approximate count method
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to estimate document count for |
FindDistinctValuesFind distinct values for a field in a collection
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to search in |
field | string | Field name to find distinct values for |
filter | object optional | Optional filter to apply before finding distinct values |
FindRecordFind records in a collection by field value
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to search in |
field | string | Field name to search by (e.g., 'title', '_id', or any property) |
value | string | Value to search for in the specified field |
limit | number optional | Maximum number of records to return |
GetCollectionsGet all collections in the Astra DB database
GetRecordGet a specific record from a collection by ID
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to get the record from |
recordId | string | ID of the record to retrieve |
HelpAddToClientHelp the user add the Astra DB client to their MCP client
HybridSearchSearch for records using both vector similarity and text matching
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to search in |
queryVector | array | The vector to search for similar vectors |
textQuery | string | The text query to search for |
fields | array optional | Fields to search in for text matching |
limit | number optional | Maximum number of records to return |
weights | object optional | Weights for vector and text components |
ListRecordsList records from a collection in the database
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to list records from |
limit | number optional | Maximum number of records to return |
OpenBrowserOpen a web browser to a specific URL
| Parameters | Type | Description |
|---|---|---|
url | string | The URL to open in the browser |
UpdateCollectionUpdate an existing collection in the database
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to update |
newName | string | New name for the collection |
UpdateRecordUpdate an existing record in a collection
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection containing the record |
record | object | The updated record data |
recordId | string | ID of the record to update |
VectorSearchSearch for records in a collection using vector similarity
| Parameters | Type | Description |
|---|---|---|
collectionName | string | Name of the collection to search in |
queryVector | array | The vector to search for similar vectors |
filter | object optional | Additional filter criteria for the search |
limit | number optional | Maximum number of records to return |
minScore | number optional | Minimum similarity score (0.0 to 1.0) |
{
"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"
}
}
}
}
Content type
Image
Digest
sha256:8c1bc87a2…
Size
91.8 MB
Last updated
6 months ago
docker pull mcp/astra-dbPulls:
1,415
Last week