Labsco
Nexus-Digital-Automations logo

Claude Code MCP

โ˜… 1

from Nexus-Digital-Automations

Orchestrates multiple Claude Code agents across iTerm2 sessions, providing centralized management and inter-agent communication.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeNeeds API keys

Claude Code MCP - Agent Orchestration Platform

Overview

A sophisticated FastMCP Python server that orchestrates multiple Claude Code agents across iTerm2 sessions, providing centralized management and inter-agent communication through task-based workflows.

Architecture

Agent Orchestration Platform with:

  • iTerm2 Tab-Based Sessions: No window complexity, pure tab management
  • Persistent Agent State: Survives iTerm restarts with state recovery
  • Codebase-Linked Sessions: Sessions tied to specific root filepaths
  • Maximum Security Isolation: Process-level separation between agents
  • Task-Based Inter-Agent Communication: ADDER+ workflow coordination
  • System Prompt Injection: Automatic Agent_# naming and prompt prepending

Core MCP Tools

ToolPurposeSecurity Level
create_agentCreates new Claude Code agent instanceHIGH
delete_agentRemoves agent from systemHIGH
create_sessionCreates session tied to root filepathMEDIUM
get_session_statusReturns status of all agents in sessionLOW
delete_sessionRemoves entire session and all agentsHIGH
send_message_to_agentSends message with ADDER+ prependingMEDIUM
clear_agent_conversationCloses current iTerm tab for agentMEDIUM
start_new_agent_conversationOpens new iTerm tab for agentMEDIUM

ADDER+ Workflow Integration

Each agent operates with the comprehensive ADDER+ (Advanced Development, Documentation & Error Resolution) protocol, enabling:

  • Autonomous Task Management: TODO.md-driven execution with real-time progress tracking
  • Advanced Programming Synthesis: Design by Contract + defensive programming + type-driven development + property-based testing + functional programming patterns
  • Systematic Error Resolution: Root Cause Analysis with automatic task generation
  • Inter-Agent Coordination: Task-based communication through documentation files

Security Model

  • Process Isolation: Each Claude Code agent runs in separate process
  • Session Boundaries: Agents cannot access other session codebases
  • State Encryption: Persistent agent state encrypted at rest
  • Audit Logging: All agent interactions logged for security analysis
  • Permission Model: Role-based access control for agent operations

Development Workflow

  1. Session Creation: Link sessions to specific codebases
  2. Agent Spawning: Create specialized agents with custom system prompts
  3. Task Coordination: Agents communicate through TODO.md and task files
  4. Status Monitoring: Real-time visibility into agent progress and health
  5. Session Management: Persistent state with recovery capabilities

Integration Points

  • FastMCP Framework: High-performance MCP server implementation
  • iTerm2 Python API: Advanced terminal session management
  • Claude Code: AI agent process orchestration
  • Asyncio Architecture: Event-driven concurrent agent management

This platform enables sophisticated AI development workflows with multiple specialized agents working collaboratively on complex codebases while maintaining strict security isolation and comprehensive audit trails.