原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Astra DB

作者:erichare版本 2.0.0i★ –i电脑或云端
注册名称io.github.erichare/astra-mcp

安装

概览

作者提供的说明(英文原文)

Astra DB tools for agents: schema, find, vector search, guarded writes, and interactive views.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 搜索与 AI 记忆
  • 你需要填写:ASTRA_DB_APPLICATION_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: ASTRA_DB_APPLICATION_TOKEN, ASTRA_DB_API_ENDPOINT, ASTRA_DB_KEYSPACE, ASTRA_MCP_READ_ONLY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://astra-widgets-mcp.vercel.app/mcp

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "astra": {
      "command": "npx",
      "args": [
        "-y",
        "@erichare/astra-mcp"
      ],
      "env": {
        "ASTRA_DB_APPLICATION_TOKEN": "your-value",
        "ASTRA_DB_API_ENDPOINT": "your-value",
        "ASTRA_DB_KEYSPACE": "your-value",
        "ASTRA_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http astra https://astra-widgets-mcp.vercel.app/mcp

或者在你的电脑上运行

claude mcp add astra --env ASTRA_DB_APPLICATION_TOKEN=your-value --env ASTRA_DB_API_ENDPOINT=your-value --env ASTRA_DB_KEYSPACE=your-value --env ASTRA_MCP_READ_ONLY=your-value -- npx -y @erichare/astra-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "astra": {
      "url": "https://astra-widgets-mcp.vercel.app/mcp"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "astra": {
      "command": "npx",
      "args": [
        "-y",
        "@erichare/astra-mcp"
      ],
      "env": {
        "ASTRA_DB_APPLICATION_TOKEN": "your-value",
        "ASTRA_DB_API_ENDPOINT": "your-value",
        "ASTRA_DB_KEYSPACE": "your-value",
        "ASTRA_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "astra": {
      "type": "http",
      "url": "https://astra-widgets-mcp.vercel.app/mcp"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "astra": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@erichare/astra-mcp"
      ],
      "env": {
        "ASTRA_DB_APPLICATION_TOKEN": "your-value",
        "ASTRA_DB_API_ENDPOINT": "your-value",
        "ASTRA_DB_KEYSPACE": "your-value",
        "ASTRA_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://astra-widgets-mcp.vercel.app/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • ASTRA_DB_APPLICATION_TOKEN 机密 env
    Astra application token (AstraCS:…). Optional when the project .env or ~/.astrarc provides one.
  • ASTRA_DB_API_ENDPOINT env
    Data API endpoint of the default database. Optional when the token sees one database.
  • ASTRA_DB_KEYSPACE env
    Default keyspace (default_keyspace when unset).
  • ASTRA_MCP_READ_ONLY env
    Set to 1 to hide write and schema tools.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 erichare 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5714 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5714 个服务器的 48% 更新
  • 基础检查结果等于或优于此分类中其他 5714 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Astra DB 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:ASTRA_DB_APPLICATION_TOKEN

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.0.0)于上个月进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

Up-to-date docs for AI agents

作者:upstash广泛使用↓ 97.3万/周★ 6.4万前天更新

电脑或云端

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData广泛使用↓ 1.8万/周★ 4.8万22天前更新

在你的电脑上运行

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs广泛使用★ 52132个月前更新

在云端运行✓ exa.ai

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

JEStats Astra DB Plugin · @erichare/astra-mcp

Unofficial, community-maintained Astra DB integration by JEStats, not affiliated with or endorsed by DataStax or IBM. An MCP server with live data tools, guarded writes, vector and hybrid search, interactive MCP Apps views, and about 1,660 bundled Data API examples. It also includes a one-command installer for Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop, and IBM Bob.

npx -y @erichare/astra-mcp init

init detects your agents and configures each one. Its login step reuses an existing credential source or asks for an Astra application token with hidden input, lets you pick a database, and writes connection settings to a git-ignored .env. There's no restart: the server re-reads credentials on every call. Requires Node.js 20+.

Already configured the Astra CLI? Run login --profile analytics to choose a database from a named profile, or use init --no-login followed by doctor to reuse the default configuration directly. Profile login stores only the profile/config selector and connection details, keeping the token in .astrarc. The npm package name stays unchanged for compatibility.

Commands

astra-mcpServe MCP over stdio (the default when stdin isn't a terminal)
astra-mcp initConfigure agents: --agents a,b, --project, --dry-run, --yes, --no-login
astra-mcp loginConnect a database: --profile, --astrarc, --astra-env, --global, --database, --keyspace, --endpoint, --token-stdin
astra-mcp doctorCheck credentials, connectivity, .env hygiene, and agent setup (--json)
astra-mcp uninstallUndo init
astra-mcp serve --read-onlyServe without the write tools
astra-mcp bob-bundle --out Build the IBM Bob bundle

As an MCP server

{ "mcpServers": { "astra-db": { "command": "npx", "args": ["-y", "@erichare/astra-mcp@2"] } } }

The 18 tools:

  • Connect: connection_status, list_databases
  • Explore: database_overview, describe_collection, describe_table, list_vectorize_providers
  • Query: find, vector_search, count, distinct_values
  • Build: code_examples
  • Change: insert, update, delete, create_collection, create_table, create_index, drop

Destructive operations need the user's confirmation, through elicitation or an explicit confirm argument after the user approves. Credentials come from the environment, then the project's .env, host settings, login --global, and the Astra CLI's ~/.astrarc.

The package bundles everything into one file with no runtime dependencies. Releases after 2.0.0 are published from GitHub Actions with npm provenance.

Documentation, the Claude Code and Codex plugin, and the hosted OAuth endpoint for ChatGPT and claude.ai: [github.com/jestatsio/astra-db-plugin](https://github.com/jestatsio/astra-db-plugin).

Apache-2.0 for this plugin's own code. Includes documentation-derived examples vendored from sl-at-ibm/astra-toolkit-skill; see the bundled NOTICE for attribution and upstream licensing status. Community project, not an official DataStax or IBM product.

问 PopNx