Skip to main content
Glama

Astra MCP Server

by smatiolids
README.md1.04 kB
# 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: ```env # 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 ```bash source .venv/bin/activate uv run server.py ``` ## Using MCP Inspector ```bash npx @modelcontextprotocol/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