MCP Handoff Server

MCP Handoff Server

Facilitates seamless collaboration between AI agents by providing tools for structured task handoffs, progress tracking, and documentation management. It allows agents to create, update, and archive handoff documents to ensure continuity across complex workflows.

Category
Visit Server

README

🤝 MCP Handoff Server

A Model Context Protocol (MCP) server that helps AI agents hand off work to each other with structured documentation and progress tracking.

✨ What it does

When AI agents need to pass work between each other, this server provides:

  • 📝 Structured handoff documents with templates
  • 🔄 Progress tracking from start to completion
  • 📁 Automatic organization of active and archived handoffs
  • 🔍 Easy searching and filtering of past work

🚀 Quick Start

Just run it with npx - no installation needed:

# Start in MCP mode (for MCP clients)
npx -y mcp-handoff-server

# Start HTTP server (for testing/direct API access)
npx -y mcp-handoff-server --mode http

That's it! The server automatically creates all needed folders and templates.

📋 Basic Usage

For MCP Clients

Add to your MCP client configuration:

{
  "mcpServers": {
    "handoff": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-handoff-server"
      ]
    }
  }
}

For HTTP Testing

# Start server
npx -y mcp-handoff-server --mode http

# Test it works
curl http://localhost:3001/health

🛠️ Available Tools

The server provides these MCP tools for AI agents:

graph LR
    A[📝 create_handoff] --> B[📖 read_handoff]
    B --> C[🔄 update_handoff]
    C --> D[✅ complete_handoff]
    D --> E[📦 archive_handoff]

    F[📋 list_handoffs] --> B

    style A fill:#e1f5fe
    style C fill:#f3e5f5
    style D fill:#e8f5e8
    style E fill:#fff3e0
    style F fill:#fce4ec

Tool Functions:

  • create_handoff - Start a new handoff document
  • read_handoff - Read an existing handoff
  • update_handoff - Add progress updates
  • complete_handoff - Mark work as finished
  • archive_handoff - Move completed work to archive
  • list_handoffs - Find and filter handoffs

📖 Example: Creating a Handoff

# Start the server
npx -y mcp-handoff-server --mode http

# Create a new handoff
curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "create_handoff",
    "params": {
      "type": "quick",
      "initialData": {
        "date": "2025-06-30",
        "time": "14:30 UTC",
        "currentState": {
          "workingOn": "Building user login",
          "status": "50% complete",
          "nextStep": "Add password validation"
        },
        "environmentStatus": {
          "details": {
            "Server": "✅",
            "Database": "✅"
          }
        }
      }
    }
  }'

🔧 Command Options

npx -y mcp-handoff-server [options]

Options:
  --mode <mode>        'mcp' or 'http' (default: mcp)
  --port <port>        HTTP port (default: 3001)
  --handoff-root <dir> Storage directory (default: ./handoff-system)
  --help              Show help
  --version           Show version

🔄 How It Works

Simple Workflow

  1. Create a handoff when starting work
  2. Update progress as you work
  3. Complete when finished
  4. Archive for future reference
graph TD
    A[🤖 Agent Starts Work] --> B{New Work?}
    B -->|Yes| C[📝 create_handoff]
    B -->|No| D[📖 read_handoff]

    C --> E[📁 Active Handoff]
    D --> E

    E --> F[🔄 update_handoff]
    F --> G{Work Done?}

    G -->|No| F
    G -->|Yes| H[✅ complete_handoff]

    H --> I[📦 archive_handoff]
    I --> J[🗄️ Archived]

    style C fill:#e1f5fe
    style F fill:#f3e5f5
    style H fill:#e8f5e8
    style I fill:#fff3e0

File Organization

The server automatically organizes everything in folders:

  • handoff-system/active/ - Current work
  • handoff-system/archive/ - Completed work
  • handoff-system/templates/ - Document templates

🎯 Two Types of Handoffs

📋 Standard Handoff - For complex work with detailed context ⚡ Quick Handoff - For simple updates and brief transitions

🏷️ Status Indicators

  • Working - Everything good
  • ⚠️ Warning - Some issues but not blocked
  • Error - Problems that need fixing

🛠️ Development

Want to contribute or run locally?

# Clone and install
git clone <repository-url>
cd mcp-handoff-server
npm install

# Run in development
npm run dev

# Build for production
npm run build

📄 License

MIT License - feel free to use this in your projects!

🆘 Need Help?


Built for seamless AI agent collaboration 🤖✨

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured