Skip to content

Commit d5c128b

Browse files
committed
Add MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent 14015a9 commit d5c128b

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

servers/com.astra-mcp-npx.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.astra-mcp-npx",
4+
"name": "Astra DB (npx)",
5+
"alias": "astra-db",
6+
"description": "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.",
7+
"logo": "https://avatars.githubusercontent.com/u/573369?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"database"
11+
],
12+
"tags": [
13+
"astra",
14+
"datastax",
15+
"cassandra",
16+
"vector",
17+
"database"
18+
],
19+
"transport": {
20+
"type": "stdio",
21+
"command": "npx",
22+
"args": [
23+
"-y",
24+
"@datastax/astra-db-mcp"
25+
],
26+
"env": {
27+
"ASTRA_DB_APPLICATION_TOKEN": "${input:ASTRA_DB_APPLICATION_TOKEN}",
28+
"ASTRA_DB_API_ENDPOINT": "${input:ASTRA_DB_API_ENDPOINT}"
29+
},
30+
"metadata": {
31+
"inputs": [
32+
{
33+
"id": "ASTRA_DB_APPLICATION_TOKEN",
34+
"label": "Astra DB Application Token",
35+
"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).",
36+
"type": "text",
37+
"required": true,
38+
"secret": true,
39+
"placeholder": "AstraCS:************************",
40+
"obtain": {
41+
"url": "https://astra.datastax.com",
42+
"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:')",
43+
"button_label": "Open Astra Console"
44+
}
45+
},
46+
{
47+
"id": "ASTRA_DB_API_ENDPOINT",
48+
"label": "Astra DB API Endpoint",
49+
"description": "The Data API endpoint for your Astra DB database. Find it on the database's overview/connect page in the Astra DB console.",
50+
"type": "url",
51+
"required": true,
52+
"placeholder": "https://<db-id>-<region>.apps.astra.datastax.com",
53+
"obtain": {
54+
"url": "https://astra.datastax.com",
55+
"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",
56+
"button_label": "Open Astra Console"
57+
}
58+
}
59+
]
60+
}
61+
},
62+
"auth": {
63+
"type": "api_key",
64+
"instructions": "Generate an Application Token and copy the API Endpoint from your database in the Astra DB console at https://astra.datastax.com"
65+
},
66+
"contributor": {
67+
"name": "DataStax",
68+
"github": "datastax",
69+
"url": "https://www.datastax.com"
70+
},
71+
"links": {
72+
"repository": "https://github.com/datastax/astra-db-mcp",
73+
"homepage": "https://www.datastax.com",
74+
"documentation": "https://docs.datastax.com/en/astra-db-serverless/index.html"
75+
},
76+
"platforms": [
77+
"all"
78+
],
79+
"capabilities": {
80+
"tools": true,
81+
"resources": false,
82+
"prompts": false,
83+
"read_only_mode": false
84+
},
85+
"changelog_url": "https://github.com/datastax/astra-db-mcp/releases"
86+
}

0 commit comments

Comments
 (0)