astra-knowledge-base-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@astra-knowledge-base-mcpsearch my knowledge bases for 'API authentication'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
astra-knowledge-base-mcp
MCP (Model Context Protocol) server for managing and searching multi-tenant knowledge bases.
Part of Astra AI Agent Infrastructure
![]()
![]()
Overview
Astra Knowledge Base MCP provides AI agents with persistent, searchable knowledge bases backed by SQLite + FTS5 — zero external dependencies, one file per deployment.
Each knowledge base is an isolated namespace with full-text search. Content is auto-chunked on ingestion using recursive text splitting.
Related MCP server: recall-mcp
Prerequisites
Python 3.11+
uv — Python package manager (
pip install uv)
Setup
1. Install dependencies
uv sync2. Start
uv run server.pyThe database file is created at ~/.astra/knowledge-base.db by default. Override with the ASTRA_KB_PATH environment variable.
Configuration
Variable | Default | Description |
|
| Path to the SQLite database file |
Usage
MCP Tools
Tool | Description |
| List all knowledge bases with enable/disable status |
| Create a new empty knowledge base |
| Permanently delete a knowledge base and all its content |
| Enable a knowledge base (include in search results) |
| Disable a knowledge base (exclude from search) |
| Add text content to a knowledge base (auto-chunked) |
| Search across enabled (or specified) knowledge bases |
Registering in Hermes Agent
Add to your Hermes config.yaml:
mcp_servers:
astra-knowledge-base:
command: /path/to/astra-knowledge-base-mcp/run.sh
enabled: trueThen restart Hermes Agent. The tools (kb_list, kb_search, etc.) become available automatically.
Architecture
AI Agent (Hermes)
│ MCP stdio protocol
▼
astra-knowledge-base-mcp (Python, uv run)
│ sqlite3 (stdlib)
▼
SQLite (.db file — ~/.astra/knowledge-base.db)
├── kb_registry ← KB metadata & status
├── chunks ← Content storage
└── chunks_fts ← FTS5 virtual table (auto-synced)Agent Guide
See AGENTS.md for AI-agent-oriented documentation (entry points, workflows, Hermes integration).
Related
astra-aiagent-infra — ecosystem portal
Hermes Agent — AI agent framework
MCP — Model Context Protocol
License
MIT — see LICENSE.
CI/CD: coming soon — see astra-aiagent-infra for ecosystem-wide pipeline plans.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alrcatraz/astra-knowledge-base-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server