About Lasagna
Lasagna is an MCP server published by dolev31 in the RAG category: swap one RAG pipeline stage, hold the rest fixed, and measure whether the gain survives composition. The framework behind "Retrieval Augmented Generation Compositionality": 450 configurations, eight benchmarks, corpora from 5K to 200K documents. Conduid read 29 tools from its source: archive_document, bulk_delete_session, clear_session, delete_document, delete_rag_profile, get_active_profile and 23 more. No package is published for it, so it installs from a source checkout.
The repository has 38 stars and 15 forks, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. Its topics include ablation-study, agentic-rag, beir, benchmark, evaluation and good-first-issue.
Install
git clone https://github.com/dolev31/lasagnaTools (29)
archive_documentSoft-delete (archive) a document.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| session_id | string | |
| session_token | string |
bulk_delete_sessionDelete ALL documents in a session at once.| Parameter | Type | Description |
|---|---|---|
| admin_token | string | |
| confirm | boolean | |
| session_id | string | |
| session_token | string |
clear_sessionDelete all documents in a session.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | |
| session_id | string | |
| session_token | string |
delete_documentDelete a document and all its indexed chunks from the knowledge base.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| session_id | string | |
| session_token | string |
delete_rag_profileDelete a custom RAG profile.| Parameter | Type | Description |
|---|---|---|
| profile_name * | string | |
| session_id | string | |
| session_token | string |
get_active_profileGet the active RAG profile for a session.| Parameter | Type | Description |
|---|---|---|
| session_id | string | |
| session_token | string |
get_document_chunksGet chunks from a specific document.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| limit | integer | |
| offset | integer | |
| session_id | string | |
| session_token | string |
get_document_contextGet document awareness context for the current session.| Parameter | Type | Description |
|---|---|---|
| rag_search_count | integer | |
| session_id | string | |
| session_token | string |
get_document_infoGet detailed information about a specific document.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| session_id | string | |
| session_token | string |
get_document_statusGet the processing status of a document (lightweight O(1) lookup).| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| session_id | string | |
| session_token | string |
get_focused_documentsGet the currently focused document IDs for a session.| Parameter | Type | Description |
|---|---|---|
| session_id | string | |
| session_token | string |
get_gc_statusGet the last garbage-collection run report.| Parameter | Type | Description |
|---|---|---|
| admin_token | string | |
| session_id | string | |
| session_token | string |
get_lifecycle_policyReturn the currently active lifecycle garbage-collection policy.| Parameter | Type | Description |
|---|---|---|
| admin_token | string | |
| session_id | string |
get_profile_statsGet statistics about profiles and sessions.| Parameter | Type | Description |
|---|---|---|
| session_id | string | |
| session_token | string |
get_rag_configGet the current RAG configuration for a session.| Parameter | Type | Description |
|---|---|---|
| session_id | string | |
| session_token | string |
get_system_statusGet RAG system health and statistics.| Parameter | Type | Description |
|---|---|---|
| admin_token | string | |
| session_id | string | |
| session_token | string |
list_documentsList all documents in the knowledge base for a session.| Parameter | Type | Description |
|---|---|---|
| session_id | string | |
| session_token | string |
list_profilesList available RAG configuration profiles.| Parameter | Type | Description |
|---|---|---|
| include_builtin | boolean | |
| session_id | string | |
| session_token | string |
patch_rag_configApply configuration overrides to the current session.| Parameter | Type | Description |
|---|---|---|
| config_patch * | string | |
| force | boolean | |
| session_id | string | |
| session_token | string |
rebuild_collectionDrop and recreate the vector collection for the session's embedding model.| Parameter | Type | Description |
|---|---|---|
| admin_token | string | |
| confirm | boolean | |
| session_id | string | |
| session_token | string |
reindex_documentReindex an existing document with the session's current settings.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| force_rebuild | boolean | |
| session_id | string | |
| session_token | string |
reset_rag_configReset RAG configuration to defaults.| Parameter | Type | Description |
|---|---|---|
| scope | string | |
| session_id | string | |
| session_token | string |
restore_documentRestore a soft-deleted (archived) document to READY status.| Parameter | Type | Description |
|---|---|---|
| document_id * | string | |
| session_id | string | |
| session_token | string |
save_rag_profileSave a custom RAG profile.| Parameter | Type | Description |
|---|---|---|
| config * | string | |
| profile_name * | string | |
| session_id | string | |
| session_token | string | |
| set_active | boolean |
searchSearch the knowledge base with the session's retrieval pipeline.| Parameter | Type | Description |
|---|---|---|
| allow_broaden | boolean | |
| document_ids | string | |
| query * | string | |
| session_id | string | |
| session_token | string | |
| top_k | integer | |
| trace_id | string |
set_active_profileSet the active RAG profile for a session.| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| profile_name * | string | |
| reindex | boolean | |
| session_id | string | |
| session_token | string |
set_focused_documentsSet focused document IDs for a session.| Parameter | Type | Description |
|---|---|---|
| document_ids | string | |
| session_id | string | |
| session_token | string |
set_lifecycle_policyUpdate lifecycle policy fields at runtime.| Parameter | Type | Description |
|---|---|---|
| admin_token | string | |
| policy_updates * | string | |
| session_id | string |
upload_documentUpload and index a document into the knowledge base.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| filename | string | |
| session_id | string | |
| session_token | string | |
| wait | boolean |
Security checks
6 checks have not been run yet.