Astra DB
io.github.erichare由 GitHub 账号 erichare 发布v2.0.0更新于 Oct 24, 2026
Astra DB tools for agents: schema, find, vector search, guarded writes, and interactive views.
概览
社区维护的 Astra DB MCP 服务器,让助手查看模式、查询与向量检索集合,并在确认后执行受保护的写入。
- 可以做什么
- 检查连接状态并列出数据库
- 查看集合与表结构、数据库概览和向量化提供方
- 使用 find、向量检索、计数和去重取值进行查询
- 查阅内置的 Data API 代码示例
- 插入、更新、删除,创建集合、表和索引,以及删除对象
- 适用场景
- 适合需要让助手操作 Astra DB 数据库的场景:探索模式、执行读取与向量或混合检索、编写 Data API 代码,或在确认后修改数据。它还提供一条命令为多种编程助手完成配置。
- 运行要求
- npm 包需要 Node.js 20+,也可使用带 OAuth 的远程托管端点。需要 Astra DB 应用令牌(ASTRA_DB_APPLICATION_TOKEN),通常还需 Data API 端点(ASTRA_DB_API_ENDPOINT),keyspace 可选。凭据可来自环境变量、项目 .env 或 Astra CLI 配置。
安装
在 SourceWeft 中
- 打开 控制台中的 Astra DB,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.erichare%2Fastra-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"astra-db": {
"type": "http",
"url": "https://astra-widgets-mcp.vercel.app/mcp"
}
}
}README
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.
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
As an MCP server
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.
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.
来源:server/README.md,提交 da4660c
工具
0版本历史
1- v2.0.0最新Sep 24, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分

