Astra DB MCP Server
Databasestdio
DataStax's official MCP server for Astra DB, a serverless database built on Apache Cassandra with native vector search. Lets AI agents create and manage collections, insert and update records, and run similarity and metadata queries, making it a convenient backend for retrieval-augmented generation and agent memory workloads.
连接
将此配置添加到 .claude/mcp.json
{
"mcpServers": {
"astra-db": {
"command": "npx",
"args": [
"-y",
"@datastax/astra-db-mcp"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<YOUR_ASTRA_DB_APPLICATION_TOKEN>",
"ASTRA_DB_API_ENDPOINT": "<YOUR_ASTRA_DB_API_ENDPOINT>"
}
}
}
}工具 (3)
ListCollections
List the collections available in the Astra DB database.
{
"type": "object",
"properties": {}
}CreateCollection
Create a new collection, optionally configured for vector search.
{
"type": "object",
"required": [
"collectionName"
],
"properties": {
"dimension": {
"type": "integer",
"description": "Vector dimension, if the collection stores embeddings"
},
"collectionName": {
"type": "string",
"description": "Name of the collection to create"
}
}
}FindRecords
Query records in a collection by filter or vector similarity.
{
"type": "object",
"required": [
"collectionName"
],
"properties": {
"filter": {
"type": "object",
"description": "Optional metadata filter"
},
"collectionName": {
"type": "string",
"description": "Collection to query"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 星标
- 0
- 最后更新
- 2026年7月12日