Skip to content

Date: 2025-08-24
Status: Implemented and Active
Integrations: Project Context MCP, Enhanced Shadcn MCP

Two Model Context Protocol (MCP) integrations have been implemented to enhance the Automated Project Execution and Smart Debt mission development:

  1. Project Context MCP - Provides AI with current project state and context
  2. Enhanced Shadcn MCP - Auto-generates Smart Debt specific UI components

Automatically provides comprehensive project context to all AI interactions, eliminating the need to repeatedly explain project setup, constraints, and mission focus.

  • Server: D:\FSS\Software\Utils\APE\project_context_mcp.py
  • Status File: D:\FSS\Software\Utils\APE\current_status.json
  • Scripts:
    • D:\FSS\Software\Utils\APE\get-context.bat
    • D:\FSS\Software\Utils\APE\get-context.ps1
Section titled “Natural Language Activation (Recommended):”

Simply ask me in our Warp conversation:

  • Get my current project context
  • What’s my project status?
  • Show me my APE phase information
  • What tech stack am I working with?

I will automatically execute the MCP commands and provide the results.

Terminal window
# Get full project context
python "D:\FSS\Software\Utils\APE\project_context_mcp.py"
# Get summary context
python "D:\FSS\Software\Utils\APE\project_context_mcp.py" --summary
# Using batch wrapper
cmd /c "D:\FSS\Software\Utils\APE\get-context.bat --summary"
  • Current Project: Auto-detected based on directory (e.g., “smart_debt_website”, “monorepo_development”)
  • Mission: Always “smart_debt_advisor_education”
  • Tech Stack: Astro, Svelte, Tailwind, Cloudflare Pages, etc.
  • Development Preferences: FOSS preference, security first, MVP focus
  • Smart Debt Context: Target audience, compliance requirements, content focus
  • APE Status: Current phase, last completed, next scheduled
  • Recent Files: Recently modified project files
  • Project Structure: Detected project type and key configuration files
  • Reduced Context Setting: AI automatically knows your project setup
  • Consistent Responses: AI suggestions align with your tech stack and constraints
  • Mission Focus: All AI interactions maintain Smart Debt advisor education context
  • Environment Awareness: AI understands Windows + PowerShell + Warp setup

Generates production-ready Svelte components specifically designed for Smart Debt financial advisor education, with built-in compliance, accessibility, and responsive design features.

  • Configuration: D:\FSS\Websites\monorepo\.shadcn-mcp-config.json
  • Generator: D:\FSS\Websites\monorepo\generate-smart-debt-component.js
  • Output: D:\FSS\Websites\monorepo\sites\sdc.com\src\components\ui\
Section titled “Natural Language Activation (Recommended):”

Simply ask me in our Warp conversation:

  • Generate an advisor card component
  • Create a lead capture form component
  • Generate a calculator widget for the sdc.com site
  • Build an educational content component

I will automatically navigate to the correct directory, run the generator, and show you the results.

Terminal window
# Navigate to monorepo
cd "D:\FSS\Websites\monorepo"
# Generate advisor card component
node generate-smart-debt-component.js advisor_card
# Generate lead capture form
node generate-smart-debt-component.js lead_form
# Generate for different site (Template vs sdc.com)
node generate-smart-debt-component.js advisor_card Template
  1. advisor_card: Professional advisor display cards
  2. lead_form: SEC/FINRA compliant lead capture forms
  3. educational_content: Content display components (placeholder)
  4. calculator_widget: Interactive calculation widgets (placeholder)
  • TypeScript Support: Full type safety with Svelte
  • Accessibility Features: ARIA labels, keyboard navigation, screen reader support
  • Responsive Design: Fluid scaling using CSS clamp() functions
  • Compliance Features: SEC/FINRA disclaimers, consent management
  • Smart Debt Branding: CSS custom properties for consistent styling
  • Error Handling: Comprehensive form validation and error states
  • Print Support: Print-friendly styling for professional documents
  • Props: name, credentials, specialization, contact_info, photo_url
  • Features: Responsive layout, print-friendly, accessible markup
  • Smart Debt branded styling with CSS custom properties
  • Props: title, submitButtonText
  • Features: Email validation, advisor type selection, compliance consent
  • Built-in SEC disclaimer and GDPR compliance considerations
  • Full accessibility with ARIA labels and error announcements
  • Development Speed: Generate complete components in seconds vs 15-20 minutes manual coding
  • Consistency: All components follow Smart Debt design system
  • Compliance Ready: Built-in SEC/FINRA compliance features
  • Professional Quality: Production-ready code with best practices
  • Customizable: Components accept props for different use cases
