Astra DB (npx) MCP Server
CommunityContributed 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
{
"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"
}
}
]
}
}Categories
Tags
Supported AI Clients
The Astra DB (npx) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
MongoDB (Docker)
Connect to MongoDB databases and Atlas clusters via Docker. Query collections, inspect schemas, manage indexes, and run aggregation pipelines in an isolated container.
MongoDB (npx)
Connect to MongoDB databases and Atlas clusters. Query collections, inspect schemas, manage indexes, and run aggregation pipelines through the official MongoDB MCP server.

PostgreSQL (Docker)
Query PostgreSQL databases, analyze performance, and optimize indexes via Docker. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks.

PostgreSQL (uvx)
Query PostgreSQL databases, analyze performance, and optimize indexes. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks via Postgres MCP Pro.
Redis (Docker)
Interact with Redis databases via Docker. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.
Redis (uvx)
Interact with Redis databases. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.
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.