
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
A comprehensive library for secure hardware control through the Model Context Protocol (MCP), enabling AI agents and automated systems to interact with physical devices.
Обзор
The MCP Hardware Access Library is a comprehensive Python framework that enables secure hardware control through the Model Context Protocol (MCP). It provides AI agents and automation systems with the ability to interact with physical devices across multiple platforms. - : 40+ files - : ~5,000+ lines - : 7 major subsystems - : 15+ demonstration scripts - : Full client/server tests - : Improved directory structure for better organization and clarity - : Consolidated documentation in a structured format - : Reorganized configuration files for consistency - : Enhanced simulation capabilities for development without hardware - : Fixed and improved Domain-Specific Language support - : Added natural language processing for device control - : Created mock implementations for testing - : All integration tests now passing - : New plugin for advanced natural language hardware control - : Enhanced shell CLI for interactive remote device control - : Added real-time GPIO streaming from Raspberry...
README
Показан фрагмент оригинального README. Открыть оригинал.
MCP Hardware Project Summary
🚀 Project Overview
The MCP Hardware Access Library is a comprehensive Python framework that enables secure hardware control through the Model Context Protocol (MCP). It provides AI agents and automation systems with the ability to interact with physical devices across multiple platforms.
📊 Project Statistics
- Total Files: 40+ files
- Lines of Code: ~5,000+ lines
- Components: 7 major subsystems
- Examples: 15+ demonstration scripts
- Test Coverage: Full client/server tests
🆕 Latest Updates (May 2025)
- Project Reorganization: Improved directory structure for better organization and clarity
- Unified Documentation: Consolidated documentation in a structured format
- Standardized Configuration: Reorganized configuration files for consistency
- Simulation Mode: Enhanced simulation capabilities for development without hardware
- DSL Integration: Fixed and improved Domain-Specific Language support
- Claude 3.7 Integration: Added natural language processing for device control
- Mock Device Factory: Created mock implementations for testing
- Comprehensive Testing: All integration tests now passing
- Claude UnitMCP Plugin: New plugin for advanced natural language hardware control
- Remote Device Control: Enhanced shell CLI for interactive remote device control
- GPIO Streaming: Added real-time GPIO streaming from Raspberry Pi to client PC
- SSH/TCP Support: Added support for both SSH and TCP connections to remote devices
📦 Dependency Management
We now use Conda for dependency management to ensure consistent environments across different platforms:
- Cross-platform compatibility: Works on Windows, Linux, macOS, and Raspberry Pi
- Isolated environments: Prevents dependency conflicts
- Binary package management: Handles both Python packages and system libraries
To set up your environment:
# Linux/macOS
chmod +x setup_environment.sh
./setup_environment.sh
# Windows
setup_environment.bat
For more details, see INSTALLATION.md.
🚀 Quick Start with Auto-Installation
We’ve added convenient runner scripts that automatically detect if the UnitMCP package is installed and install it if needed:
# Linux/macOS
./run.sh [options]
# Windows
run.bat [options]
These scripts will:
- Check if the UnitMCP package is installed
- Install it automatically if it’s not found
- Run the UnitMCP orchestrator with any provided options
This is especially useful for:
- First-time setup on new devices
- Running on Raspberry Pi without manual installation
- Quick deployment in development environments
All command-line options are passed through to the UnitMCP orchestrator, so you can use them exactly as you would with the standard command:
./run.sh --verbose --simulation true
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →