Skip to main content
Glama

Astra MCP Server

by smatiolids

Astra MCP Server

A Model Context Protocol (MCP) server for interacting with Astra DB (DataStax Astra).

1. Set up environment variables (see Configuration section)

Create a .env file in the project root with the following variables:

# Astra DB Configuration ASTRA_DB_APPLICATION_TOKEN=your_astra_db_token ASTRA_DB_API_ENDPOINT=your_astra_db_endpoint # Logging Configuration (optional) LOG_LEVEL=INFO LOG_FILE=logs/astra_mcp_server.log

Logging Configuration

The project includes a comprehensive logging system with the following features:

Log Levels

  • DEBUG: Detailed information for debugging

  • INFO: General information about program execution

  • WARNING: Warning messages for potentially problematic situations

  • ERROR: Error messages for serious problems

  • CRITICAL: Critical error messages that may prevent the program from running

Usage

Starting the Server

source .venv/bin/activate uv run server.py

Using MCP Inspector

npx @modelcontextprotocol/inspector
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables interaction with DataStax Astra DB through the Model Context Protocol. Provides database connectivity and operations for Astra DB instances via secure token-based authentication.

  1. 1. Set up environment variables (see Configuration section)
    1. Logging Configuration
  2. Usage
    1. Starting the Server
  3. Using MCP Inspector

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/smatiolids/astra-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server