LogoSTMCP
Download
astra-db-mcp

Astra DB MCP Server

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.

Tools

1. GetCollections

Get all collections in the database.

2. CreateCollection

Create a new collection in the database.

3. UpdateCollection

Update an existing collection in the database.

4. DeleteCollection

Delete a collection from the database.

5. ListRecords

List records from a collection in the database.

6. GetRecord

Get a specific record from a collection by ID.

7. CreateRecord

Create a new record in a collection.

8. UpdateRecord

Update an existing record in a collection.

9. DeleteRecord

Delete a record from a collection.

10. FindRecord

Find records in a collection by field value.

11. BulkCreateRecords

Create multiple records in a collection at once.

12. BulkUpdateRecords

Update multiple records in a collection at once.

13. BulkDeleteRecords

Delete multiple records from a collection at once.

14. OpenBrowser

Open a web browser for authentication and setup.

15. HelpAddToClient

Get assistance with adding Astra DB client to your MCP client.

16. EstimateDocumentCount

Get estimate of the number of documents in a collection.

Open Graph image for Astra DB MCP Server

JSON Config

{
  "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"
      }
    }
  }
}

Useful Links

Information