Astra DB
v2.0.0Astra DB tools for agents: schema, find, vector search, guarded writes, and interactive views.
Values you need
| Variable | What it is | |
|---|---|---|
ASTRA_DB_APPLICATION_TOKEN | optional secret | Astra application token (AstraCS:…). Optional when the project .env or ~/.astrarc provides one. |
ASTRA_DB_API_ENDPOINT | optional | Data API endpoint of the default database. Optional when the token sees one database. |
ASTRA_DB_KEYSPACE | optional | Default keyspace (default_keyspace when unset). |
ASTRA_MCP_READ_ONLY | optional | Set to 1 to hide write and schema tools. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add astra-mcp -- npx -y @erichare/astra-mcp@2.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"astra-mcp": {
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"astra-mcp": {
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"astra-mcp": {
"args": [
"-y",
"@erichare/astra-mcp@2.0.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.astra-mcp]
command = "npx"
args = ["-y", "@erichare/astra-mcp@2.0.0"]Remote (hosted)
Run in a terminal
claude mcp add --transport http astra-mcp https://astra-widgets-mcp.vercel.app/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"astra-mcp": {
"args": [
"-y",
"mcp-remote",
"https://astra-widgets-mcp.vercel.app/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"astra-mcp": {
"url": "https://astra-widgets-mcp.vercel.app/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"astra-mcp": {
"type": "http",
"url": "https://astra-widgets-mcp.vercel.app/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.astra-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://astra-widgets-mcp.vercel.app/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: connection_status, list_databases, database_overview, describe_collection, describe_table, find, vector_search, count, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json