Skip to main content
Glama

🎞️ VibeTape MCP Server

Record the vibe of your build β€” A revolutionary Model Context Protocol (MCP) server that captures key development moments, enables multi-agent traceability, provides intelligent context curation, and facilitates seamless agent-to-agent handoffs.

License: MIT TypeScript MCP Version

πŸš€ What is VibeTape?

VibeTape transforms your development workflow into a proactive context management system. Beyond capturing moments, it provides multi-agent coordination, intelligent context curation, and LangGraph-compatible handoffs that work with any MCP-compatible AI client.

Perfect for:

  • πŸ€– Multi-agent systems that need shared context and traceability

  • 🎯 Solo developers who want to remember past solutions

  • πŸ‘₯ Teams who need shared knowledge and context

  • πŸ”„ AI orchestration frameworks (LangGraph, CrewAI, AutoGen)

  • πŸ“š Technical leads building institutional knowledge

Related MCP server: Worktrail

✨ Key Features

πŸ€– Multi-Agent Traceability (NEW v0.4.0)

  • Actor management β€” Register and track humans and AI agents

  • Task lifecycle β€” Create, assign, and hand off tasks between agents

  • Agent analytics β€” Success rates, activity patterns, performance metrics

  • Temporal tracking β€” Know when facts became true and when they were superseded

🧠 Intelligent Context Curation (NEW v0.4.0)

  • RankRAG-style scoring β€” Relevance scoring with weighted factors

  • Context window optimization β€” Fit the best context within token budgets

  • Agent needs prediction β€” Anticipate what context an agent will need

  • Smart moment selection β€” Balance relevance, recency, and signal quality

πŸ”„ Agent-to-Agent Handoffs (NEW v0.4.0)

  • LangGraph-compatible payloads β€” Direct integration with agent frameworks

  • RETEX-aware handoffs β€” Include relevant lessons learned

  • Risk warnings β€” Highlight potential issues for receiving agents

  • Task continuity β€” Seamless work transfer between agents

πŸš€ Context Handoff System (v0.3.0)

  • Transition cards β€” Generate compact context summaries (350 tokens)

  • Smart ranking β€” Intelligent moment prioritization by recency, type, and impact

  • Cross-session continuity β€” Never lose context between AI sessions

  • Proactive suggestions β€” Auto-detect when context window is saturating

🧹 Intelligent Denoising (v0.3.0)

  • Noise filtering β€” Auto-detect and filter trivial moments

  • Duplicate merging β€” Consolidate similar entries intelligently

  • Signal scoring β€” Quality metrics for moment relevance (0-1 scale)

🎯 Smart Moment Capture

  • Wins, fails, decisions, notes β€” capture what matters

  • Git context β€” automatic branch, commit, and diff tracking

  • Actor attribution β€” Know who (human or AI) created each moment

  • Semantic search with OpenAI embeddings (TF-IDF fallback)

  • Advanced filtering by tags, dates, types, and regex

  • Relation mapping β€” link related moments (causes, solves, relates, supersedes)

🧠 AI-Powered Insights

  • RETEX cards β€” AI-generated prescriptive rules from your experiences

  • Task-aware RETEX β€” Get relevant lessons for specific tasks

  • Pattern detection β€” find recurring issues automatically

πŸƒβ€β™‚οΈ Quick Start

1. Install

git clone https://github.com/sambaleuk/Vibetape-MCP-Server.git
cd Vibetape-MCP-Server
npm install
npm run build

2. Configure Your AI Client

VibeTape works with any MCP-compatible AI client:

πŸ€– Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "vibetape": {
      "command": "node",
      "args": ["/absolute/path/to/Vibetape-MCP-Server/dist/server.js"],
      "cwd": "/absolute/path/to/Vibetape-MCP-Server",
      "env": {
        "OPENAI_API_KEY": "your-openai-key-here"
      }
    }
  }
}

πŸ’» Cursor IDE

Add to your ~/.cursor/mcp.json:

{
  "vibetape": {
    "command": "node",
    "args": ["--loader", "ts-node/esm", "src/server.ts"],
    "cwd": "/absolute/path/to/Vibetape-MCP-Server",
    "env": {
      "OPENAI_API_KEY": "your-openai-key-here"
    }
  }
}

