Vibe Cording Doc Automation MCP

๐Ÿš€ CastPlan MCP: Your AI Coding Assistant's Missing Memory

Turn your AI into a project-aware coding partner - CastPlan MCP gives Claude, Cursor, and other AI assistants the ability to understand, track, and help manage your entire development workflow.

npm versionPython PackageLicense: MITCross-PlatformMCP Compatible

Stop explaining your project to AI every time - CastPlan MCP remembers your architecture, tracks your progress, and helps your AI assistant provide context-aware coding help.

๐Ÿค” The Problem: AI That Forgets Your Project

Ever felt frustrated repeating yourself to AI assistants?

You: "Help me add a new user endpoint to my REST API"
AI: "Sure! What's your tech stack? What's your current architecture? 
     Where are your routes defined? What's your authentication system?"
You: "Ugh, I explained this yesterday..." ๐Ÿ˜ค

CastPlan MCP solves this forever.

โœจ What CastPlan MCP Actually Does for You

๐Ÿง  Your AI Remembers Everything

  • Project Architecture: AI knows your file structure, patterns, and conventions
  • Development History: Tracks what you've built, changed, and why
  • Team Context: Understands your workflow, documentation standards, and processes
  • Technical Decisions: Remembers your choices and helps maintain consistency

๐Ÿ“ˆ Real Coding Benefits

๐ŸŽฏ Context-Aware Code Suggestions
Before: "Create a user service"
AI: "Here's a generic user service template..."

After: "Create a user service" 
AI: "Based on your existing AuthService and ProductService patterns, 
     here's a UserService that follows your dependency injection 
     setup and validation middleware..."
๐Ÿ“š Automatic Documentation Updates
You: "I just refactored the payment module"
AI: "I see you moved PaymentProcessor.ts and updated the interfaces. 
     I'll update your README, API docs, and team wiki to reflect 
     the new structure."
๐Ÿ”— Smart Task Management
You: "We need to add OAuth integration"
AI: "I'll break this down based on your architecture:
     1. Update AuthController (follows your existing auth pattern)
     2. Add OAuth middleware (matches your middleware structure)  
     3. Update user docs (your team wiki format)
     4. Write tests (using your Jest setup)"

๐ŸŽช Live Demo: See It In Action

Scenario: Adding a New Feature

๐Ÿšซ Without CastPlan MCP:

You: "Help me add user profiles"
AI: "What framework are you using?"
You: "React with TypeScript"
AI: "Where do you keep components?"
You: "src/components"
AI: "What's your state management?"
You: "Redux Toolkit"
AI: [Finally gives generic advice]

โœ… With CastPlan MCP:

You: "Help me add user profiles"
AI: "I see you're using React + TypeScript with Redux Toolkit. 
     Based on your existing UserCard and ProfileCard components, 
     I'll create a UserProfile component that matches your 
     design system. I'll also update your userSlice following 
     your established patterns and add it to your main navigation."

Scenario: Bug Fixing

๐Ÿšซ Without CastPlan MCP:

You: "There's a bug in authentication"
AI: "Can you show me your auth code?"
You: [Pastes 200 lines]
AI: "What's the error?"
You: [Explains context]
AI: [Generic debugging advice]

โœ… With CastPlan MCP:

You: "There's a bug in authentication"
AI: "I can see your AuthService implementation. Looking at 
     recent changes, I notice the JWT validation was modified 
     2 days ago. The issue is likely in line 45 where the 
     token expiration check changed. Here's the fix that 
     maintains your error handling pattern..."

๐Ÿ› ๏ธ Core Features That Transform Your Coding

๐Ÿ“‹ Smart Project Planning (BMAD)

What it does: Turns your project ideas into actionable development plans

How it helps your AI:

You: "I want to build a todo app with user auth"
AI: "I've analyzed your requirements and created a development plan:
     
     ๐Ÿ—๏ธ Architecture: React frontend + Node.js API + PostgreSQL
     ๐Ÿ“ Tasks Generated:
     1. Setup user authentication system
     2. Create todo CRUD operations  
     3. Build responsive UI components
     4. Add real-time notifications
     
     Each task includes specific acceptance criteria and 
     connects to your existing code patterns."

๐Ÿ“š Living Documentation System

What it does: Keeps your docs in sync with your code automatically

How it helps your AI:

You: "I modified the API endpoints"
AI: "I've detected changes in your routes:
     โœ… Updated API documentation
     โœ… Refreshed README examples  
     โœ… Added new endpoints to Postman collection
     โœ… Updated team wiki with breaking changes
     
     Your documentation is now in sync with code!"

๐Ÿ”— Workflow Intelligence

What it does: Watches your development patterns and automates repetitive tasks

How it helps your AI:

