slambed-mcp
v3.0.4
Published
Slambed MCP Server - Comprehensive Git Flow Automation with MCP and CLI Support
Maintainers
Readme
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ ║
║ ║
║⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⡆⢀⣤⣤⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ║
║⠀⠀⠀ ⠀⠀⠀⠀⠀⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢀⣀⣤⣀⠀⠀⠀⠀⠀ ║
║⠀ ⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣀⡀⠀⠀ ║
║⠀⠀ ⠀⠀⠀⠀⠀⣼⣿⣿⣿⡟⢀⣿⣿⣿⣿⡟⢻⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀ ▀██ ▀██ ▀██ ▄█▄ ║
║⠀⠀ ⠀⠀⢠⠆⢰⣿⣿⣿⣿⠁⣼⣿⣿⣿⡿⠀⣼⣿⣿⣿⠿⢿⣿⣿⣿⠇⠀ ▄▄▄▄ ██ ▄▄▄▄ ▄▄ ▄▄ ▄▄ ██ ▄▄▄ ▄▄▄▄ ▄▄ ██ ███ ║
║⠀ ⠀⠀⠀⣿⠀⣾⣿⣿⣿⡟⢰⣿⣿⣿⣿⠃⣸⣿⣿⣿⠏⢠⣿⣿⣿⡿⠀⠀ ██▄ ▀ ██ ▀▀ ▄██ ██ ██ ██ ██▀ ██ ▄█▄▄▄██ ▄▀ ▀██ ▀█▀ ║
║⠀ ⠀⠀⢸⡇⢠⣿⣿⣿⡿⠀⣾⣿⣿⣿⠇⢠⣿⣿⣿⡏⢠⣿⣿⣿⣿⠁⠀ ▄ ▀█▄▄ ██ ▄█▀ ██ ██ ██ ██ ██ █ ██ █▄ ██ █ ║
║⠀ ⠀⠀⣾⣧⡈⠛⢿⣿⠃⣸⣿⣿⣿⡏⢠⣿⣿⣿⡟⢀⣾⣿⣿⣿⠃⠀⠀⠀ █▀▄▄█▀ ▄██▄ ▀█▄▄▀█▀ ▄██ ██ ██▄ ▀█▄▄▄▀ ▀█▄▄▄▀ ▀█▄▄▀██▄ ▄ ║
║⠀ ⠀⠀⠿⣿⣿⣶⣄⡉⠀⢿⣿⣿⡟⠀⣾⣿⣿⡿⢀⣾⣿⣿⡿⠁⠀⠀⠀⠀ ▀█▀ ║
║⠀⠀ ⠀⠀⠈⠉⠛⠛⠛⠒⠀⠈⠉⠁⠸⠿⠿⠿⠃⠾⠿⠟⠋⠀⠀⠀⠀⠀ ║
║ ║
║ ║
║ 🚀 GitHub Flow Automation & MCP Server 🚀 ║
║ ║
║ Git workflows that pack a punch! ✊ ║
║ ║
╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝Slambed MCP - Intelligent Development Assistant
Advanced MCP (Model Context Protocol) Server with AI-Powered Development Tools
An intelligent development assistant that combines AI-powered tools, real-time collaboration, predictive suggestions, and comprehensive project intelligence. Transform your development workflow with next-generation automation! 🚀
✨ Features
🧠 AI-Powered Intelligence
- Natural Language Interface - Universal
slamtool accepts plain English commands - Predictive Suggestions - Machine learning-powered recommendations based on usage patterns
- AI Commit Messages - Intelligent commit message generation from code changes
- Context-Aware Intelligence - Deep project understanding with multi-source analysis
🤝 Real-Time Collaboration
- Live Team Synchronization - Real-time presence and conflict resolution
- Shared Workspaces - Team chat, file locking, and collaborative editing
- Conflict Prevention - Operational transformation for seamless collaboration
- Team Activity Tracking - Comprehensive visibility into team workflows
⏰ Time Machine & Recovery
- State Snapshots - Automatic project state capture with compression
- Advanced Undo - Granular action history and intelligent rollback
- Recovery Points - Named savepoints for major workflow milestones
- Conflict Resolution - Smart handling of recovery conflicts
🛡️ Enterprise Security
- End-to-End Encryption - AES-256-GCM for sensitive data protection
- Role-Based Access Control - Granular permissions and user management
- Comprehensive Audit Logging - Security events and compliance tracking
- Multi-Factor Authentication - Secure session management
🔌 Universal Integration
- MCP Protocol - Native Claude Desktop integration
- IDE Extensions - VS Code, IntelliJ, Eclipse plugins
- CLI Interface - Backward-compatible command-line tools
- Web Dashboard - Browser-based project management
- API Access - RESTful APIs for custom integrations
📚 Learning & Personalization
- User Profiling - Personalized preferences and workflow patterns
- Adaptive Learning - System improves based on usage patterns
- Privacy Controls - Configurable data collection and anonymization
- Custom Shortcuts - Personalized aliases and command shortcuts
🚀 Quick Start
Prerequisites
- Node.js 18+
- Git
- Claude Desktop (for MCP integration)
Installation
- Clone the repository:
git clone https://github.com/your-username/slambed-mcp.git
cd slambed-mcp- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env
# Edit .env with your API keys (see Configuration section)- Configure Claude Desktop MCP:
Add to your Claude Desktop ~/.claude/config.json:
{
"mcpServers": {
"slambed-mcp": {
"command": "node",
"args": ["./src/index.js"],
"cwd": "/path/to/slambed-mcp",
"env": {
"ANTHROPIC_API_KEY": "your_key_here",
"OPENAI_API_KEY": "your_key_here",
"PERPLEXITY_API_KEY": "your_key_here"
}
}
}
}- Start the server:
npm startFirst Use - Natural Language Commands
# Universal natural language interface
slam("show me the current project status")
slam("create a new feature branch for user authentication")
slam("generate an AI commit message for my changes")
slam("deploy to staging environment")
slam("start a team collaboration session")📋 Available Commands
🎯 Smart Mode (NEW!)
slambed- Interactive mode with context-aware suggestionsslambed --quick- Automatically perform the most likely action
⚡ Simplified Commands (NEW!)
slambed commit- Smart commit workflow with AI message generationslambed pr- Create pull request from current branchslambed sync- Sync current branch with mainslambed status- Show repository statusslambed publish- Publish package to npmslambed feature <name>- Start a new feature branch
🤖 Automation Workflows
slambed auto commit- Complete workflow: branch → format → lint → commit → push → PR → mergeslambed auto quick- Quick commit with smart defaultsslambed auto smart- Analyze changes and suggest commit messageslambed auto sync- Sync current branch with targetslambed auto publish- Automated npm publishing
🚀 GitHub Actions
slambed auto create-pr-workflow- Create PR check workflow (lint, test, build)slambed auto create-release-workflow- Create automated release workflow
🌿 GitHub Flow
slambed flow start <name>- Start a new branch from mainslambed flow finish- Create PR for current branchslambed flow quick <name>- Quick: branch + commit + PRslambed flow sync- Sync current branch with mainslambed flow cleanup- Clean up merged branches
🔧 Utilities
slambed util info- Repository informationslambed util analyze- Change analysisslambed util health- Repository health checkslambed util branches- List and categorize branches
🛡️ Branch Protection
slambed protection enable- Enable branch protection with required status checksslambed protection disable- Remove branch protectionslambed protection status- Check protection status- Options:
-b, --branch <branch>- Branch to protect (default: main)--no-pr-reviews- Don't require PR reviews--no-status-checks- Don't require status checks-c, --contexts <contexts...>- Required status checks (default: lint, test, build)-a, --approvals <count>- Required approving reviews (default: 0)
🎯 Examples
Simplest Workflow Ever
# Start your work
slambed feature user-auth
# Make your changes...
# Then just run:
slambed
# Slambed detects you have changes and suggests committing
# Select "🚀 Commit changes" and you're done!One-Command Workflow
# Made some changes? Just run:
slambed --quick
# Slambed automatically:
# - Detects your changes
# - Creates a feature branch if needed
# - Generates an AI commit message
# - Pushes and creates a PR
# - Auto-merges when checks passNatural Commands
# Commit your work
slambed commit
# Ready to ship?
slambed pr
# Stay in sync
slambed sync
# Check status
slambed statusCustom Aliases
Create a .slambed-aliases file in your project or home directory:
# ~/.slambed-aliases
c=commit
p=pr
s=sync
ship=commit --no-merge
done=auto commitThen use your shortcuts:
slambed c # Same as: slambed commit
slambed ship # Same as: slambed commit --no-mergeComplete Feature Development (Classic)
# Start feature, make changes, then auto-commit
slamb-flow start user-auth
# ... make your changes ...
slambed auto commit -m "Implement user authentication"Project Initialization
# Initialize complete project with GitHub repo
slambed init-project --project-name "my-app" --description "My awesome app"GitHub Actions Setup
# Create PR check workflow (lint, test, build)
slambed auto create-pr-workflow --name "CI Pipeline"
# Create automated release workflow
slamb-commit create-release-workflow --type "both"Smart Development
# Let AI analyze your changes and suggest commits
slamb-commit smart --execute🔧 Configuration
Create .slambed.json in your project:
{
"gitFlow": {
"defaultBranch": "main",
"autoMerge": true,
"allowOutdatedBase": false
},
"automation": {
"runFormat": true,
"runLint": true,
"runTests": false
}
}Configuration Options
gitFlow.allowOutdatedBase (default: false)
Controls whether operations can proceed when the base branch (main/master) is outdated:
false(default): Operations will fail if base branch is outdated and cannot be updatedtrue: Operations will continue with warnings even if base branch is outdated
This is useful for:
- Offline work: Set to
truewhen working without network access - CI environments: May need
trueif CI has limited git access - Strict workflows: Keep as
falseto ensure all work starts from latest base
Example scenarios:
# With allowOutdatedBase: false (default)
$ slambed auto commit
⚠️ Base branch (main) is 3 commits behind origin/main
Fetched latest main from origin
Attempting to update base branch...
✅ Successfully updated base branch
✓ Created branch: feature/add-authentication-2025-01-05
# With allowOutdatedBase: true
$ slambed auto commit
⚠️ Base branch (main) is 3 commits behind origin/main
⚠️ Could not update base branch due to network issue. Continuing anyway due to config...
✓ Created branch: feature/add-authentication-2025-01-05🛠️ Installation
npm install -g slambed-mcpOr clone and install locally:
git clone https://github.com/your-username/slambed-mcp.git
cd slambed-mcp
npm install
npm linkLicense
MIT
