MCP (Model Context Protocol) Server for AI Cogence RAG Backend
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"ai-cogence-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# MCP Server for AI Cogence Backend ## Overview This MCP (Model Context Protocol) server exposes the AI Cogence backend's RAG capabilities, knowledge base, and chat functionality to AI assistants like Claude. It allows AI tools to directly query your knowledge base, perform semantic searches, and manage chat sessions. ## Features ### 🛠️ Tools Available 1. **`rag_query`** - Query the RAG system with natural language questions - Retrieves relevant documents from the knowledge base - Generates AI-powered answers using retrieved context - Maintains conversation continuity with session IDs 2. **`semantic_search`** - Perform vector similarity search - Find the most relevant text chunks based on embeddings - Configurable number of results (top_k) - Returns similarity scores 3. **`load_markdown_content`** - Index markdown files into the knowledge base - Loads content from the `/content` directory - Makes content searchable through RAG queries - Updates embeddings automatically 4. **`list_chat_sessions`** - View all chat sessions - Lists sessions with metadata - Shows creation and update timestamps - Configurable limit 5. **`get_session_messages`** - Retrieve conversation history - Get all messages from a specific session - Full conversation context - Chronological ordering 6. **`search_knowledge_base`** - Keyword-based search - Search by text content - Filter by source document - Metadata-aware queries 7. **`get_analytics`** - System usage statistics - Query counts and session metrics - Time-range filtering (today, week, month, all) - Performance insights ### 📚 Resources Available 1. **Content Resources** (`cogence://content/*`) - All markdown files from `/backend/content/` - Includes: home, about-us, services, etc. - Format: Markdown 2. **Knowledge Base** (`cogence://knowledge-base`) - Complete statistics about stored documents - Total chunks, sources, and sessions - Format: J…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.