You: [Commits code with "fix: payment bug"]
AI: "I noticed you fixed a payment issue. Based on your 
     workflow patterns, I've:
     ๐Ÿ”„ Generated a hotfix release notes
     ๐Ÿ“ง Drafted incident report for the team
     ๐Ÿงช Suggested regression tests to add
     ๐Ÿ“‹ Updated the payment module documentation"

๐Ÿค– Code Intelligence & Quality

What it does: AI-powered code analysis that understands your project's context

How it helps your AI:

You: "Review this component for best practices"
AI: "Analyzing against your project standards:
     
     โœ… Follows your component naming convention
     โœ… Uses your established prop patterns
     โš ๏ธ  Missing error boundary (your other components have them)
     โš ๏ธ  Consider adding to your Storybook (matches your docs pattern)
     
     Here's the updated component with your standards applied..."

๐Ÿš€ Quick Start (30 seconds)

๐Ÿ”ฅ Instant Setup (Recommended)

# No installation needed - runs directly from GitHub!
uvx --from git+https://github.com/Ghostseller/CastPlan_mcp.git castplan-mcp init

๐Ÿ“ฆ Alternative Installation Methods

# Install with uv
uv add git+https://github.com/Ghostseller/CastPlan_mcp.git
castplan-mcp init

# Install with pip  
pip install git+https://github.com/Ghostseller/CastPlan_mcp.git
castplan-mcp init

# Install with npm
npm install -g git+https://github.com/Ghostseller/CastPlan_mcp.git
castplan-mcp init

Step 3: Start Coding with Context!

Open your AI assistant and try:

"Analyze my project structure and suggest improvements"

That's it! Your AI now understands your project and can provide contextual help.

๐ŸŽฏ Example Developer Scenarios

The following are example scenarios showing how CastPlan MCP could transform different types of development workflows:

๐Ÿ‘จโ€๐Ÿ’ป Frontend Developer Scenario

Situation: Working with component libraries and design systems

Example workflow with CastPlan MCP:

Developer: "Create a loading spinner component"
AI: "Based on your existing Button and Modal components, here's a LoadingSpinner 
     that uses your theme tokens, follows your TypeScript patterns, and includes 
     the accessibility features you use in other components."

The benefit: AI understands your specific design system patterns instead of giving generic components.

๐Ÿ”ง Backend Developer Scenario

Situation: Managing microservices with consistent patterns

Example workflow with CastPlan MCP:

Developer: "I need to add a new endpoint to the user service"
AI: "I see your user service uses Express with JWT middleware and follows 
     RESTful patterns. I'll create the endpoint that matches your existing 
     structure, includes your standard error handling, and updates your 
     OpenAPI documentation."

The benefit: AI maintains consistency across your microservices architecture.

๐ŸŽจ Full-Stack Developer Scenario

Situation: Keeping documentation in sync with code changes

Example workflow with CastPlan MCP:

Developer: [Refactors API response structure]
AI: "I noticed you changed the user object structure. I've updated:
     โœ… Frontend TypeScript interfaces
     โœ… API documentation  
     โœ… Database migration scripts
     โœ… Test fixtures"

The benefit: Automated documentation updates prevent drift between code and docs.

๐Ÿ’ก Common Use Cases

๐Ÿ—๏ธ Starting New Projects

You: "Help me set up a new React TypeScript project with authentication"
AI: "I'll create a project structure following your established patterns:
     - Uses your preferred Vite + TypeScript setup  
     - Includes your standard ESLint/Prettier config
     - Sets up authentication with JWT (matching your other projects)
     - Adds your typical folder structure (components, hooks, utils)
     - Includes your standard testing setup with React Testing Library"

๐Ÿ”ง Debugging & Maintenance

You: "The login isn't working after my recent changes"  
AI: "Looking at your recent commits, I see you updated the AuthContext.
     The issue is in UserContext.tsx line 34 - the token validation
     changed but the error handling wasn't updated. Here's the fix
     that maintains your existing error message patterns."

๐Ÿ“ˆ Scaling & Refactoring

You: "This component is getting too large, help me break it down"
AI: "Based on your existing patterns, I'll split this into:
     - UserProfileHeader (following your header component pattern)
     - UserProfileForm (matches your form validation approach)  
     - UserProfileActions (uses your action button patterns)
     
     Each will use your established props patterns and TypeScript interfaces."

๐Ÿ‘ฅ Team Collaboration

You: "A new developer is joining, create onboarding docs"
AI: "I've analyzed your codebase and created onboarding documentation:
     โœ… Architecture overview with your specific patterns
     โœ… Development workflow guide (your Git conventions)
     โœ… Code style guide (extracted from your existing code)
     โœ… Common commands and scripts you actually use
     โœ… Project-specific gotchas and best practices"

