Skip to content

Implement Core MCP Tools (@aiswarm tools) #22

@mrlarson2007

Description

@mrlarson2007

Implement Core MCP Tools

Implement the fundamental @aiswarm MCP tools that agents will use for coordination.

Parent Issue: #18 (Phase 1)

Tools to Implement

Agent Lifecycle

  • @aiswarm register_agent - Register agent with coordination system
  • @aiswarm update_heartbeat - Send heartbeat and get status updates
  • @aiswarm get_agent_status - Check current agent status

Task Management

  • @aiswarm wait_for_next_event - Block until coordination events occur
  • @aiswarm claim_task - Claim ownership of available task
  • @aiswarm report_progress - Report task progress with percentage
  • @aiswarm report_completion - Mark task as completed
  • @aiswarm check_for_tasks - Check available tasks for agent persona

Worktree Management

  • @aiswarm create_worktree - Create new git worktree for agent
  • @aiswarm list_worktrees - List available worktrees

Implementation Notes

  • Use ModelContextProtocol.Server SDK
  • Follow McpServerTool attribute pattern
  • Integrate with existing ITaskCoordinationService
  • Ensure proper error handling and validation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions