Astra DB MCP
An unofficial, community-maintained integration providing live database tools for coding agents. It allows agents to map databases, read real schemas, run vector and hybrid searches, page through documents, and perform guarded writes with interactive views. It supports multiple languages and integrates with various AI coding environments.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Map a database and read a collection's real schema before writing code
- Run vector and hybrid searches on Astra DB collections
- Page through documents and change data with guarded writes
- Generate application code using canonical Data API snippets
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@erichare/astra-mcp 2.0.0
{
"version": "2.0.0",
"transport": "stdio",
"identifier": "@erichare/astra-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "ASTRA_DB_APPLICATION_TOKEN",
"format": "string",
"description": "Astra application token (AstraCS:…). Optional when the project .env or ~/.astrarc provides one."
},
{
"name": "ASTRA_DB_API_ENDPOINT",
"format": "string",
"description": "Data API endpoint of the default database. Optional when the token sees one database."
},
{
"name": "ASTRA_DB_KEYSPACE",
"format": "string",
"description": "Default keyspace (default_keyspace when unset)."
},
{
"name": "ASTRA_MCP_READ_ONLY",
"format": "boolean",
"description": "Set to 1 to hide write and schema tools."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"astra-db-mcp": {
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<YOUR_ASTRA_DB_APPLICATION_TOKEN>",
"ASTRA_DB_API_ENDPOINT": "<YOUR_ASTRA_DB_API_ENDPOINT>",
"ASTRA_DB_KEYSPACE": "<YOUR_ASTRA_DB_KEYSPACE>",
"ASTRA_MCP_READ_ONLY": "<YOUR_ASTRA_MCP_READ_ONLY>"
}
}
}
}Cline
{
"mcpServers": {
"astra-db-mcp": {
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<YOUR_ASTRA_DB_APPLICATION_TOKEN>",
"ASTRA_DB_API_ENDPOINT": "<YOUR_ASTRA_DB_API_ENDPOINT>",
"ASTRA_DB_KEYSPACE": "<YOUR_ASTRA_DB_KEYSPACE>",
"ASTRA_MCP_READ_ONLY": "<YOUR_ASTRA_MCP_READ_ONLY>"
}
}
}
}VS Code
{
"servers": {
"astra-db-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<YOUR_ASTRA_DB_APPLICATION_TOKEN>",
"ASTRA_DB_API_ENDPOINT": "<YOUR_ASTRA_DB_API_ENDPOINT>",
"ASTRA_DB_KEYSPACE": "<YOUR_ASTRA_DB_KEYSPACE>",
"ASTRA_MCP_READ_ONLY": "<YOUR_ASTRA_MCP_READ_ONLY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"astra-db-mcp": {
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<YOUR_ASTRA_DB_APPLICATION_TOKEN>",
"ASTRA_DB_API_ENDPOINT": "<YOUR_ASTRA_DB_API_ENDPOINT>",
"ASTRA_DB_KEYSPACE": "<YOUR_ASTRA_DB_KEYSPACE>",
"ASTRA_MCP_READ_ONLY": "<YOUR_ASTRA_MCP_READ_ONLY>"
}
}
}
}Let your agent find its tools
Find servers like Astra DB MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.