Skip to content

bobmatnyc/claude-mpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2,898 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude MPM - Multi-Agent Project Manager

PyPI version Python 3.11+ License: Elastic-2.0 Code style: ruff

A comprehensive workflow and agent management framework for Claude Code that transforms your AI coding assistant into a full-featured development platform with multi-agent orchestration, skills system, MCP integration, session management, and semantic code search.

⚠️ Important: Claude MPM requires Claude Code CLI (v2.1.3+), not Claude Desktop (app). All MCP integrations work with Claude Code's CLI interface only.

Don't have Claude Code? Install from: https://docs.anthropic.com/en/docs/claude-code

Quick Start: See Getting Started Guide to get running in 5 minutes!


Who Should Use Claude MPM?

  • πŸ‘₯ Non-Technical Users (Founders/PMs) - Research and understand codebases using Research Mode - no coding experience required
  • πŸ’» Developers - Multi-agent development workflows with semantic code search and advanced features
  • 🏒 Teams - Collaboration patterns, session management, and coordinated workflows

What is Claude MPM?

Claude MPM transforms Claude Code into a comprehensive AI development platform with:

πŸ€– Multi-Agent System

  • 47+ Specialized Agents - Python, TypeScript, Rust, Go, Java, Ruby, PHP, QA, Security, DevOps, and more
  • Intelligent PM Orchestration - Automatic task routing to specialist agents
  • Agent Sources - Deploy agents from Git repositories with ETag-based caching

🎯 Skills Framework

  • 44+ Bundled Skills - TDD, debugging, Docker, API design, security scanning, Git workflows
  • Progressive Disclosure - Skills load on-demand to optimize context usage
  • Three-Tier Organization - Bundled β†’ User β†’ Project priority resolution
  • Domain Authority System - Auto-generated agent/tool discovery skills for intelligent PM delegation
  • Skills Optimization - Intelligent project analysis with automated skill recommendations

πŸ”Œ MCP Integration (Model Context Protocol)

  • Google Workspace MCP - 34 tools for Gmail, Calendar, Drive, Docs, Tasks
  • Notion - 7 tools + bulk operations for databases, pages, markdown import
  • Confluence - 7 tools + bulk operations for pages, spaces, CQL search
  • Slack - User proxy for channels, messages, DMs, search
  • Semantic Code Search - AI-powered code discovery via mcp-vector-search
  • Ticket Management - GitHub, Linear, Jira integration via mcp-ticketer
  • Graph Memory - Persistent project knowledge via kuzu-memory

πŸ“Š Session & Workflow Management

  • Session Resume - Continue work with full context preservation
  • Auto-Pause - Automatic context summaries at 70%/85%/95% thresholds
  • Real-Time Dashboard - Live monitoring of agent activity
  • Hooks System - 15+ event hooks for custom workflows

πŸ” Enterprise Features

  • OAuth 2.0 Integration - Secure Google Workspace authentication
  • Encrypted Token Storage - Fernet encryption with system keychain
  • 100+ CLI Commands - Comprehensive management interface
  • 60+ Services - Service-oriented architecture with event bus

Quick Installation

Prerequisites

  1. Python 3.11-3.13 (Python 3.13 recommended; 3.14 NOT yet supported)
  2. Claude Code CLI v2.1.3+ (required!)
  3. GitHub Token (recommended for skill sources)

Python Version Warning:

  • macOS default Python 3.9 is too old - use --python 3.13 flag
  • Python 3.13 is recommended and fully tested
  • Python 3.14 is NOT yet supported - installation will fail
# Verify Claude Code is installed
claude --version

# If not installed, get it from:
# https://docs.anthropic.com/en/docs/claude-code

# Set GitHub token (recommended - avoids rate limits)
export GITHUB_TOKEN=your_github_token

Install Claude MPM

IMPORTANT: Install from your home directory, NOT from within a cloned git repository.

uv (recommended):

# From home directory (IMPORTANT!)
cd ~

# Install with Python 3.13 (not 3.9 or 3.14)
uv tool install "claude-mpm[monitor,data-processing]" --python 3.13

Homebrew (macOS):

brew tap bobmatnyc/tools
brew install claude-mpm

pipx:

cd ~
pipx install "claude-mpm[monitor]"

Post-Installation Setup (Required)

These steps must be completed before running claude-mpm doctor:

# Create required directories
mkdir -p ~/.claude/{responses,memory,logs}

# Deploy agents
claude-mpm agents deploy

# Add skill source (recommended)
claude-mpm skill-source add https://github.com/bobmatnyc/claude-mpm-skills

Verify Installation

# Run diagnostics (after completing setup above)
claude-mpm doctor --verbose

# Check versions
claude-mpm --version
claude --version

# Auto-configure your project
cd ~/your-project
claude-mpm auto-configure

What You Should See:

  • 47+ agents deployed to ~/.claude/agents/
  • 44+ bundled skills (in Python package)
  • Agent sources configured
  • All doctor checks passing

Recommended Partners: Install these companion tools for enhanced capabilities:

uv tool install kuzu-memory --python 3.13
uv tool install mcp-vector-search --python 3.13
uv tool install mcp-ticketer --python 3.13
uv tool install mcp-browser --python 3.13

