Astra DB MCP Server enables LLMs to interact with Astra DB through the Model Context Protocol, providing tools for collection and record management, data operations, and database administration.
Get all collections in the database.
Create a new collection in the database.
Update an existing collection in the database.
Delete a collection from the database.
List records from a collection in the database.
Get a specific record from a collection by ID.
Create a new record in a collection.
Update an existing record in a collection.
Delete a record from a collection.
Find records in a collection by field value.
Create multiple records in a collection at once.
Update multiple records in a collection at once.
Delete multiple records from a collection at once.
Open a web browser for authentication and setup.
Get assistance with adding Astra DB client to your MCP client.
Get estimate of the number of documents in a collection.
{
"mcpServers": {
"astra-db-mcp": {
"command": "npx",
"args": ["-y", "@datastax/astra-db-mcp"],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "your_astra_db_token",
"ASTRA_DB_API_ENDPOINT": "your_astra_db_endpoint"
}
}
}
}