Astra DB Logo

Astra DB

Official

Integrates with Astra DB, enabling cloud-native database operations for scalable data storage and re...

99 views
0 installs
Updated Sep 9, 2025
Not audited
Integrates with Astra DB, enabling cloud-native database operations for scalable data storage and retrieval in AI applications.
  1. Create an Astra DB Account and Database

    • Go to astra.datastax.com/register and sign up for a free account.
    • Once registered, log in and create a new (serverless) database by following the on-screen prompts.
  2. Obtain the Astra DB Application Token

    • After your database is set up, navigate to your database’s dashboard within the Astra DB console.
    • Go to the "Settings" or "Organization Settings," then find the "Token Management" or "API Tokens" section.
    • Click on "Create Token" (choose at least "Database Administrator" role for full access).
    • Copy the generated "Token" (starts with AstraCS:...). This token will only be displayed once!
  3. Get the Astra DB API Endpoint

    • In your database dashboard, locate the "Connect" tab or section.
    • Under "Connect using REST API" or a similar header, copy the "REST API Endpoint" URL. It should look like:
      https://<database_id>-<region>.apps.astra.datastax.com/api/rest
  4. (Optional) Find Your Keyspace Name

    • If you wish to specify a keyspace (database namespace), note or copy the keyspace name you created. If not, you can skip this.
  5. Add the Values to the FastMCP Connection Interface

    • Go to your FastMCP interface and click on the "Install Now" button for Astra DB.
    • When prompted, fill in the following values:
      • ASTRA_DB_APPLICATION_TOKEN: Paste the token from step 2.
      • ASTRA_DB_API_ENDPOINT: Paste the API endpoint from step 3.
      • (Optional) ASTRA_DB_KEYSPACE: Enter your keyspace name if you wish to connect to a specific keyspace.
  6. Save and Finish

    • Save your configuration in the FastMCP interface. Your MCP server is now connected to Astra DB!

Links for Reference:

Quick Start

View on GitHub

More for Database

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.