πŸ”§ Continue.dev / Other MCP Clients

VibeTape implements the full MCP specification and works with any compliant client.

3. Start Using

Restart your AI client and start capturing moments:

Hey AI, mark this moment: "Successfully implemented Redis caching" as a win with tags: api, performance

4. Multi-Agent Example (v0.4.0)

# Register an agent
register_actor with id: "code_reviewer", type: "agent", name: "Code Reviewer"

# Create a task
create_task with title: "Review authentication module", assigned_to: "code_reviewer"

# Agent captures moments linked to the task
mark_moment with title: "Found SQL injection vulnerability", task_id: "task_xyz"

# Hand off to another agent
create_handoff_for_agent with task_id: "task_xyz", from_agent: "code_reviewer", to_agent: "security_fixer"

πŸ› οΈ Available Tools

πŸ€– Multi-Agent Tools (NEW v0.4.0)

  • register_actor β€” Register a human or AI agent

  • get_actor β€” Get actor details and capabilities

  • list_actors β€” List all registered actors

  • get_actor_stats β€” Get performance statistics for an actor

  • create_task β€” Create a new task with assignment

  • update_task β€” Update task status and outcome

  • list_tasks β€” List tasks with filtering options

  • get_task_context β€” Get all moments related to a task

🧠 Context Intelligence Tools (NEW v0.4.0)

  • context_relevance_score β€” Calculate RankRAG-style relevance for moments

  • evaluate_context_window β€” Optimize context selection within token budget

  • predict_agent_needs β€” Predict what context an agent will need

  • get_retex_for_task β€” Get relevant RETEX cards for a task

  • create_handoff_for_agent β€” Create LangGraph-compatible handoff payload

πŸš€ Context Handoff Tools (v0.3.0)

  • generate_context_handoff β€” Create compact transition cards (350 tokens)

  • suggest_transition_card β€” Auto-suggest handoff when context saturates

  • sweep_noise β€” Intelligent denoising of trivial/duplicate moments

Core Tools

  • mark_moment β€” Capture key development moments (now with actor_id, task_id)

  • search_moments β€” Find similar past experiences

  • list_moments β€” Browse recent captures

  • make_retex β€” Generate AI prescriptive cards

  • export_timeline β€” Day-by-day development timeline

Advanced Tools

  • link_moments β€” Create relationships between moments

  • supersede_moment β€” Mark a moment as superseded by another (temporal tracking)

  • comment_moment β€” Add collaborative annotations

  • search_moments_advanced β€” Multi-criteria search

  • stats_overview β€” Development pattern analytics

πŸ“‹ Resources

πŸ€– Agent Resources (NEW v0.4.0)

  • actor://{id} β€” Actor details with stats (JSON)

  • task://{id} β€” Task details with related moments (JSON)

πŸš€ Context Handoff Resources

  • handoff://{id} β€” Transition card for cross-session continuity (Markdown)

Core Resources

  • moment://{id} β€” Individual moment details (JSON)

  • timeline://{day} β€” Daily timeline (Markdown)

  • retex://{id} β€” AI-generated prescriptive card (JSON)

  • graph://{id} β€” Moment relationship graph (JSON)

πŸ”§ Configuration

Environment Variables

# Optional: OpenAI for semantic search and RETEX generation
OPENAI_API_KEY=sk-your-key-here

# Optional: Custom storage location (default: ~/.vibetape)
VIBETAPE_HOME=~/.vibetape

# Optional: Team collaboration directory
VIBETAPE_TEAM_DIR=~/your-team-repo

Works Without OpenAI

VibeTape gracefully degrades without OpenAI:

  • βœ… TF-IDF semantic search (good for most cases)

  • βœ… All multi-agent features work fully

  • ❌ No AI-generated RETEX cards

πŸ—οΈ Architecture

