BroxiAI
  • Welcome
  • Account
    • Quickstart
    • Password
    • Team
      • Create team
      • Join team
      • Payment & Billing
      • Payment Policy
    • Global Variables
    • API Keys
  • Workflow
    • Overview
    • Quickstart
    • Components
    • Playground
    • Publish Workflow
    • File Manager
    • Webhook
  • Components
    • Input & Output
    • Agents
    • AI Models
    • Data
    • Embeddings
    • Helper
    • Loader
    • Logic
    • Memories
    • Processing
    • Prompt
    • Tools
    • Vector database
  • Advanced
    • Use Agent in flow
    • MCP Connect
    • MCP Astra DB
  • Integration
    • Apify
    • AssemblyAI
    • Composio
    • Google
      • Google Auth
      • Vertex AI
    • Notion
      • Setup
      • Notion Conversational Agent
      • Notion Meeting Notes Agent
Powered by GitBook
On this page
  1. Advanced

MCP Astra DB

PreviousMCP ConnectNextApify

Last updated 12 days ago

Use the to connect Broxi to a .

  1. Install an LTS release of .

  2. Create an API key.

  3. Create an , if you don't already have one.

  4. Get your database's Astra DB API endpoint and an Astra DB application token with the Database Administrator role. For more information, see .

  5. Create a Simple agent starter project.

  6. Remove the URL tool and replace it with an component. The flow should look like this:

  7. In the MCP server component, in the MCP command field, add the following code. Replace the values for ASTRA_TOKEN and ASTRA_ENDPOINT with the values from your Astra database.

env ASTRA_DB_APPLICATION_TOKEN=ASTRA_TOKEN ASTRA_DB_API_ENDPOINT=ASTRA_ENDPOINT npx -y @datastax/astra-db-mcpnpx -y @datastax/astra-db-mcp
  1. In the Agent component, add your OpenAI API key.

  2. Open the Playground, and then ask the agent, What collections are available?

Since BroxiAI is connected to your Astra DB database through the MCP, the agent chooses the correct tool and connects to your database to retrieve the answer.

The available collections in your database are:
collection_002
hardware_requirements
load_collection
nvidia_collection
software_requirements
MCP server component
Datastax Astra DB MCP server
Node.js
OpenAI
Astra DB Serverless (Vector) database
Generate an application token for a database
MCP server