1.4 KiB
1.4 KiB
MCP Server Documentation
This directory contains all documentation for the MCP Server project.
Project Phases
- Phase 2 - REST API Implementation - API endpoints and testing
- Phase 2 TDD Summary - Test-driven development approach
- Phase 3 - Semantic Memory Integration - Semantic search and memory
- TDD Final Summary - Complete TDD methodology
- TDD Summary - Test-driven development overview
- Progress Tracker - Development progress and milestones
Quick Start
- Build the server:
cargo build - Run the server:
cargo run - Run tests:
cargo nextest run - Test endpoints: See API documentation below
API Endpoints
GET /api/health- Health checkPOST /api/facts- Add a factGET /api/facts/search- Semantic search
Architecture
- Embedding Service: Fastembed integration for vector embeddings
- Semantic Store: SQLite + HNSW for efficient search
- Memory Service: Core business logic
- REST API: Actix-Web endpoints
Testing
All tests are located in the tests/ directory:
tests/api_endpoints.rs- API contract teststests/semantic_memory.rs- Memory service teststests/embedding_tests.rs- Embedding teststests/semantic_integration.rs- Integration tests
Test data is stored in tests/data/ directory.