๐Ÿค– Works With Your Favorite AI Assistants

CastPlan MCP is compatible with any MCP-supported AI environment:

โœ… Fully Supported

  • Claude Desktop - Native integration, zero configuration
  • Cursor - Perfect for VS Code developers
  • Windsurf - Advanced coding assistance
  • VS Code Extensions - Continue.dev, Cline, and others
  • Zed Editor - Lightning-fast development

โœ… Future-Proof

  • Any MCP-compatible client - Works automatically
  • New AI tools - Compatible as they adopt MCP standard

๐Ÿ”ง Setup

castplan-mcp init

This single command detects and configures all your AI assistants automatically.

๐Ÿ› ๏ธ Advanced Configuration

๐ŸŽ›๏ธ Customize CastPlan MCP Behavior
# Enable specific features only
CASTPLAN_ENABLE_DOCS=true        # Documentation tracking
CASTPLAN_ENABLE_PLANNING=true    # Project planning (BMAD)
CASTPLAN_ENABLE_WORKFLOWS=true   # Workflow automation  
CASTPLAN_ENABLE_AI_ANALYSIS=true # AI-powered insights

# Performance tuning
CASTPLAN_WATCH_MODE=true         # Monitor file changes in real-time
CASTPLAN_MAX_CONCURRENT=3        # Number of parallel operations
CASTPLAN_CACHE_ENABLED=true      # Cache project analysis for speed

# Privacy & Security
CASTPLAN_LOCAL_ONLY=true         # Never send data externally
CASTPLAN_AI_PROVIDER=local       # Use local AI models only

๐Ÿ” Technical Details

๐Ÿ”ง Available Commands & Tools

Project Planning:

  • bmad_parse_specification - Turn requirements into development tasks
  • bmad_update_task_status - Track project progress

Documentation Management:

  • docs_reference - Find relevant docs for your work
  • docs_update - Keep documentation in sync with code
  • docs_search - Search project documentation
  • analyze_document_quality - AI-powered doc quality analysis

Workflow Automation:

  • hooks_setup_git - Automate Git workflow integration
  • hooks_start_watching - Monitor files for changes
  • track_document_work - Connect code changes to documentation

System Monitoring:

  • castplan://status - Check system health
  • castplan://tasks - View active project tasks
  • castplan://documentation/history - Track documentation changes
โš™๏ธ Manual Configuration (Advanced Users)

Standard MCP Configuration:

{
  "mcpServers": {
    "castplan-mcp": {
      "command": "castplan-mcp",
      "args": ["start"],
      "env": {
        "CASTPLAN_PROJECT_ROOT": "/path/to/your/project"
      }
    }
  }
}

Configuration Files:

  • Claude Desktop: %APPDATA%\Claude\claude_desktop_config.json (Windows)
  • Cursor: User settings โ†’ MCP servers
  • VS Code: Extension-specific configuration

๐Ÿ’ก Tip: Use castplan-mcp init instead - it handles all this automatically!

๐Ÿ™‹โ€โ™‚๏ธ FAQ

โ“ How is this different from GitHub Copilot?

GitHub Copilot suggests code based on general patterns.

CastPlan MCP gives your AI assistant memory of YOUR specific project:

  • Knows your existing code patterns and conventions
  • Tracks your project's evolution over time
  • Understands relationships between your files
  • Maintains context about your team's decisions

Think of Copilot as "smart autocomplete" and CastPlan MCP as "project memory for AI."

โ“ Does this send my code to external servers?

No! CastPlan MCP runs locally on your machine. Your code never leaves your computer unless you explicitly configure it to use external AI services (which is optional).

By default, it only provides context to your local AI assistant.

โ“ Will this slow down my AI assistant?

No! CastPlan MCP is designed for speed:

  • Intelligent caching keeps responses fast
  • Only loads relevant context for each query
  • Runs in the background without interrupting your workflow
  • Most operations complete in milliseconds
โ“ What if I work on multiple projects?

CastPlan MCP automatically detects which project you're working on and provides the right context. Each project maintains its own separate memory and configuration.

๐Ÿš€ Ready to Transform Your AI Coding Experience?

# Install CastPlan MCP in 30 seconds
npm install -g @castplan/automation-mcp
castplan-mcp init

# Start getting contextual AI help immediately  

๐Ÿ“ž Support & Community

โญ Give CastPlan MCP a star if it makes your coding life easier!

๐Ÿง  Stop explaining your project to AI every time

๐Ÿš€ Install Now โ€ข ๐Ÿ’ฌ Discuss โ€ข ๐Ÿ“ง Contact

Built with โค๏ธ for developers who want smarter AI assistance

MCP Server ยท Populars

MCP Server ยท New