Modules§
- autonomy
- ctx_
agent - ctx_
analyze - ctx_
architecture ctx_architecture— Graph-based architecture analysis tool.- ctx_
artifacts - ctx_
benchmark - ctx_
callees - ctx_
callers - ctx_
callgraph - ctx_
compile - ctx_compile – Context compilation tool.
- ctx_
compress - ctx_
compress_ memory - ctx_
context - ctx_
control - ctx_control – Universal context manipulation tool.
- ctx_
cost - ctx_
dedup - ctx_
delta - ctx_
discover - ctx_
edit - ctx_
execute - ctx_
expand - ctx_
feedback - ctx_
fill - ctx_
gain - ctx_
graph - ctx_
graph_ diagram - ctx_
handoff - ctx_
heatmap - ctx_
impact ctx_impact— Graph-based impact analysis tool.- ctx_
index - ctx_
intent - ctx_
knowledge - ctx_
knowledge_ relations - ctx_
metrics - ctx_
multi_ read - ctx_
outline - ctx_
overview - ctx_
pack - ctx_
plan - ctx_plan – Context planning tool.
- ctx_
prefetch - ctx_
preload - ctx_
proof - ctx_
provider - ctx_
read - ctx_
response - ctx_
review - ctx_
routes - ctx_
search - ctx_
semantic_ search - ctx_
session - ctx_
share - ctx_
shell - ctx_
smart_ read - ctx_
smells ctx_smells— Code smell detection tool.- ctx_
symbol - ctx_
task - ctx_
tree - ctx_
verify - ctx_
workflow - ctx_
wrapped - registered
Structs§
- Lean
CtxServer - Central MCP server state: cache, session, metrics, and autonomy runtime.
- Tool
Call Record - Recorded metrics for a single MCP tool invocation.
Enums§
- CrpMode
- Context Reduction Protocol mode controlling output verbosity.
- Session
Mode
Functions§
- create_
server - Creates a new
LeanCtxServerwith default configuration.
Type Aliases§
- Shared
Cache - Thread-safe handle to the shared file content cache.