ceph-doc-kb
Provides a version-aware, component-scoped knowledge base for Ceph documentation, enabling search of docs, examples, command lookup, and topic listing across Ceph components like rados, rbd, rgw, cephfs, and cephadm.
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., "@ceph-doc-kbfind docs for ceph osd pool create"
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.
ceph-doc-kb
Version-aware, component-scoped Ceph documentation knowledge base. Indexes Ceph RST docs into per-component vector indices with two-tier search (BM25 + semantic via fastembed/FAISS).
Quick Start
# Install
pip install -e .
# Build index from Ceph docs
git clone --depth 1 --branch v20.2.1 --sparse https://github.com/ceph/ceph.git /tmp/ceph-docs
cd /tmp/ceph-docs && git sparse-checkout set doc
cd /path/to/ceph-doc-kb
python3 index_docs.py --docs-path /tmp/ceph-docs/doc --version 20.2.1 --verboseRelated MCP server: Local Search MCP Server
Architecture
Component-scoped indices: Each Ceph component (rados, rbd, rgw, cephfs, cephadm) gets its own FAISS index for fast, targeted search
Two-tier search: BM25 keyword match for exact terms, fastembed semantic search for conceptual queries
Command cross-reference: Instant lookup from any
ceph/rbd/radoscommand to relevant docsQuality scoring: Chunks with code examples, commands, and explanations rank higher
Version-aware: Supports multiple Ceph release indices side by side
MCP Server
{
"mcpServers": {
"ceph-doc-kb": {
"command": "python3",
"args": ["-m", "ceph_doc_kb.server.mcp_server"],
"cwd": "/path/to/ceph-doc-kb"
}
}
}Tools
Tool | Description |
| Search docs with optional component scoping |
| Search code examples and configs |
| Get full doc page content |
| Instant command-to-doc lookup |
| List available components |
| List topics within a component |
| Server capabilities |
| Index health status |
REST API
python3 -m ceph_doc_kb.server.rest_api
# http://127.0.0.1:8100/api/search?query=erasure+coding&component=radosSee BOB_INTEGRATION_GUIDE.md for full endpoint reference with curl examples.
VS Code Extension
A VS Code extension is available for interactive documentation search:
cd vscode-extension && npm install
# Install via "Developer: Install Extension from Location..."Features: search docs (Cmd+Alt+D), search examples (Cmd+Alt+E), find docs for command (Cmd+Alt+F), insert code at cursor.
See vscode-extension/README.md for details.
Agent Integration
Python client for LLM agents (no external dependencies):
from examples.agent_integration import CephDocKBClient
client = CephDocKBClient("http://localhost:8100")
results = client.search_docs("erasure coding", component="rados")LangChain and CrewAI wrappers included. See BOB_INTEGRATION_GUIDE.md.
Incremental Updates
python3 index_docs.py --update --docs-path /tmp/ceph-docs/doc \
--repo-path /tmp/ceph-docs --from-version v20.2.1 --to-version v20.2.2Documentation
Document | Description |
MCP platform contract and entity schema | |
Architecture, source tree, maintainer guide | |
REST API reference, agent integration, deployment | |
VS Code extension install and usage |
Development
pip install -e ".[dev]"
pytestSee DEVELOPMENT.md for architecture details and contributing.
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/pdhiran/ceph-document-kb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server