DA

datastax/astra-db-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

43 stars 23 forks 품질 83 트렌드 8Apache-2.0

datastax/astra-db-mcp는 https://github.com/datastax/astra-db-mcp.]에서 수입된 MCP 서버 후보입니다

개요

datastax/astra-db-mcp는 https://github.com/datastax/astra-db-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Astra DB와 상호 작용하는 모델 Context Protocol (MCP) 서버. MCP는 대용량 모델 (LLMs)의 기능을 확장하여 외부 시스템과 상호 작용할 수 있습니다.

필수품

Astra DB 데이터베이스를 실행해야 합니다. 하나가 없다면 무료 데이터베이스를 만들 수 있습니다. 거기에서, 당신은 당신이 필요로 하는 2개의 것을 얻을 수 있습니다:

  1. Astra DB 신청 토큰
  2. Astra DB API 엔드포인트

이것을 얻는 방법을 배우려면 docs를 시작하십시오.

MCP 클라이언트에 추가

여기에서 MCP 클라이언트에 이 서버를 추가할 수 있는 방법입니다.

IBM 밥

IBM Bob IDE는 이 문서에서 절차를 따릅니다.

** IBM 밥 ** Shell, 이 문서에서 절차를 따르십시오.

Claude 데스크탑

Claude Desktop에 이것을 추가하려면 Preferences -> Developer -> Edit Config에 가서이 JSON blob를 claude_desktop_config.json에 추가하십시오.

** 옵션 키스페이스 구성: ** 기본적으로, 이 서버는 아스트라 DB 라이브러리(일반적으로 default_keyspace)에서 구성된 키 스페이스를 사용합니다. 특정 키 스페이스에 연결해야하는 경우, ASTRA_DB_KEYSPACE]] 변수를 env] 위 객체에 추가 할 수 있습니다.

**Windows PowerShell 사용자: **

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Astra DB MCP Server

A Model Context Protocol (MCP) server for interacting with Astra DB. MCP extends the capabilities of Large Language Models (LLMs) by allowing them to interact with external systems as agents.

Prerequisites

You need to have a running Astra DB database. If you don’t have one, you can create a free database here. From there, you can get two things you need:

  1. An Astra DB Application Token
  2. The Astra DB API Endpoint

To learn how to get these, please read the getting started docs.

Adding to an MCP client

Here’s how you can add this server to your MCP client.

IBM Bob

For IBM Bob IDE, follow the procedure at this documentation.

For IBM Bob Shell, follow the procedure at this documentation.

Claude Desktop

To add this to Claude Desktop, go to Preferences -> Developer -> Edit Config and add this JSON blob to claude_desktop_config.json:

{
  "mcpServers": {
    "astra-db-mcp": {
      "command": "npx",
      "args": ["-y", "@datastax/astra-db-mcp"],
      "env": {
        "ASTRA_DB_APPLICATION_TOKEN": "your_astra_db_token",
        "ASTRA_DB_API_ENDPOINT": "your_astra_db_endpoint"
      }
    }
  }
}

Optional Keyspace Configuration: By default, this server uses the keyspace configured in the underlying Astra DB library (typically default_keyspace). If you need to connect to a specific keyspace, you can add the ASTRA_DB_KEYSPACE variable to the env object above, like so:

"env": {
  "ASTRA_DB_APPLICATION_TOKEN": "your_astra_db_token",
  "ASTRA_DB_API_ENDPOINT": "your_astra_db_endpoint",
  "ASTRA_DB_KEYSPACE": "your_desired_keyspace"
}

Windows PowerShell Users: npx is a batch command so modify the JSON as follows:

  "command": "cmd",
  "args": ["/k", "npx", "-y", "@datastax/astra-db-mcp"],

Cursor

To add this to Cursor, go to Settings -> Cursor Settings -> MCP

From there, you can add the server by clicking the “+ Add New MCP Server” button, where you should be brought to an mcp.json file.

Tip: there is a ~/.cursor/mcp.json that represents your Global MCP settings, and a project-specific .cursor/mcp.json file that is specific to the project. You probably want to install this MCP server into the project-specific file.

GitHub에서 전체 README 보기

설치

npx -y @datastax/astra-db-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "astra-db-mcp": { "command": "npx", "args": ["-y", "@datastax/astra-db-mcp"], "env": { "ASTRA_DB_APPLICATION_TOKEN": "your_astra_db_token", "ASTRA_DB_API_ENDPOINT": "your_astra_db_endpoint" } } } }