Skip to main content

Module mcp

Module mcp 

Source
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