How bileneret/mcp-hands works
MCP-Hands is a Windows desktop execution layer for computer-use agents, with an MCP tool server and a local voice assistant sharing the same capabilities. The main workflow is a voice or text goal → local routing or LLM planning → guarded execution → verification against desktop or file state. The graph also preserves the documented perception, Office, file, checkpoint, and live-browser capabilities. Relationships use README statements and SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: mcp_server.py MCP server · agent.py Jarvis agent · runner.py Plan executor · browser.py Browser scenarios
Components 25
Local assistant
- Voice input
mcp_hands/assistant/voice.py - Jarvis agent
mcp_hands/assistant/agent.py - Local intent router
mcp_hands/assistant/router.py - Saved goal recipes
mcp_hands/memory.py - Speech output
mcp_hands/assistant/tts.py
Planning and verification
- Senior LLM planner
mcp_hands/brain/llm.py - Plan schema
mcp_hands/brain/plan.py - Plan executor
mcp_hands/brain/runner.py - Artifact inspector
mcp_hands/brain/inspector.py - Artifact checkpoints
mcp_hands/checkpoints.py
MCP tool layer
- MCP server
mcp_hands/mcp_server.py
Desktop interaction
- UI Automation
mcp_hands/uia.py - Windows OCR
mcp_hands/ocr.py - Screen capture
mcp_hands/screen.py - Coordinate geometry
mcp_hands/geometry.py - Guarded input
mcp_hands/input.py - Window events
mcp_hands/events.py
Domain tools
- Office automation
mcp_hands/office.py - File operations
mcp_hands/files.py - Live browser CDP
mcp_hands/live.py - Browser scenarios
mcp_hands/browser.py - Scenario runner
mcp_hands/scenarios/runner.py - Isolated worker supervisor
mcp_hands/probe.py - Worker process
mcp_hands/probe_worker.py
Other components
- Voice or text user
Connections 29
- Voice or text user → Voice input: speaks
README.md - Voice input → Jarvis agent: provides input
- Jarvis agent → Local intent router: routes intent
mcp_hands/assistant/agent.py - Jarvis agent → Senior LLM planner: plans complex goals
mcp_hands/assistant/agent.py - Jarvis agent → Saved goal recipes: uses recipes
mcp_hands/assistant/agent.py - Jarvis agent → MCP server: calls tools
mcp_hands/assistant/agent.py - Jarvis agent → Speech output: speaks response
- Local intent router → Live browser CDP: dispatches browser actions
- Senior LLM planner → Plan schema: produces plan
mcp_hands/brain/llm.py - Plan executor → MCP server: dispatches tools
mcp_hands/brain/runner.py - Plan executor → Plan schema: reads plan
mcp_hands/brain/runner.py - Plan executor → Artifact checkpoints: manages rollback
mcp_hands/brain/runner.py - Plan executor → Artifact inspector: verifies artifacts
- MCP server → UI Automation: queries UI
mcp_hands/mcp_server.py - MCP server → Windows OCR: reads text
mcp_hands/mcp_server.py - MCP server → Screen capture: captures screen
README.md - MCP server → Guarded input: sends guarded input
mcp_hands/mcp_server.py - Guarded input → Coordinate geometry: uses coordinates
mcp_hands/input.py - MCP server → Office automation: dispatches Office tools
mcp_hands/mcp_server.py - MCP server → File operations: dispatches file tools
mcp_hands/mcp_server.py - MCP server → Live browser CDP: dispatches browser tools
mcp_hands/mcp_server.py - MCP server → Browser scenarios: dispatches browser tools
mcp_hands/mcp_server.py - MCP server → Scenario runner: runs scenarios
mcp_hands/mcp_server.py - Office automation → Isolated worker supervisor: delegates COM calls
mcp_hands/office.py - Isolated worker supervisor → Worker process: supervises process
mcp_hands/probe.py - Worker process → Guarded input: executes input
mcp_hands/probe_worker.py - Worker process → UI Automation: queries UI
mcp_hands/probe_worker.py - Browser scenarios → Live browser CDP: uses CDP
mcp_hands/browser.py - Browser scenarios → Scenario runner: records run