mcpField
A
Astra DB

Astra DB

Remote
github.comDatabases0Updated 2w ago

About Astra DB

Astra DB is an unofficial, community-maintained MCP server for agents working with Astra DB. It combines database exploration and search with guarded write operations, interactive views, and bundled Data API examples.

Key features

  1. 01Inspect database and collection schemas
  2. 02Run find, vector, and hybrid searches
  3. 03Perform guarded database writes
  4. 04Build interactive MCP Apps views
  5. 05Browse bundled Data API examples
  6. 06Install and configure agent clients

Use cases

  1. 01Explore Astra DB schemas and data
  2. 02Search collections using vectors or filters
  3. 03Apply approved database changes
  4. 04Find examples while building with Astra DB

MCP support

Exposes Astra DB connection, exploration, query, example, and change tools to MCP clients. Destructive operations require user confirmation, and read-only mode is available.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://astra-widgets-mcp.vercel.app/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npm@erichare/astra-mcp2.0.0

Tools

Details

From the project 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.

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 <zip>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.

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.