VibeTape follows MCP (Model Context Protocol) standards and is designed for multi-agent orchestration:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  MCP Clients    │◄──►│  VibeTape MCP   │◄──►│  Local Storage  β”‚
β”‚ Claude/Cursor/  β”‚    β”‚     Server      β”‚    β”‚   ~/.vibetape   β”‚
β”‚ LangGraph/CrewAIβ”‚    β”‚    (v0.4.0)     β”‚    β”‚ + Team Vault    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                     β”‚
         β”‚                     β–Ό
         β”‚            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚            β”‚   OpenAI API    β”‚
         β”‚            β”‚   (optional)    β”‚
         β”‚            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚         Multi-Agent Orchestration        β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚ Agent A │─►│ Handoff │─►│ Agent B β”‚  β”‚
β”‚  β”‚(reviewer)β”‚  β”‚ Payload β”‚  β”‚ (fixer) β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Agent Handoff Flow (v0.4.0)

Agent A (Code Reviewer)     VibeTape           Agent B (Security Fixer)
     β”‚                          β”‚                       β”‚
     β”œβ”€β–Ί create_task ──────────►│                       β”‚
     β”œβ”€β–Ί mark_moment (findings)─►│                       β”‚
     β”‚                          β”‚                       β”‚
     β”œβ”€β–Ί create_handoff_for_agent─►│                    β”‚
     β”‚   (LangGraph payload)    β”‚                       β”‚
     β”‚                          β”‚                       β”‚
     β”‚                          β”‚   ◄── read handoff ───
     β”‚                          β”‚                       β”‚
     β”‚                          └─► Full context ──────►│
     β”‚                              + RETEX cards       β”‚
     β”‚                              + Risk warnings     β”‚

πŸ“Š Use Cases

Multi-Agent Development Pipeline

# Code reviewer agent finds issues
register_actor id: "reviewer", type: "agent"
create_task title: "Security audit of auth module"
mark_moment title: "Found 3 SQL injection vulnerabilities"

# Hand off to security agent
create_handoff_for_agent from: "reviewer", to: "security_fixer"
β†’ Includes context, RETEX cards, risk warnings

# Security agent fixes and reports
update_task status: "completed", outcome: "success"

Context-Aware Agent Routing

# Predict what context an agent needs
predict_agent_needs task_id: "xxx", actor_id: "debugger"
β†’ Returns recommended moments, RETEX cards, warnings

# Evaluate optimal context window
evaluate_context_window task_id: "xxx", budget_tokens: 2000
β†’ Returns ranked moments that fit the budget

Cross-Session Continuity

# End of day in Claude Desktop
Generate handoff β†’ Get compact transition card

# Next morning in Cursor IDE
Read handoff://{id} β†’ Instantly resume with full context

πŸ”’ Security & Privacy

  • πŸ” Local storage only β€” Data stays in ~/.vibetape/ by default

  • πŸ‘€ Read-only project access β€” Never modifies your code

  • 🚫 No shell execution β€” Only safe Git read operations

  • 🌐 Minimal network β€” Only OpenAI API (optional)

  • πŸ”‘ Environment variables β€” API keys never hardcoded

πŸ“ˆ Roadmap

πŸš€ Future Features

  • SQLite backend β€” Better performance for large datasets

  • Web dashboard β€” Visual relationship graphs and analytics

  • Native LangGraph integration β€” Direct Command pattern support

  • VS Code extension β€” Native IDE integration

  • Export integrations β€” Notion, Obsidian, etc.

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built with Model Context Protocol (MCP) by Anthropic

  • Inspired by multi-agent orchestration frameworks (LangGraph, CrewAI)

  • Thanks to the open source community for amazing tools and libraries


Ready to orchestrate your AI agents? ⭐ Star this repo and start building!

Get Started β€’ Join Discussions β€’ Report Issues

Available Tools

29 tools
assign_taskC

Assign or handoff a task to another actor

Inputs: task_id (required), to_actor (required), from_actor, handoff_note.

comment_momentB

Append a comment to a moment

Inputs: id (required), text (required), author.

context_relevance_scoreC

Calculate RankRAG-style relevance score for a moment given a task context

Inputs: task_id (required), moment_id (required), query.

create_handoff_for_agentC

Create a LangGraph-compatible handoff payload for agent-to-agent transfer

Inputs: task_id (required), to_agent (required), from_agent (required), budget_tokens, +2 more.

create_taskB

Create a new task for tracking and agent assignment

Inputs: title (required), created_by (required), tags, priority, +3 more.

