feat(knowledge-base): implement Knowledge Base MCP Server (#57)
Implements RAG capabilities with pgvector for semantic search: - Intelligent chunking strategies (code-aware, markdown-aware, text) - Semantic search with vector similarity (HNSW index) - Keyword search with PostgreSQL full-text search - Hybrid search using Reciprocal Rank Fusion (RRF) - Redis caching for embeddings - Collection management (ingest, search, delete, stats) - FastMCP tools: search_knowledge, ingest_content, delete_content, list_collections, get_collection_stats, update_document Testing: - 128 comprehensive tests covering all components - 58% code coverage (database integration tests use mocks) - Passes ruff linting and mypy type checking
This commit is contained in:
1
mcp-servers/knowledge-base/tests/__init__.py
Normal file
1
mcp-servers/knowledge-base/tests/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
"""Tests for Knowledge Base MCP Server."""
|
||||
Reference in New Issue
Block a user