McpMux
Back to Registry

Astra DB (npx) MCP Server

Community

Contributed by DataStax

Interact with DataStax Astra DB collections and documents from your AI client. Create, read, update, and delete collections and records, including vector-enabled collections, via npx.

About the Astra DB (npx) MCP Server

The Astra DB (npx) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Interact with DataStax Astra DB collections and documents from your AI client. Create, read, update, and delete collections and records, including vector-enabled collections, via npx. This is a community-contributed MCP server by DataStax.

Install the Astra DB (npx) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.

Transport Configuration

Transport Configuration
{
  "type": "stdio",
  "command": "npx",
  "args": [
    "-y",
    "@datastax/astra-db-mcp"
  ],
  "env": {
    "ASTRA_DB_APPLICATION_TOKEN": "${input:ASTRA_DB_APPLICATION_TOKEN}",
    "ASTRA_DB_API_ENDPOINT": "${input:ASTRA_DB_API_ENDPOINT}"
  },
  "metadata": {
    "inputs": [
      {
        "id": "ASTRA_DB_APPLICATION_TOKEN",
        "label": "Astra DB Application Token",
        "description": "Application token used to authenticate with your Astra DB database. Generate it from the Astra DB console for your database (a token with Database Administrator privileges is recommended).",
        "type": "text",
        "required": true,
        "secret": true,
        "placeholder": "AstraCS:************************",
        "obtain": {
          "url": "https://astra.datastax.com",
          "instructions": "1. Sign in to the Astra DB console at https://astra.datastax.com\n2. Open your database (or create one)\n3. Go to the database's 'Connect' / token section and generate an Application Token\n4. Copy the token (it starts with 'AstraCS:')",
          "button_label": "Open Astra Console"
        }
      },
      {
        "id": "ASTRA_DB_API_ENDPOINT",
        "label": "Astra DB API Endpoint",
        "description": "The Data API endpoint for your Astra DB database. Find it on the database's overview/connect page in the Astra DB console.",
        "type": "url",
        "required": true,
        "placeholder": "https://<db-id>-<region>.apps.astra.datastax.com",
        "obtain": {
          "url": "https://astra.datastax.com",
          "instructions": "1. Sign in to the Astra DB console at https://astra.datastax.com\n2. Open your database\n3. On the database overview/Connect page, copy the API Endpoint URL",
          "button_label": "Open Astra Console"
        }
      }
    ]
  }
}
Details
TransportLocal (stdio)
Hostinglocal
AuthAPI Key
Capabilities
Tools

Categories

Tags

astradatastaxcassandravectordatabase

Supported AI Clients

The Astra DB (npx) MCP server works with all MCP-compatible AI clients through McpMux:

CursorClaude DesktopClaude CodeVS CodeChatGPTWindsurfJetBrainsZedClineGemini CLIAmazon Q

Related MCP Servers

Install Astra DB (npx) with McpMux

One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.