Section titled “Natural Language Development Session (Recommended):”
  1. “Get my current project context” - I’ll automatically run the MCP and show your project status
  2. “Generate a lead capture form component” - I’ll navigate to monorepo, run the generator, show results
  3. Continue development - All my suggestions now automatically align with your Smart Debt mission and tech stack

The Key Benefit: I Am Your MCP Integration Layer

Section titled “The Key Benefit: I Am Your MCP Integration Layer”

You get all the benefits of MCP servers through our natural conversation workflow:

  • No need to remember command syntax
  • No need to navigate directories manually
  • No need to repeat project context
  • I execute the commands and provide results immediately

Every interaction now automatically includes:

  • Smart Debt Mission Focus: Financial advisor education context
  • SEC/FINRA Compliance Awareness: Regulatory requirements baked in
  • Tech Stack Knowledge: Astro + Svelte + Tailwind + Cloudflare Pages
  • Development Preferences: FOSS preference, security-first, MVP focus
  • Current APE Phase: Always aware of your project progress

Located in: D:\FSS\Software\Utils\APE\current_status.json

Update this file to reflect current APE phase:

{
"current_phase": "1.2",
"phase_description": "Design System Implementation & sdc.com Site Setup",
"status": "in_progress",
"last_updated": "2025-08-24T19:05:00Z"
}

Located in: D:\FSS\Websites\monorepo\.shadcn-mcp-config.json

Customize Smart Debt branding:

{
"css_variables": {
"--smart-debt-primary": "hsl(210 40% 20%)",
"--smart-debt-secondary": "hsl(210 40% 60%)",
"--smart-debt-accent": "hsl(25 95% 53%)"
}
}
  • Error: Python script not found: Verify path D:\FSS\Software\Utils\APE\project_context_mcp.py exists
  • No APE status: Update current_status.json with current phase information
  • Wrong project detection: Check current directory path contains expected keywords
  • Component generation fails: Ensure you’re in monorepo directory
  • Missing output directory: Generator automatically creates missing directories
  • Configuration errors: Verify .shadcn-mcp-config.json is valid JSON
  • Voice Integration: Voice commands to generate components
  • AI Model Integration: Direct MCP server connections to Claude/Gemini
  • Advanced Templates: Calculator widgets, educational content components
  • Automated Testing: Component testing integration
  • Style Variants: Multiple Smart Debt component themes
  • Content MCP: Smart Debt content generation with compliance checking
  • Deployment MCP: Cloudflare Pages deployment automation
  • Analytics MCP: Website performance and lead generation tracking

Terminal window
# Get project context
python "D:\FSS\Software\Utils\APE\project_context_mcp.py" --summary
# Generate advisor card
node generate-smart-debt-component.js advisor_card
# Generate lead form
node generate-smart-debt-component.js lead_form
# Update APE status
# Edit: D:\FSS\Software\Utils\APE\current_status.json
  • Project Context MCP: D:\FSS\Software\Utils\APE\project_context_mcp.py
  • Component Generator: D:\FSS\Websites\monorepo\generate-smart-debt-component.js
  • Generated Components: D:\FSS\Websites\monorepo\sites\sdc.com\src\components\ui\

Implementation Status: ✅ Complete and Tested
Next Steps: Document n8n webhook integration evaluation