evaluate_context_windowC

Evaluate and rank moments for optimal context injection within token budget

Inputs: task_id (required), strategy, budget_tokens, exclude_noise, +1 more.

export_jsonB

Return whole state as JSON resource

Inputs: q.

export_mdD

Return Markdown dump resource

Inputs: q.

export_timelineB

Render Markdown timeline for a given day (YYYY-MM-DD)

Inputs: day (required).

generate_context_handoffC

Create a compact transition card (state/stack/decisions/solved/next) under a token budget

Inputs: sessionId, budgetTokens, includeSolved, includeNextSteps, +2 more.

get_actor_statsA

Get statistics for an actor (success rate, moment counts, top tags)

Inputs: actor_id (required), window.

get_retex_for_taskA

Get relevant RETEX cards for a task based on tag overlap and moment relations

Inputs: task_id (required), limit, include_scores.

list_actorsA

List all registered actors

Inputs: no named parameters.

list_momentsA

Return latest captured moments

Inputs: limit.

list_tasksC

List tasks with optional filters

Inputs: limit, status, created_by, assigned_to.

make_retexC

Generate rule + bullets + dont from a captured moment

Inputs: momentId (required).

mark_momentC

Capture a build moment with safe context snapshot

Inputs: kind (required), title (required), cwd, tags, +3 more.

predict_agent_needsB

Predict what context an agent will need based on task type and actor capabilities

Inputs: task_id (required), actor_id (required).

recurrent_patternsB

Group similar titles to find patterns

Inputs: no named parameters.

register_actorB

Register a new agent or human actor for traceability

Inputs: id (required), name (required), type (required), description, +1 more.

search_momentsC

Find similar moments using semantic search

Inputs: query (required), k.

search_moments_advancedC

Combine semantic, filters and regex search

Inputs: k, to, from, tags, +3 more.

stats_overviewD

Basic counts and trends

Inputs: window.

suggest_transition_cardB

Suggest generating a transition card when context is near capacity

Inputs: remainingTokens (required), sessionId, threshold.

supersede_momentC

Mark a moment as superseded by a newer one (temporal tracking)

Inputs: new_moment_id (required), old_moment_id (required), reason.

sweep_noiseB

Denoise auto-marked moments: trivial, duplicates, cooldown; updates signal_score

Inputs: windowDays, cooldownMinutes, similarityThreshold.

update_taskA

Update a task status, assignment, or outcome

Inputs: task_id (required), status, outcome, assigned_to, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 29 tools

    Disambiguation4/5

    Most tools target distinct resource-action pairs, e.g., moment capture vs. task management. The main potential confusion is between generate_context_handoff and create_handoff_for_agent, but they produce different output formats (human-readable card vs. LangGraph payload).

    Naming Consistency4/5

    Tool names are uniformly snake_case and mostly follow verb_noun (export_timeline, create_task). A few names like context_relevance_score, stats_overview, and recurrent_patterns deviate from the verb-first pattern, but the overall style is consistent and readable.

    Tool Count2/5

    With 29 tools, the surface is quite large and exceeds the typical well-scoped range. While the broad domain (moments, tasks, actors, handoffs, analytics) somewhat justifies the count, it still feels heavy and likely overwhelming for an agent.

    Completeness4/5

    The toolset covers the main lifecycle for moments (capture, search, comment, link, supersede), tasks (create, update, list, assign), and actors (register, list, stats). Minor gaps include lack of delete operations for moments/tasks/actors, but core workflows are functional.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Auto-captures decision context from multi-agent workflows to preserve the 'why' behind every choice. Enables task traceability, reasoning retrieval, and continuous improvement across planning and implementation sessions.
      17
      12 npm
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to record and resume engineering work as durable, byte-exact threads of focus, decisions, evidence, and next steps.
      4
      Functional Source , Version 1.1, ALv2 Future
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to maintain persistent project context locally, with source-backed memory and structured handoffs for seamless handover between interchangeable agents.
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding assistants to persist and restore context across sessions, preserving decisions, progress, files, and checkpoints. It supports topic-based channels, search, change tracking, git-aware correlation, batch operations, and shared memory across parallel sessions.
      195 npm
      MIT