Tool Version Management: Use ASDF version manager to avoid Python/uv version conflicts across projects.


Key Features

🎯 Multi-Agent Orchestration

  • 47+ Specialized Agents from Git repositories covering all development needs
  • Smart Task Routing via PM agent intelligently delegating to specialists
  • Session Management with --resume flag for seamless continuity
  • Resume Log System with automatic 10k-token summaries at 70%/85%/95% thresholds

β†’ Learn more: Multi-Agent Development

πŸ“¦ Git Repository Integration

  • Curated Content with 47+ agents automatically deployed from repositories
  • Always Up-to-Date with ETag-based caching (95%+ bandwidth reduction)
  • Hierarchical BASE-AGENT.md for template inheritance and DRY principles
  • Custom Repositories via claude-mpm agent-source add

β†’ Learn more: Agent Sources

🎯 Skills System

  • 44+ Bundled Skills covering Git, TDD, Docker, API design, security, debugging, and more
  • Three-Tier Organization: Bundled/user/project with priority resolution
  • Auto-Linking to relevant agents based on roles
  • Progressive Disclosure - Skills load on-demand to optimize context
  • Custom Skills via .claude/skills/ or skill repositories

β†’ Learn more: Skills Guide

πŸ” Semantic Code Search

  • AI-Powered Discovery with mcp-vector-search integration
  • Find by Intent not just keywords ("authentication logic" finds relevant code)
  • Pattern Recognition for discovering similar implementations
  • Live Updates tracking code changes automatically

β†’ Learn more: Developer Use Cases

πŸ§ͺ MPM Commander (ALPHA)

  • Multi-Project Orchestration with autonomous AI coordination across codebases
  • Tmux Integration for isolated project environments and session management
  • Event-Driven Architecture with inbox system for cross-project communication
  • LLM-Powered Decisions via OpenRouter for autonomous work queue processing
  • Real-Time Monitoring with state tracking (IDLE, WORKING, BLOCKED, PAUSED, ERROR)
  • ⚠️ Experimental - API and CLI interface subject to change

β†’ Commander Documentation

πŸ”Œ Advanced Integration

  • MCP Integration with full Model Context Protocol support
  • MCP Session Server (mpm-session-server) for programmatic session management
  • Real-Time Monitoring via --monitor flag and web dashboard
  • Multi-Project Support with per-session working directories
  • Git Integration with diff viewing and change tracking

β†’ Learn more: MCP Gateway | β†’ MCP Session Server

πŸ” External Integrations

  • Browser-Based OAuth for secure authentication with MCP services
  • Google Workspace MCP built-in server with 34 tools for:
    • Gmail (5 tools): Search, read, send, draft, reply
    • Calendar (6 tools): List, get, create, update, delete events
    • Drive (7 tools): Search, read, create folders, upload, delete, move files
    • Docs (4 tools): Create, read, append, markdown-to-doc conversion
    • Tasks (12 tools): Full task and task list management
  • Notion MCP built-in server with 7 tools + bulk operations:
    • Query databases, get/create/update pages, search, markdown import
    • Setup: claude-mpm setup notion
  • Confluence MCP built-in server with 7 tools + bulk operations:
    • Get/create/update pages, search with CQL, list spaces, markdown import
    • Setup: claude-mpm setup confluence
  • Slack MCP user proxy with 12 tools:
    • Channels, messages, DMs, search - acts as authenticated user
    • Setup: claude-mpm setup slack
  • Encrypted Token Storage using Fernet encryption with system keychain
  • Automatic Token Refresh handles expiration seamlessly
# Set up Google Workspace OAuth
claude-mpm oauth setup workspace-mcp

# Set up Notion (API token)
claude-mpm setup notion

# Set up Confluence (URL + API token)
claude-mpm setup confluence

# Set up Slack (OAuth user token)
claude-mpm setup slack

# Check token status
claude-mpm oauth status workspace-mcp

# List OAuth-capable services
claude-mpm oauth list

β†’ Google Workspace Setup | β†’ Notion Setup | β†’ Confluence Setup | β†’ Slack Setup

⚑ Performance & Security

  • Near-Instant Startup β€” syncs agents and skills once per day; subsequent launches skip all network checks and start in ~100ms
  • Simplified Architecture with ~3,700 lines removed for better performance
  • Enhanced Security with comprehensive input validation
  • Intelligent Caching with hash-based invalidation and TTL-gated sync
  • Memory Management with cleanup commands for large conversation histories

β†’ Learn more: Architecture

βš™οΈ Automatic Migrations

  • Seamless Updates with automatic configuration migration on first startup after update
  • One-Time Fixes for cache restructuring and configuration changes
  • Non-Blocking failures log warnings but do not stop startup
  • Tracked in ~/.claude-mpm/migrations.yaml

β†’ Learn more: Startup Migrations


Quick Usage

# Start interactive mode
claude-mpm

# Start with monitoring dashboard
claude-mpm run --monitor

# Resume previous session
claude-mpm run --resume

