- Run ruff format across entire codebase - Fix 159 automatic code quality issues - Improve code consistency and readability - Maintain compatibility with Python 3.8+ Changes include: - Whitespace and blank line cleanup - Import organization and optimization - Code style standardization - Removed unused imports and variables - Enhanced readability throughout Remaining linting issues are intentional (fallback lambdas, compatibility code) or require manual review.
Examples
This directory contains demonstration scripts and examples for the Enhanced MCP Tools project.
Demo Scripts
- demo_archive_operations.py - Demonstrates archive/compression functionality
- demo_directory_tree_json.py - Shows directory tree operations and JSON output
- demo_modular_architecture.py - Demonstrates the modular server architecture
- demo_tre_llm_integration.py - Shows tree/LLM integration features
- simple_tre_demo.py - Basic tree functionality demonstration
Running Examples
Most examples can be run directly with Python:
cd examples
python demo_modular_architecture.py
Some examples may require the virtual environment to be activated:
uv sync # or source .venv/bin/activate
python examples/demo_archive_operations.py
Purpose
These scripts serve as both demonstrations of functionality and starting points for understanding how to use the various tools provided by the Enhanced MCP Tools server.