Skip to main content

Module mcp_service

Module mcp_service 

Source
Expand description

Post-Cortex MCP Service — consolidated 9-tool API.

Tools:

  1. session — create/list/load/search/update_metadata/delete sessions
  2. update_conversation_context — single or bulk updates
  3. semantic_search — unified search with scope (structured payload)
  4. get_structured_summary — summary with optional sections
  5. query_conversation_context — flexible queries
  6. manage_workspace — workspace operations
  7. assemble_context — graph-aware retrieval (semantic + traversal + impact)
  8. manage_entity — delete entities / context updates from a session
  9. admin — daemon health, vectorization, checkpoints

The #[tool_router]-decorated impl block must stay in a single file so the rmcp macro can see every #[tool] method at once. Tool method bodies are delegated to per-tool submodules to keep this file readable.

Structs§

AdminRequest
Request payload for the admin tool.
AssembleContextRequest
Request payload for the assemble_context tool.
ContextUpdateItem
Single context-update item used in bulk mode.
GetStructuredSummaryRequest
Request payload for the get_structured_summary tool.
ManageEntityRequest
Request payload for the manage_entity tool.
ManageWorkspaceRequest
Request payload for the manage_workspace tool.
PostCortexService
Post-Cortex MCP Service
QueryConversationContextRequest
Request payload for the query_conversation_context tool.
SemanticSearchRequest
Request payload for the semantic_search tool.
SessionRequest
Request payload for the session tool.
UpdateConversationContextRequest
Request payload for the update_conversation_context tool.