# Force sync agents/skills from GitHub (overrides 24-hour TTL)
claude-mpm --force-sync

# Skip sync for maximum startup speed
claude-mpm --no-sync

# Semantic code search
claude-mpm search "authentication logic"
# or inside Claude Code:
/mpm-search "authentication logic"

# Health diagnostics
claude-mpm doctor

# Verify MCP services
claude-mpm verify

# Manage memory
claude-mpm cleanup-memory

πŸ’‘ Startup Performance: Claude MPM syncs agents and skills once per day. Subsequent launches are near-instant (~100ms). Use --force-sync to pull the latest content immediately or set CLAUDE_MPM_SYNC_TTL (seconds) to customize the sync interval.

πŸ’‘ Update Checking: Claude MPM automatically checks for updates and verifies Claude Code compatibility on startup. Configure in ~/.claude-mpm/configuration.yaml or see docs/update-checking.md.

β†’ Complete usage examples: User Guide


What's New in v5.9.46

Near-Instant Startup (Daily Sync)

Starting in v5.9.46, Claude MPM syncs agents and skills once per day instead of checking GitHub on every launch. Subsequent startups skip all network requests and launch in approximately 100ms.

Before: 500ms–2s on every launch (HTTP HEAD requests to GitHub for each file). After: ~100ms after the first daily sync (no network activity).

# Normal launch β€” uses cached content if synced within 24 hours
claude-mpm

# Force an immediate sync of agents and skills from GitHub
claude-mpm --force-sync

# Skip sync entirely (use cached content regardless of age)
claude-mpm --no-sync

Configuration: Override the 24-hour default with the CLAUDE_MPM_SYNC_TTL environment variable (value in seconds):

# Sync every 12 hours instead of 24
export CLAUDE_MPM_SYNC_TTL=43200

# Sync every 7 days
export CLAUDE_MPM_SYNC_TTL=604800

Sync state is stored in ~/.claude-mpm/cache/sync-state.json. All five startup skill operations β€” bundled deploy, remote sync, discovery, summary, and PM skills verify β€” are gated and only run when content has actually changed.

β†’ Full sync documentation: Agent Synchronization Guide


What's New in v5.0

Git Repository Integration for Agents & Skills

  • πŸ“¦ Massive Library: 47+ agents and hundreds of skills deployed automatically
  • 🏒 Official Content: Anthropic's official skills repository included by default
  • πŸ”§ Fully Extensible: Add your own repositories with immediate testing
  • 🌳 Smart Organization: Hierarchical BASE-AGENT.md inheritance
  • πŸ“Š Clear Visibility: Two-phase progress bars (sync + deployment)
  • βœ… Fail-Fast Testing: Test repositories before they cause startup issues

Quick Start with Custom Repositories:

# Add custom agent repository
claude-mpm agent-source add https://github.com/yourorg/your-agents

# Add custom skill repository
claude-mpm skill-source add https://github.com/yourorg/your-skills

# Test repository without saving
claude-mpm agent-source add https://github.com/yourorg/your-agents --test

β†’ Full details: What's New


Documentation

πŸ“š Complete Documentation Hub - Start here for all documentation!

Quick Links by User Type

πŸ‘₯ For Users

πŸ’» For Developers

πŸ€– For Agent Creators

πŸš€ For Operations


Integrations

Claude MPM supports multiple integrations for enhanced functionality. See Complete Integration Documentation for detailed setup guides.

Core Integrations

External Services

  • Google Workspace MCP - Gmail, Calendar, Drive, Docs, Tasks (67 tools)
  • Slack - Slack workspace integration via user proxy
  • Notion - Notion databases and pages (7 MCP tools + bulk CLI)
  • Confluence - Confluence pages and spaces (7 MCP tools + bulk CLI)

Quick Setup

# Setup any integration with one command
claude-mpm setup <integration>

# Examples:
claude-mpm setup kuzu-memory
claude-mpm setup mcp-vector-search
claude-mpm setup gworkspace-mcp         # Canonical name (preferred)
claude-mpm setup google-workspace-mcp   # Legacy alias (also works)
claude-mpm setup slack
claude-mpm setup notion
claude-mpm setup confluence

# Setup multiple at once
claude-mpm setup kuzu-memory mcp-vector-search gworkspace-mcp

Integration Features:

  • One-command setup for all services
  • Secure OAuth 2.0 authentication (Google Workspace, Slack)
  • Encrypted token storage in system keychain
  • Automatic token refresh
  • MCP protocol for standardized tool interfaces
  • Bulk CLI operations for high-performance batch processing

Contributing

Contributions are welcome! Please see:

Development Workflow:

# Complete development setup
make dev-complete

# Or step by step:
make setup-dev          # Install in development mode
make setup-pre-commit   # Set up automated code formatting

πŸ“œ License

License

Licensed under the Elastic License 2.0 - free for internal use and commercial products.

Main restriction: Cannot offer as a hosted SaaS service without a commercial license.

πŸ“– Licensing FAQ | πŸ’Ό Commercial licensing: bob@matsuoka.com


Credits

About

Claude Multi-Agent Project Manager - Subprocess orchestration layer for Claude

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-FAQ.md

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors