What prerequisites are needed to run this server?
You need an active Astra DB database, an Astra DB Application Token, and the Astra DB API Endpoint. A free database can be created at the Astra DB registration page.
@datastax
基本信息
An MCP server for Astra DB workloads
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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"
}
}
}
}Get all collections in the Astra DB 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
Find distinct values for a field in a collection
Create multiple records in a collection at once
Update multiple records in a collection at once
Delete multiple records from a collection at once
Search for records in a collection using vector similarity
Search for records using both vector similarity and text matching
Open a web browser to a specific URL
Estimate the number of documents in a collection using a fast, approximate count method
Help the user add the Astra DB client to their MCP client
A Model Context Protocol (MCP) server for interacting with Astra DB. It extends LLMs by allowing them to act as agents that can manage collections, perform CRUD operations, run vector and hybrid search, and execute bulk data operations on an Astra DB database.
Install by running npx -y @datastax/astra-db-mcp with the required environment variables ASTRA_DB_APPLICATION_TOKEN and ASTRA_DB_API_ENDPOINT. Optionally set ASTRA_DB_KEYSPACE to target a specific keyspace. Add the server to an MCP client such as Claude Desktop or Cursor by editing their configuration JSON.
You need an active Astra DB database, an Astra DB Application Token, and the Astra DB API Endpoint. A free database can be created at the Astra DB registration page.
The README provides setup instructions for Claude Desktop and Cursor. Other MCP clients that accept a command-based server may also work.
Add the `ASTRA_DB_KEYSPACE` environment variable to the server configuration. If omitted, the default keyspace configured in the underlying Astra DB library is used.
Yes. The server provides `VectorSearch` for similarity search on embeddings and `HybridSearch` that combines vector similarity with text search. Both support configurable limits, filters, and scoring.
It runs via `npx` (Node.js package runner). On Windows PowerShell, the command should use `cmd /k npx` because `npx` is a batch command.

Model Context Protocol Servers

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
MCP server for interacting with Neon Management API and databases

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes

nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi
评论