Expand description
MCP (Model Context Protocol) server implementation for Smart Tree
This module provides a JSON-RPC server that exposes Smart Tree’s functionality through the Model Context Protocol, allowing AI assistants to analyze directories.
Modules§
- assistant
- Intelligent MCP Assistant - The best helper of all time!
- cache
- Cache implementation for MCP server
- consciousness
- Consciousness persistence for Smart Tree MCP sessions
- context_
absorber - dashboard_
bridge - Dashboard Bridge - Connects MCP tool execution to real-time dashboard
- permissions
- Permission-based tool gating system for MCP
- session
- MCP Session-Aware Context Negotiation
- smart_
background_ searcher - smart_
edit - Smart Edit Tools - Revolutionary token-efficient code editing By Aye, with inspiration from Omni’s wave patterns
- smart_
project_ detector - tools_
consolidated_ enhanced - unified_
watcher - wave_
memory - Wave-based Memory Manager for Claude Code
Structs§
- McpConfig
- MCP server configuration
- McpContext
- Shared context for MCP handlers
- McpServer
- MCP server implementation
Functions§
- fmt_
line - Format a line number for display (right-aligned, 4 chars)
- fmt_num
- Format a number as hex or decimal based on config In MCP mode, hex is default for token efficiency!
- fmt_
num64 - Format a u64 as hex or decimal
- fmt_
size - Format a file size with units (always human-readable but hex for raw bytes) Examples with hex=true:
- is_
path_ allowed - Check if a path is allowed based on security configuration
- load_
config - Load MCP configuration from file or use defaults