# ๐Ÿš€ AI Capability Extension Suite [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ## What if AI agents could actually _see_, _debug_, and _control_ your development environment? **We've built the most comprehensive suite of MCP servers that give AI agents superpowers they've never had before.** This isn't just another tool collectionโ€”it's a paradigm shift that transforms AI assistants from code generators into intelligent development partners with **runtime visibility**, **system control**, and **physical world access**. > ๐Ÿ“ **Note:** All packages have been split into individual Git submodules with their own repositories for better maintainability and independent versioning. Each package now has its own dedicated repository under the [Digital-Defiance](https://github.com/Digital-Defiance) organization. --- ## ๐Ÿ“ฆ Quick Index ### ๐Ÿ› MCP ACS Debugger **25+ debugging tools for AI agents** | [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) | [NPM](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-debugger-server) | [Docker](https://hub.docker.com/r/digitaldefiance/mcp-debugger-server) - โœ… VS Code Extension with GitHub Copilot integration - โœ… 94.53% test coverage, 1,059 tests - โœ… Performance profiling, hang detection, advanced breakpoints - ๐ŸŽฏ **Kiro Superpower in development** - Enhanced AI debugging workflows ### ๐Ÿ“ธ MCP ACS Screenshot **Visual UI capture and analysis** | [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-screenshot) | [NPM](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-screenshot) | [Docker](https://hub.docker.com/r/digitaldefiance/mcp-screenshot) - โœ… Full screen, window, and region capture - โœ… PII masking with OCR integration - โœ… 267 tests, cross-platform support - ๐ŸŽฏ **Kiro Superpower in development** - AI-powered visual analysis ### โš™๏ธ MCP ACS Process **Enterprise-grade process management** | [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-acs-process) | [NPM](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-process) | [Docker](https://hub.docker.com/r/digitaldefiance/mcp-process) - โœ… 12 process management tools - โœ… 6 layers of security validation - โœ… Resource monitoring and service management - ๐ŸŽฏ **Kiro Superpower in development** - Intelligent process orchestration ### ๐ŸŽฏ Akira **Spec-driven development for GitHub Copilot** | [Repository](https://github.com/Digital-Defiance/akira) - โœ… EARS-compliant requirements engineering - โœ… Property-based testing integration - โœ… Structured Requirements โ†’ Design โ†’ Tasks โ†’ Execution workflow - โœ… MCP-powered persistent context across chat sessions --- ## ๐ŸŽฏ Now Available on VS Code Marketplace ### **[โšก Install the VS Code Extension โ†’](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger)** Our flagship MCP ACS Debugger is now available as a native VS Code extension, bringing professional-grade debugging capabilities directly to your editor with **zero configuration required**. **Why developers love it:** - โœ… **One-click installation** from VS Code Marketplace - โœ… **GitHub Copilot integration** for AI-powered debugging - โœ… **25+ debugging tools** accessible to AI agents - โœ… **Zero configuration** - works immediately after install - โœ… **Enterprise-grade quality** with 94.53% test coverage - โœ… 1,059 passing tests **[View on VS Code Marketplace โ†’](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger)** --- ## ๐Ÿค” The Problem We're Solving **AI agents today are powerful but blind:** - โŒ Can't see what code actually does when it runs - โŒ Can't capture your screen or record demonstrations - โŒ Can't manage files beyond basic read/write - โŒ Can't control processes or applications - โŒ Can't interact with your actual development environment **Result:** You're stuck doing manual work that AI should handle. --- ## ๐ŸŽฏ What We've Built: The Complete Solution The **AI Capability Extension Suite** provides **5 comprehensive MCP servers** that give AI agents professional-grade capabilities, plus **Akira**: ### ๐Ÿ› **1. MCP ACS Debugger** **The most comprehensive debugging interface for AI agents - our flagship product** **Repositories:** [Core](https://github.com/Digital-Defiance/mcp-debugger-core) | [Server](https://github.com/Digital-Defiance/mcp-debugger-server) | [VS Code Extension](https://github.com/Digital-Defiance/vscode-mcp-debugger) [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/v/digitaldefiance.ts-mcp-debugger?label=VS%20Code%20Extension&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) [![VS Code Installs](https://img.shields.io/visual-studio-marketplace/i/digitaldefiance.ts-mcp-debugger?label=Installs)](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) [![VS Code Rating](https://img.shields.io/visual-studio-marketplace/r/digitaldefiance.ts-mcp-debugger?label=Rating)](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) [![NPM Package](https://img.shields.io/npm/v/@ai-capabilities-suite/mcp-debugger-server?label=NPM&logo=npm)](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-debugger-server) [![Docker Image](https://img.shields.io/docker/v/digitaldefiance/mcp-debugger-server?label=Docker&logo=docker&sort=semver)](https://hub.docker.com/r/digitaldefiance/mcp-debugger-server) [![Test Coverage](https://img.shields.io/badge/coverage-94.53%25-brightgreen?logo=jest)](./DEBUGGER-STATUS.md) [![Tests](https://img.shields.io/badge/tests-1059%20passed-brightgreen?logo=jest)](./DEBUGGER-STATUS.md) **โœจ Now available as a VS Code extension!** [Install from Marketplace โ†’](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) **The Problem:** AI agents were blind to runtime behavior. They could read your code and suggest fixes, but couldn't see what was actually happening when your code ran. Debugging remained a frustratingly manual process. **The Solution:** AI agents can now debug like senior developersโ€”setting breakpoints, inspecting variables, profiling performance, and detecting infinite loops in real-time. Available as both a standalone MCP server and a native VS Code extension with GitHub Copilot integration. #### ๐ŸŽจ VS Code Extension Features **Zero-Configuration Setup:** - Install from VS Code Marketplace with one click - Automatic MCP server integration - No manual configuration required - VS Code extension works with any language via Debug Adapter Protocol - Standalone MCP server works with Node.js/JavaScript via Chrome DevTools Protocol **GitHub Copilot Integration:** - AI-powered debugging assistance in your editor - Copilot can access debugging context and tools - Natural language debugging commands - Intelligent breakpoint suggestions **Native IDE Integration:** - Language Server Protocol (LSP) for code intelligence - Debug Adapter Protocol (DAP) for seamless debugging - Hover providers for variable inspection - Code lens for breakpoint management - Integrated debugging UI **Professional Debugging Workflow:** - Set breakpoints with right-click context menu - Step through code with keyboard shortcuts - Inspect variables in hover tooltips - View call stack in debug panel - Profile performance without leaving editor **Language Support:** - **VS Code Extension**: Multi-language support via Debug Adapter Protocol - JavaScript/TypeScript, Python, Java, C/C++, Go, Rust, PHP, Ruby, and more - Test Frameworks: Jest, Mocha, Vitest, pytest, JUnit, go test, cargo test - Frameworks: React, Vue, Angular, Django, Spring Boot, and more - **Standalone MCP Server**: Node.js/JavaScript only via Chrome DevTools Protocol - Full TypeScript support with source maps - Test Frameworks: Jest, Mocha, Vitest - Frameworks: Express, Nest.js, React (Node.js SSR), and more #### ๐Ÿ”ฅ Why This Changes Everything **For Developers:** - **"Debug this for me"** becomes realityโ€”AI investigates and fixes runtime issues - **Instant performance insights**โ€”AI identifies bottlenecks and memory leaks automatically - **Intelligent test debugging**โ€”AI debugs failing tests and suggests precise fixes - **Proactive hang detection**โ€”Never lose time to infinite loops again **For AI Agents:** - **Runtime visibility**โ€”See what's actually happening when code executes - **Interactive debugging**โ€”Set breakpoints, step through code, inspect state - **Performance analysis**โ€”Profile CPU, memory, and execution timelines - **Intelligent problem solving**โ€”Combine static analysis with runtime behavior #### ๐Ÿ› ๏ธ 25+ Professional Debugging Tools **Core Debugging (17 tools):** - ๐Ÿš€ Session management (start, stop with clean shutdown) - ๐ŸŽฏ Breakpoint operations (set, remove, toggle, list with conditional logic) - โ–ถ๏ธ Execution control (continue, step over/into/out, pause) - ๐Ÿ” Variable inspection (evaluate expressions, inspect objects, watch variables) - ๐Ÿ—บ๏ธ Call stack navigation (get stack, switch frames) - โš ๏ธ Hang detection (intelligent infinite loop identification) **Advanced Breakpoints (4 tools):** - ๐Ÿ“ **Logpoints** - Non-breaking observation with variable interpolation - ๐Ÿšจ **Exception breakpoints** - Break on caught/uncaught exceptions with filtering - ๐ŸŽฏ **Function breakpoints** - Break on function entry with regex matching - ๐Ÿ”ข **Hit count conditions** - Break after N hits or every Nth hit **Performance Profiling (4 tools):** - ๐Ÿ”ฅ **CPU profiling** - Real-time performance analysis with flame graphs - ๐Ÿง  **Memory profiling** - Heap snapshots and leak detection - ๐Ÿ“‰ **Performance metrics** - Timeline analysis and regression detection - ๐Ÿ“Š **Resource monitoring** - Track CPU, memory, and execution patterns #### ๐Ÿ† What Makes This Different **Comparison with Other Solutions:** | Feature | Our MCP ACS Debugger | Other MCP ACS Debuggers | VS Code Built-in | Chrome DevTools | | ------------------------------ | ------------------------ | ------------------- | -------------------- | -------------------- | | **AI Agent Integration** | โœ… Full MCP + VS Code | โš ๏ธ Basic MCP only | โŒ No AI integration | โŒ No AI integration | | **Number of Tools** | โœ… 25+ tools | โš ๏ธ 5-10 tools | โš ๏ธ Limited API | โš ๏ธ Manual only | | **Performance Profiling** | โœ… CPU, Memory, Timeline | โŒ None | โš ๏ธ Basic | โœ… Advanced | | **Hang Detection** | โœ… Automatic | โŒ None | โŒ None | โŒ Manual | | **Advanced Breakpoints** | โœ… 4 types | โŒ Basic only | โš ๏ธ Limited | โœ… Advanced | | **Enterprise Security** | โœ… Full suite | โŒ None | โŒ None | โŒ None | | **Test Coverage** | โœ… 94.53% | โš ๏ธ <50% typical | N/A | N/A | | **TypeScript Support** | โœ… Full source maps | โš ๏ธ Limited | โœ… Good | โœ… Good | | **Test Framework Integration** | โœ… Jest, Mocha, Vitest | โŒ None | โš ๏ธ Manual | โš ๏ธ Manual | | **VS Code Extension** | โœ… Native | โŒ None | N/A | โŒ Separate tool | | **GitHub Copilot Integration** | โœ… Full | โŒ None | โš ๏ธ Limited | โŒ None | | **Production Ready** | โœ… Yes | โš ๏ธ Beta/Alpha | โœ… Yes | โœ… Yes | | **Cross-Platform** | โœ… Linux, macOS, Windows | โš ๏ธ Limited | โœ… Yes | โœ… Yes | | **Deployment Options** | โœ… 4 options | โš ๏ธ 1-2 options | N/A | N/A | **Key Differentiators:** - **25+ tools** vs basic breakpoint/step operations in alternatives - **Performance profiling** (CPU, memory, timeline) - unique in MCP ecosystem - **Hang detection** with infinite loop identification - no other MCP server has this - **Advanced breakpoint types** (logpoints, exception, hit count, function) - **Enterprise security** (authentication, rate limiting, PII masking, audit logging) - **Production readiness** (graceful shutdown, circuit breakers, retry logic) - **Multi-language support** via VS Code's Debug Adapter Protocol - **Source map support** for TypeScript and transpiled languages - **Test framework integration** (Jest, Mocha, Vitest, pytest, JUnit, go test, cargo test) - **94.53% test coverage** with 1,059 tests (most MCP servers have minimal testing) - **Property-based testing** with 22 correctness properties - **Load testing** with 100+ concurrent sessions - **Multiple deployment options** (VS Code extension, NPM, Docker, binaries) - **Native VS Code integration** with LSP/DAP protocols - **GitHub Copilot integration** for AI-powered debugging #### ๐Ÿ“Š Enterprise-Grade Quality **Most MCP servers are hobby projects. We've built enterprise software:** - **94.53% line coverage** exceeding **90% enterprise target** โœ… - **83.45% branch coverage** approaching **85% target** - **1,059 tests** with **99.81% pass rate** - **Zero skipped tests** โœ… - **22 correctness properties** verified with fast-check - **Load testing** (100+ concurrent debug sessions) - **Chaos testing** (random failures, network issues) - **Security testing** (authentication bypass attempts) - **Performance benchmarks** (sub-100ms response times) - **Compatibility testing** (Node.js 16-22, TypeScript 4.x-5.x) #### ๐ŸŽฎ Real-World Use Cases **"AI, debug this failing test"** ``` You: "My Jest test is failing but I can't figure out why" AI: *Sets breakpoints in test, inspects variables, identifies exact divergence* AI: "Line 42: API returns string but test expects number. Here's the fix..." ``` **"AI, find the performance bottleneck"** ``` You: "This function is slow but I don't know why" AI: *Starts CPU profiling, analyzes flame graphs, identifies hot paths* AI: "Bottleneck in nested loop on line 156. Here's 10x faster version..." ``` **"AI, why is my app hanging?"** ``` You: "My Node.js app freezes randomly" AI: *Detects infinite loop, captures call stack, identifies root cause* AI: "Infinite loop in processQueue() - exit condition never true because..." ``` **"AI, debug this Node.js issue"** ``` You: "My Express server crashes on startup" AI: *Sets breakpoints, inspects variables, traces execution* AI: "Missing environment variable 'PORT' on line 23. Server tries to bind to undefined port..." ``` #### ๐Ÿš€ Get Started **Option 1: VS Code Extension (Recommended for VS Code users)** ```bash # Install from VS Code Marketplace # Search for "MCP ACS Debugger" or visit: # https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger # Or install via command line code --install-extension digitaldefiance.ts-mcp-debugger ``` **Features:** - โœ… **Zero configuration** - Works out of the box - โœ… **GitHub Copilot integration** - AI-powered debugging assistance - โœ… **Native VS Code debugging** - Seamless IDE integration - โœ… **Language Server Protocol** - Smart code intelligence - โœ… **Debug Adapter Protocol** - Full debugging capabilities **Option 2: Standalone MCP Server (For other AI agents)** ```bash # NPM (Recommended) npm install -g @ai-capabilities-suite/mcp-debugger-server # Docker docker run digitaldefiance/mcp-debugger-server # Configure your AI agent (Kiro, Amazon Q, etc.) { "servers": { "debugger": { "command": "mcp-debugger-server" } } } ``` **Option 3: From Source** ```bash # Clone and build git clone https://github.com/digital-defiance/ai-capabilities-suite.git cd ai-capabilities-suite yarn install && yarn build # Run debugger server node packages/mcp-debugger-server/dist/src/index.js ``` ๐Ÿ“š **Documentation:** - ๐Ÿ‘‰ **[VS Code Extension Guide](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger)** - ๐Ÿ‘‰ **[Complete debugger documentation](./DEBUGGER-README.md)** - ๐Ÿ‘‰ **[Production status report](./DEBUGGER-STATUS.md)** - ๐Ÿ‘‰ **[MCP ACS Debugger Server Repository](https://github.com/Digital-Defiance/mcp-debugger-server)** - ๐Ÿ‘‰ **[MCP ACS Debugger Core Repository](https://github.com/Digital-Defiance/mcp-debugger-core)** - ๐Ÿ‘‰ **[VS Code Extension Repository](https://github.com/Digital-Defiance/vscode-mcp-debugger)** #### ๐Ÿ“ฆ Installation & Usage **VS Code Extension (Recommended for VS Code users):** 1. **Install from Marketplace:** - Open VS Code - Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X) - Search for "MCP ACS Debugger" - Click Install - Or visit: 2. **Start Debugging:** - VS Code extension: Open any source code file - Standalone MCP server: Open JavaScript or TypeScript file - Set breakpoints by clicking in the gutter - Press F5 to start debugging - Use GitHub Copilot to ask debugging questions 3. **Use with Copilot:** ``` You: "@workspace debug this failing test" Copilot: *Uses MCP debugger to investigate* Copilot: "Found the issue on line 42. The API returns..." ``` **Standalone MCP Server (For other AI agents):** 1. **Install globally:** ```bash npm install -g @ai-capabilities-suite/mcp-debugger-server ``` 2. **Configure your AI agent:** ```json { "mcpServers": { "debugger": { "command": "mcp-debugger-server" } } } ``` 3. **Use with your AI agent:** ``` You: "Debug my Node.js app" AI: *Uses MCP tools to start debugging session* AI: "Started debug session. Set breakpoint at app.js:42..." ``` ### ๐Ÿ“ธ **2. MCP ACS Screenshot** **Transform AI agents from code readers into visual UI experts and documentation partners** **Repositories:** [MCP ACS Screenshot](https://github.com/Digital-Defiance/mcp-screenshot) | [VS Code Extension](https://github.com/Digital-Defiance/vscode-mcp-screenshot) [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/v/DigitalDefiance.mcp-screenshot?label=VS%20Code%20Extension&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-screenshot) [![VS Code Installs](https://img.shields.io/visual-studio-marketplace/i/DigitalDefiance.mcp-screenshot?label=Installs)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-screenshot) [![VS Code Rating](https://img.shields.io/visual-studio-marketplace/r/DigitalDefiance.mcp-screenshot?label=Rating)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-screenshot) [![NPM Package](https://img.shields.io/npm/v/@ai-capabilities-suite/mcp-screenshot?label=NPM&logo=npm)](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-screenshot) [![Docker Image](https://img.shields.io/docker/v/digitaldefiance/mcp-screenshot?label=Docker&logo=docker&sort=semver)](https://hub.docker.com/r/digitaldefiance/mcp-screenshot) **โœจ Now available on NPM, Docker Hub, and VS Code Marketplace!** **The Problem:** AI agents were blind to your actual user interface. They could read HTML/CSS and suggest improvements, but couldn't see what users actually experienceโ€”broken layouts, poor contrast, misaligned elements, or accessibility issues. **The Solution:** AI agents now have **visual superpowers**โ€”they can see, analyze, and document your applications like a senior UX designer. From automated documentation generation to accessibility audits, AI can now work with what users actually see. #### ๐ŸŽจ Key Features **Screenshot Capture:** - **Full screen capture** with multiple format support (PNG, JPEG, WebP, BMP) - **Window-specific capture** by title or ID - **Region capture** with precise boundary control - **Display management** - list and target specific monitors - **Quality control** - adjustable compression and optimization **Privacy & Security:** - **PII masking** with Tesseract OCR integration - **Window exclusion** - skip sensitive applications - **Secure defaults** - privacy-first configuration - **Permission handling** - proper system permission checks **Cross-Platform Support:** - **Linux**: X11 and Wayland support - **macOS**: Native screenshot APIs - **Windows**: Windows API integration - **Docker**: Headless capture with Xvfb #### ๐Ÿ› ๏ธ 5 Professional Screenshot Tools 1. **`screenshot_capture_full`** - Capture entire screen with format options (PNG, JPEG, WebP, BMP) 2. **`screenshot_capture_window`** - Capture specific application windows by title or ID 3. **`screenshot_capture_region`** - Capture rectangular screen regions with precise boundaries 4. **`screenshot_list_displays`** - List connected displays with resolutions and scaling 5. **`screenshot_list_windows`** - List visible windows with titles, positions, and dimensions **Privacy & Security Features:** - **PII Masking** - Automatically detect and blur sensitive information (emails, phone numbers, credit cards) - **Window Exclusion** - Skip password managers and authentication dialogs - **Secure Defaults** - Privacy-first configuration out of the box - **Permission Handling** - Proper system permission checks and user consent #### ๐Ÿ“Š Enterprise-Grade Quality - **267 tests** with 100% pass rate - **Full MCP protocol compliance** verified - **E2E testing** (25 tests) for protocol validation - **Unit testing** (242 tests) for comprehensive coverage - **VSCode extension testing** (80+ tests) - **Cross-platform validation** (Linux, macOS, Windows) - **Graceful failure handling** for headless environments #### ๐Ÿš€ Get Started **NPM Package:** ```bash npm install -g @ai-capabilities-suite/mcp-screenshot npx @ai-capabilities-suite/mcp-screenshot ``` **Docker:** ```bash docker run -v $(pwd)/screenshots:/app/screenshots digitaldefiance/mcp-screenshot:latest ``` **VSCode Extension:** - Search "MCP ACS Screenshot" in VS Code Extensions - Or visit: #### ๐ŸŽฏ Revolutionary Use Cases **"AI, create professional documentation"** ``` You: "Document the user onboarding flow" AI: *Captures each step, analyzes UI elements* AI: "Generated step-by-step guide with 8 annotated screenshots, user journey map, and accessibility notes..." ``` **"AI, audit this design for accessibility"** ``` You: "Check if this form meets WCAG standards" AI: *Captures form, analyzes contrast and spacing* AI: "Found 3 issues: Submit button has 2.1:1 contrast (needs 4.5:1), labels lack focus indicators, touch targets under 44px..." ``` **"AI, help debug this responsive layout"** ``` You: "Why does my navbar break on mobile?" AI: *Captures multiple viewport sizes* AI: "Navigation collapses at 768px but hamburger menu overlaps logo. Here's the CSS fix with before/after comparison..." ``` **"AI, compare these two design options"** ``` You: "Which landing page converts better?" AI: *Captures both versions, analyzes visual hierarchy* AI: "Version B has 34% better visual flowโ€”CTA button more prominent, hero text clearer, social proof positioned optimally..." ``` **"AI, create a bug report with visuals"** ``` You: "The checkout form validation isn't working" AI: *Captures error states and user flow* AI: "Created detailed bug report with 5 screenshots showing error conditions, expected vs actual behavior, and reproduction steps..." ``` #### ๐Ÿ”ฅ What This Changes **Before:** AI worked blind, relying on code descriptions - โŒ "The layout looks broken" โ†’ AI guesses what's wrong - โŒ "Create documentation" โ†’ AI writes generic text without visuals - โŒ "Check accessibility" โ†’ AI can only review code, not actual contrast - โŒ "Debug responsive design" โ†’ AI can't see actual breakpoint behavior **After:** AI sees and analyzes your actual user interface - โœ… **Visual debugging** - AI identifies exact pixel-level issues - โœ… **Intelligent documentation** - AI creates guides with real screenshots and annotations - โœ… **Accessibility audits** - AI measures actual contrast ratios and spacing - โœ… **Responsive testing** - AI captures and compares different screen sizes - โœ… **Design analysis** - AI evaluates visual hierarchy and user experience - โœ… **Professional bug reports** - AI creates detailed reports with visual evidence ๐Ÿ“š **Documentation:** - ๐Ÿ‘‰ **[Complete screenshot documentation](https://github.com/Digital-Defiance/mcp-screenshot)** - ๐Ÿ‘‰ **[E2E Testing Guide](https://github.com/Digital-Defiance/mcp-screenshot/blob/main/TESTING-E2E.md)** - ๐Ÿ‘‰ **[Docker Deployment Guide](https://github.com/Digital-Defiance/mcp-screenshot/blob/main/DOCKER-DEPLOYMENT.md)** - ๐Ÿ‘‰ **[API Reference](https://github.com/Digital-Defiance/mcp-screenshot/blob/main/API.md)** ### ๐Ÿ“ **3. MCP Filesystem** **Advanced file operations beyond basic I/O with strict security boundaries** **Repositories:** [MCP Filesystem](https://github.com/Digital-Defiance/ai-capabilities-suite/tree/main/packages/mcp-filesystem) | [VS Code Extension](https://github.com/Digital-Defiance/ai-capabilities-suite/tree/main/packages/vscode-mcp-acs-filesystem) [![NPM Package](https://img.shields.io/npm/v/@ai-capabilities-suite/mcp-filesystem?label=NPM&logo=npm)](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-filesystem) [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/v/DigitalDefiance.mcp-acs-filesystem?label=VS%20Code%20Extension&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-acs-filesystem) **โœจ Now available on NPM and VS Code Marketplace!** **The Problem:** AI agents needed advanced file operations beyond basic read/write, but without proper security boundaries, this posed significant risksโ€”path traversal attacks, unauthorized access to system files, and exposure of sensitive credentials. **The Solution:** AI agents now have **enterprise-grade filesystem operations** with 10 layers of security validation. From batch operations with atomic rollback to real-time directory watching, AI can now safely manage your workspace files. #### ๐Ÿ”ฅ Key Features **Advanced Operations:** - **Batch operations** - Execute multiple file operations atomically with rollback support - **Directory watching** - Monitor filesystem changes in real-time with event filtering - **File search & indexing** - Fast full-text search with metadata filtering - **Checksum operations** - Compute and verify file integrity (MD5, SHA-1, SHA-256, SHA-512) - **Symlink management** - Create and manage symbolic links within workspace boundaries - **Disk usage analysis** - Analyze directory sizes and identify large files - **Directory operations** - Recursive copy, sync, and atomic file replacement **Security (Defense-in-Depth):** - **Workspace jail** - All operations confined to configured workspace root - **10-layer path validation** - Multiple security checks prevent path traversal - **Hardcoded blocklists** - System paths and sensitive files always blocked (cannot be disabled) - **Rate limiting** - Configurable operation limits per minute - **Audit logging** - Complete operation tracking for compliance - **Platform-specific security** - Automatic OS-specific boundary enforcement #### ๐Ÿ› ๏ธ 12 Professional Filesystem Tools 1. **`fs_batch_operations`** - Execute multiple operations atomically with rollback 2. **`fs_watch_directory`** - Monitor directories for real-time changes 3. **`fs_get_watch_events`** - Retrieve accumulated filesystem events 4. **`fs_stop_watch`** - Stop watch sessions and clean up resources 5. **`fs_search_files`** - Search by name, content, or metadata 6. **`fs_build_index`** - Build searchable index for fast searching 7. **`fs_create_symlink`** - Create symbolic links within workspace 8. **`fs_compute_checksum`** - Compute file checksums for integrity verification 9. **`fs_verify_checksum`** - Verify file checksums match expected values 10. **`fs_analyze_disk_usage`** - Analyze disk usage and identify large files 11. **`fs_copy_directory`** - Recursively copy directories with options 12. **`fs_sync_directory`** - Sync directories by copying only newer/missing files #### ๐Ÿš€ Get Started **NPM Package:** ```bash npm install -g @ai-capabilities-suite/mcp-filesystem mcp-filesystem --config ./mcp-filesystem-config.json ``` **VS Code Extension:** - Search "MCP ACS Filesystem" in VS Code Extensions - Or visit: #### ๐ŸŽฏ Revolutionary Use Cases **"AI, backup all my TypeScript files"** ``` You: "Create atomic backup of all .ts files to backup folder" AI: *Uses batch operations with rollback* AI: "Backed up 47 TypeScript files (2.3 MB) atomically. All operations succeeded, no rollback needed." ``` **"AI, watch for changes and rebuild"** ``` You: "Watch src directory and notify me of changes" AI: *Starts directory watch with filters* AI: "Watching src/ recursively. Detected 3 changes: file1.ts modified, file2.ts created, file3.ts deleted." ``` **"AI, find all TODOs in the codebase"** ``` You: "Search for TODO comments in TypeScript files" AI: *Builds index and searches content* AI: "Found 23 TODO comments across 12 files. Most common: 'TODO: Add error handling' (5 occurrences)." ``` **"AI, verify file integrity"** ``` You: "Compute SHA-256 checksum for release.zip" AI: *Computes checksum* AI: "SHA-256: a3f5b8c2... File integrity verified against expected checksum." ``` **"AI, analyze disk usage"** ``` You: "What's taking up space in node_modules?" AI: *Analyzes disk usage* AI: "node_modules: 487 MB. Largest: webpack (45 MB), typescript (38 MB), @types/* (92 MB total)." ``` ๐Ÿ“š **Documentation:** - ๐Ÿ‘‰ **[MCP Filesystem Documentation](https://github.com/Digital-Defiance/ai-capabilities-suite/tree/main/packages/mcp-filesystem)** - ๐Ÿ‘‰ **[VS Code Extension Documentation](https://github.com/Digital-Defiance/ai-capabilities-suite/tree/main/packages/vscode-mcp-acs-filesystem)** - ๐Ÿ‘‰ **[Security Documentation](https://github.com/Digital-Defiance/ai-capabilities-suite/blob/main/packages/mcp-filesystem/SECURITY.md)** - ๐Ÿ‘‰ **[Docker Deployment Guide](https://github.com/Digital-Defiance/ai-capabilities-suite/blob/main/packages/mcp-filesystem/DOCKER.md)** ### โš™๏ธ **4. MCP ACS Process** **Enterprise-grade process management with strict security boundaries** **Repositories:** [MCP ACS Process](https://github.com/Digital-Defiance/mcp-process) | [VS Code Extension](https://github.com/Digital-Defiance/vscode-mcp-acs-process) [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/v/DigitalDefiance.mcp-acs-process?label=VS%20Code%20Extension&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-acs-process) [![VS Code Installs](https://img.shields.io/visual-studio-marketplace/i/DigitalDefiance.mcp-acs-process?label=Installs)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-acs-process) [![VS Code Rating](https://img.shields.io/visual-studio-marketplace/r/DigitalDefiance.mcp-acs-process?label=Rating)](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.mcp-acs-process) [![NPM Package](https://img.shields.io/npm/v/@ai-capabilities-suite/mcp-process?label=NPM&logo=npm)](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-process) [![Docker Image](https://img.shields.io/docker/v/digitaldefiance/mcp-process?label=Docker&logo=docker&sort=semver)](https://hub.docker.com/r/digitaldefiance/mcp-process) **โœจ Now available on NPM, Docker Hub, and VS Code Marketplace!** **The Problem:** AI agents couldn't safely manage system processes. They needed to run commands, monitor resources, and manage services, but without proper security boundaries, this posed significant risksโ€”command injection, resource exhaustion, and privilege escalation. **The Solution:** AI agents now have **enterprise-grade process management** with 6 layers of security validation. From launching processes with resource limits to managing long-running services with auto-restart, AI can now safely orchestrate your development environment. #### ๐Ÿ”ฅ Key Features **Process Management:** - **Process launching** with arguments and environment variables - **Resource monitoring** - Track CPU, memory, threads, and I/O in real-time - **Output capture** - Separate stdout and stderr streams - **Process termination** - Graceful (SIGTERM) and forced (SIGKILL) with timeout escalation - **Interactive processes** - Send stdin input and retrieve buffered output - **Timeout management** - Automatic termination after specified duration **Service Management:** - **Long-running services** with auto-restart capabilities - **Health checks** - Periodic validation of service health - **Restart policies** - Configurable retry limits and backoff strategies - **Service lifecycle** - Start, stop, restart, and monitor services **Process Groups:** - **Group management** - Organize related processes - **Pipeline creation** - Chain processes with stdout/stdin piping - **Batch operations** - Terminate entire groups at once **Security (Defense-in-Depth):** - **Executable allowlist** - Only pre-approved executables can run - **Argument validation** - Prevent command injection attacks - **Environment sanitization** - Remove dangerous environment variables - **Resource limits** - CPU, memory, and time constraints - **Privilege prevention** - Block setuid executables and privilege escalation - **Audit logging** - Complete operation tracking for compliance #### ๐Ÿ› ๏ธ 12 Professional Process Tools 1. **`process_start`** - Launch processes with arguments, environment, and resource limits 2. **`process_terminate`** - Graceful or forced termination with timeout escalation 3. **`process_get_stats`** - Real-time CPU, memory, thread, and I/O statistics 4. **`process_send_stdin`** - Send input to interactive processes 5. **`process_get_output`** - Retrieve captured stdout and stderr 6. **`process_list`** - List all managed processes with status 7. **`process_get_status`** - Detailed process state and uptime 8. **`process_create_group`** - Create process groups and pipelines 9. **`process_add_to_group`** - Add processes to groups 10. **`process_terminate_group`** - Terminate all processes in a group 11. **`process_start_service`** - Start long-running services with auto-restart 12. **`process_stop_service`** - Stop services and disable auto-restart #### ๐Ÿ”’ Enterprise Security **6 Layers of Security Validation:** 1. **Executable Allowlist** - Only approved executables can be launched - Supports absolute paths, basenames, and glob patterns - Blocks shell interpreters by default (bash, sh, cmd.exe) - Prevents setuid executable execution 2. **Argument Validation** - Prevents command injection - Validates all command-line arguments - Blocks shell metacharacters and injection patterns - Sanitizes special characters 3. **Environment Sanitization** - Removes dangerous variables - Strips LD_PRELOAD, LD_LIBRARY_PATH - Removes privilege escalation vectors - Validates environment variable names and values 4. **Resource Limits** - Prevents resource exhaustion - CPU percentage limits (per-process) - Memory limits (MB) - CPU time limits (seconds) - Automatic termination on limit exceeded 5. **Privilege Prevention** - No privilege escalation - Blocks sudo, su, pkexec - Prevents setuid executable execution - Enforces least-privilege principle 6. **Audit Logging** - Complete operation tracking - Logs all process operations - Records security violations - Tracks resource usage - Compliance-ready audit trail #### ๐Ÿ“Š Quality Metrics - **Comprehensive testing** with unit, integration, and E2E tests - **Security-first design** with defense-in-depth validation - **Production-ready** with graceful error handling - **Cross-platform** support (Linux, macOS, Windows) - **Docker deployment** with secure defaults #### ๐ŸŽฏ Revolutionary Use Cases **"AI, run my build and monitor resources"** ``` You: "Build the project and tell me if it uses too much memory" AI: *Launches build with resource limits, monitors in real-time* AI: "Build completed in 45s. Peak memory: 512MB (within limits). CPU averaged 65%." ``` **"AI, start my development services"** ``` You: "Start the API server and database with auto-restart" AI: *Starts services with health checks and restart policies* AI: "Started 2 services: api-server (PID 1234), postgres (PID 1235). Health checks enabled." ``` **"AI, create a data processing pipeline"** ``` You: "Process data.txt through grep, sort, and uniq" AI: *Creates process group with pipeline* AI: "Pipeline created: cat โ†’ grep โ†’ sort โ†’ uniq. Processing 10,000 lines..." ``` **"AI, debug this hanging process"** ``` You: "My script is stuck, what's it doing?" AI: *Gets process stats and output* AI: "Process consuming 100% CPU in infinite loop. Last output: 'Processing item 5000'. Shall I terminate it?" ``` **"AI, run tests with timeout"** ``` You: "Run the test suite but kill it if it takes more than 5 minutes" AI: *Launches tests with 5-minute timeout* AI: "Tests completed in 3m 42s. All 247 tests passed. Peak memory: 384MB." ``` #### ๐Ÿš€ Get Started **Docker (Recommended):** ```bash # Pull the image docker pull digitaldefiance/mcp-process:latest # Create configuration cat > config/mcp-process-config.json << EOF { "allowedExecutables": ["node", "python3", "npm"], "maxConcurrentProcesses": 10, "enableAuditLog": true } EOF # Run with docker-compose docker-compose up -d ``` **NPM:** ```bash # Install globally npm install -g @ai-capabilities-suite/mcp-process # Create config mcp-process --create-config ./mcp-process-config.json # Edit config to add allowed executables # Then start server mcp-process --config ./mcp-process-config.json ``` **Configuration Example:** ```json { "allowedExecutables": ["node", "python3", "npm", "git"], "defaultResourceLimits": { "maxCpuPercent": 80, "maxMemoryMB": 1024, "maxCpuTime": 300 }, "maxConcurrentProcesses": 10, "maxProcessLifetime": 3600, "enableAuditLog": true, "blockShellInterpreters": true, "blockSetuidExecutables": true, "allowProcessTermination": true, "allowForcedTermination": false } ``` ๐Ÿ“š **Documentation:** - ๐Ÿ‘‰ **[Complete process management documentation](https://github.com/Digital-Defiance/mcp-process)** - ๐Ÿ‘‰ **[Security implementation guide](https://github.com/Digital-Defiance/mcp-process/blob/main/SECURITY.md)** - ๐Ÿ‘‰ **[Docker deployment guide](https://github.com/Digital-Defiance/mcp-process/blob/main/DOCKER.md)** - ๐Ÿ‘‰ **[API reference and examples](https://github.com/Digital-Defiance/mcp-process/blob/main/README.md#mcp-tools)** --- ## ๐Ÿ—๏ธ Architecture: Built for the AI Era ### Multi-Platform Integration ``` โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ AI Agents & IDEs โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ VS Code โ”‚ โ”‚ Kiro โ”‚ โ”‚ Amazon Q โ”‚ โ”‚ โ”‚ โ”‚ + Copilot โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ LSP/DAP โ”‚ MCP Protocol โ”‚ MCP Protocol โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ AI Capability Extension Suite โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ MCP ACS Debugger โ”‚ โ”‚ โ”‚ โ”‚ โ€ข 25+ debugging tools โ”‚ โ”‚ โ”‚ โ”‚ โ€ข VS Code extension with LSP/DAP integration โ”‚ โ”‚ โ”‚ โ”‚ โ€ข Standalone MCP server for other agents โ”‚ โ”‚ โ”‚ โ”‚ โ€ข 94.53% test coverage, 1,059 tests โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ System Capabilities (In Development) โ”‚ โ”‚ โ”‚ โ”‚ โ€ข Screenshot โ€ข Recording โ€ข Filesystem โ€ข Process โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ Chrome DevTools Protocol, System APIs โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Your Development Environment โ”‚ โ”‚ โ€ข Node.js processes with Inspector Protocol โ”‚ โ”‚ โ€ข File system and process management โ”‚ โ”‚ โ€ข Screen capture and recording โ”‚ โ”‚ โ€ข Full system access with security controls โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ ``` ### Integration Paths **1. VS Code Extension (Native Integration)** - Language Server Protocol (LSP) for code intelligence - Debug Adapter Protocol (DAP) for debugging - GitHub Copilot integration for AI assistance - Zero configuration required **2. MCP Server (Universal Integration)** - Model Context Protocol for AI agent communication - Works with Kiro, Amazon Q, Claude Desktop, and other MCP clients - Flexible deployment (NPM, Docker, binaries) - Configurable via JSON --- ## ๐ŸŽฎ Revolutionary Use Cases ### ๐Ÿค– **"AI, debug and fix this issue"** ``` You: "My app crashes when processing large files" AI: *Starts debugger, sets breakpoints, profiles memory* AI: "Memory leak in line 156. Buffer not released. Here's the fix..." ``` ### ๐Ÿ“ธ **"AI, document this feature"** ``` You: "Create documentation for the new dashboard" AI: *Captures screenshots, analyzes UI, generates docs* AI: "Created comprehensive guide with 12 annotated screenshots..." ``` ### ๐ŸŽฅ **"AI, create a demo video"** ``` You: "Show how the authentication flow works" AI: *Records screen, adds annotations, exports video* AI: "Generated 2-minute demo with voiceover script..." ``` ### ๐Ÿ“ **"AI, organize my project files"** ``` You: "Restructure this codebase following best practices" AI: *Analyzes structure, moves files, updates imports* AI: "Reorganized 247 files into proper architecture..." ``` --- ## ๐Ÿ“ฆ Package Structure ### ๐Ÿ› Debugging Capabilities - **[mcp-debugger-core](https://github.com/Digital-Defiance/mcp-debugger-core)** - Core debugging engine with Chrome DevTools Protocol integration - **[mcp-debugger-server](https://github.com/Digital-Defiance/mcp-debugger-server)** - MCP server with 25+ professional debugging tools - Breakpoints, variable inspection, execution control - Performance profiling (CPU, memory, timeline) - Hang detection and infinite loop identification - TypeScript source map support - Enterprise security and compliance features - **94.53% test coverage** with 1,059 tests - See [DEBUGGER-README.md](./DEBUGGER-README.md) for full details ### ๐Ÿ–ฅ๏ธ System Capabilities - **[mcp-screenshot](https://github.com/Digital-Defiance/mcp-screenshot)** - Screen capture and image operations - **[mcp-process](https://github.com/Digital-Defiance/mcp-process)** - Process and application management with enterprise security - **[mcp-recording](https://github.com/Digital-Defiance/mcp-recording)** - Screen recording and video operations (Planned) - **[mcp-filesystem](https://github.com/Digital-Defiance/mcp-filesystem)** - Advanced file system operations (Planned) ### ๐ŸŽจ VS Code Extensions - **[vscode-mcp-debugger](https://github.com/Digital-Defiance/vscode-mcp-debugger)** - VS Code extension for MCP debugging - **[vscode-mcp-screenshot](https://github.com/Digital-Defiance/vscode-mcp-screenshot)** - VS Code extension for screenshot capture ## ๐Ÿš€ Getting Started ### Prerequisites - Node.js 18+ - Yarn (workspace support) - TypeScript 5+ ### Installation ```bash # Clone the repository git clone https://github.com/digital-defiance/ai-capabilities-suite.git cd ai-capabilities-suite # Install dependencies yarn install # Build all packages yarn build # Run tests yarn test ``` ### Quick Start: MCP ACS Debugger ```bash # Build debugger packages npx nx build mcp-debugger-core npx nx build mcp-debugger-server # Run debugger tests npx nx test mcp-debugger-core npx nx test mcp-debugger-server # Start debugger server node packages/mcp-debugger-server/dist/src/index.js ``` --- ## ๐Ÿ“‹ Development ### Build Commands ```bash # Build all packages yarn build # Build specific package npx nx build mcp-debugger-core npx nx build mcp-debugger-server npx nx build mcp-screenshot npx nx build mcp-core # Build with watch mode npx nx build mcp-screenshot --watch ``` ### Test Commands ```bash # Run all tests yarn test # Test specific package npx nx test mcp-debugger-core npx nx test mcp-debugger-server npx nx test mcp-screenshot # Test with coverage npx nx test mcp-debugger-core --coverage # Run tests in watch mode npx nx test mcp-screenshot --watch ``` ### Lint Commands ```bash # Lint all packages yarn lint # Lint specific package npx nx lint mcp-debugger-core ``` --- ## ๐Ÿ† Production Status & Distribution ### โœ… MCP ACS Debugger **Distribution Channels:** - โœ… **[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger)** - Native extension with Copilot integration - โœ… **[NPM Registry](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-debugger-server)** - Global installation via npm - โœ… **[Docker Hub](https://hub.docker.com/r/digitaldefiance/mcp-debugger-server)** - Containerized deployment - โœ… **[GitHub Releases](https://github.com/digital-defiance/ai-capabilities-suite/releases)** - Standalone binaries for all platforms - ๏ฟฝ **[MCP Registry** - Submission in progress for official Model Context Protocol registry **Quality Metrics:** - **25+ professional debugging tools** for AI agents - **Enterprise-grade** security, compliance, and observability - **94.53% test coverage** exceeding industry standards (target: 90%) - **83.45% branch coverage** approaching target (target: 85%) - **1,059 tests** with **99.81% pass rate** (1,050 passed, 2 flaky, 7 skipped) - **Production-ready** with graceful shutdown, circuit breakers, retry logic - **Cross-platform** support (Linux, macOS, Windows) - **Node.js compatibility** tested on versions 16, 18, 20, 22 - **TypeScript compatibility** tested on versions 4.x and 5.x **Enterprise Features:** - ๐Ÿ”’ **Security**: Authentication, rate limiting, PII masking, audit logging - ๐Ÿ“Š **Observability**: Structured logging, metrics collection, health checks - ๐Ÿš€ **Performance**: CPU/memory profiling, performance timeline analysis - ๐Ÿ›ก๏ธ **Reliability**: Circuit breakers, retry logic, graceful shutdown - ๐Ÿ“ˆ **Scalability**: Load tested with 100+ concurrent debug sessions **Documentation:** - ๐Ÿ‘‰ **[VS Code Extension Guide](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger)** - ๐Ÿ‘‰ **[Complete debugger documentation](./DEBUGGER-README.md)** - ๐Ÿ‘‰ **[Production status report](./DEBUGGER-STATUS.md)** - ๐Ÿ‘‰ **[Installation guide](./packages/mcp-debugger-server/INSTALLATION.md)** - ๐Ÿ‘‰ **[API reference](./packages/mcp-debugger-server/docs/)** ### ๐Ÿ› ๏ธ System Capabilities - **mcp-debugger**: 25+ debugging tools with performance profiling, hang detection, advanced breakpoints - **mcp-screenshot**: Screenshot capture with multiple formats (PNG, JPG, WebP) - **mcp-process**: Process management with enterprise security - **mcp-recording**: Screen recording with video encoding and frame extraction - **Planned** - **mcp-filesystem**: Advanced file operations beyond basic read/write - **Planned** --- ## ๐Ÿ“š Documentation ### Getting Started - **[VS Code Extension Guide](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger)** - Installation and usage for VS Code - **[Quick Start Guide](./packages/mcp-debugger-server/INSTALLATION.md)** - Get up and running in 5 minutes - **[Configuration Guide](./packages/mcp-debugger-server/docs/configuration.md)** - Customize for your workflow - **[Troubleshooting Guide](./packages/mcp-debugger-server/docs/troubleshooting.md)** - Common issues and solutions ### Main Documentation - **[README.md](./README.md)** - This file (suite overview) - **[DEBUGGER-README.md](./DEBUGGER-README.md)** - Complete debugger documentation - **[DEBUGGER-STATUS.md](./DEBUGGER-STATUS.md)** - Production readiness report - **[MIGRATION-SUMMARY.md](./MIGRATION-SUMMARY.md)** - Migration documentation - **[MIGRATION-COMPLETE.md](./MIGRATION-COMPLETE.md)** - Migration completion guide ### Debugger Specs & Tasks - **[.kiro-debugger/specs/](./kiro-debugger/specs/)** - Complete specifications - **[.kiro-debugger/specs/mcp-debugger-tool/requirements.md](./.kiro-debugger/specs/mcp-debugger-tool/requirements.md)** - EARS-formatted requirements - **[.kiro-debugger/specs/mcp-debugger-tool/design.md](./.kiro-debugger/specs/mcp-debugger-tool/design.md)** - Architecture and design - **[.kiro-debugger/specs/mcp-debugger-tool/tasks.md](./.kiro-debugger/specs/mcp-debugger-tool/tasks.md)** - Detailed task breakdown ### Package Documentation - **[mcp-debugger-core](https://github.com/Digital-Defiance/mcp-debugger-core)** - Core debugging engine - **[mcp-debugger-server](https://github.com/Digital-Defiance/mcp-debugger-server)** - MCP server - **[mcp-screenshot](https://github.com/Digital-Defiance/mcp-screenshot)** - Screenshot capture server - **[mcp-filesystem](https://github.com/Digital-Defiance/mcp-filesystem)** - Filesystem operations server - **[mcp-process](https://github.com/Digital-Defiance/mcp-process)** - Process management server - **[mcp-recording](https://github.com/Digital-Defiance/mcp-recording)** - Recording and playback server - **[vscode-mcp-debugger](https://github.com/Digital-Defiance/vscode-mcp-debugger)** - VS Code debugging extension - **[vscode-mcp-screenshot](https://github.com/Digital-Defiance/vscode-mcp-screenshot)** - VS Code screenshot extension ### API Reference - **[MCP Tools Reference](./packages/mcp-debugger-server/docs/tools.md)** - All 25+ debugging tools - **[CDP Protocol Reference](./packages/mcp-debugger-core/docs/cdp.md)** - Chrome DevTools Protocol integration - **[LSP/DAP Reference](./packages/vscode-mcp-debugger/docs/protocols.md)** - Language Server and Debug Adapter protocols --- ## ๐Ÿค Contributing We welcome contributions! This project follows a spec-driven development approach: 1. **Requirements** documented in EARS format 2. **Design** includes formal correctness properties 3. **Implementation** follows detailed task plans 4. **Testing** with property-based tests and comprehensive coverage 5. **Quality gates** - all tests must pass before merging ### How to Contribute 1. Fork the repository 2. Create a feature branch (`git checkout -b feature/amazing-feature`) 3. Make your changes with tests 4. Ensure all tests pass (`yarn test`) 5. Commit your changes (`git commit -m 'Add amazing feature'`) 6. Push to the branch (`git push origin feature/amazing-feature`) 7. Open a Pull Request --- ## ๐Ÿ‘ฅ Team **Digital Defiance** - ๐Ÿ“ง Email: [info@digitaldefiance.org](mailto:info@digitaldefiance.org) - ๐Ÿšจ Security: [SECURITY.md](./SECURITY.md) - ๐Ÿ”— LinkedIn: [Digital Defiance](https://www.linkedin.com/company/digital-defiance) - ๐ŸŒ Website: [digitaldefiance.org](https://digitaldefiance.org) --- ## ๐Ÿ“„ License MIT License - See [LICENSE](./LICENSE) for details --- ## ๐ŸŽ‰ Join the Revolution **We're building the foundation for AI-powered development workflows.** By giving AI agents professional-grade capabilities, we're creating a future where: - โœ… **Bugs are investigated automatically** while you focus on features - โœ… **Documentation is generated** from actual system behavior - โœ… **Demos are created** with a single command - โœ… **Code is organized** following best practices automatically - โœ… **Junior developers have access** to senior-level expertise **This isn't just a tool suiteโ€”it's the future of software development.** --- ## ๐Ÿš€ Quick Start Options ### For VS Code Users (Recommended) ```bash # Install from VS Code Marketplace code --install-extension digitaldefiance.ts-mcp-debugger # Or search "MCP ACS Debugger" in VS Code Extensions ``` ### For Other AI Agents (Kiro, Amazon Q, Claude) ```bash # Install globally via NPM npm install -g @ai-capabilities-suite/mcp-debugger-server # Or use Docker docker run -p 3000:3000 digitaldefiance/mcp-debugger-server # Or download standalone binary from GitHub Releases ``` ### For Contributors & Developers ```bash # Clone and build from source git clone https://github.com/digital-defiance/ai-capabilities-suite.git cd ai-capabilities-suite yarn install && yarn build && yarn test ``` --- ## ๐Ÿ“Š Project Statistics - **Total Packages:** 10 (5 production, 5 in development) - **Total Tests:** 1,059 tests across all packages - **Test Pass Rate:** 99.81% (1,050 passed, 2 flaky, 7 skipped) - **Code Coverage:** 94.53% lines, 83.45% branches - **Lines of Code:** 15,000+ lines of production code - **Documentation:** 10,000+ lines of comprehensive documentation - **Supported Platforms:** Linux, macOS, Windows - **Node.js Versions:** 16, 18, 20, 22 - **TypeScript Versions:** 4.x, 5.x --- ## ๐ŸŒŸ Why Choose This Suite? **1. Production-Ready Quality** - Enterprise-grade testing with 94.53% coverage - Property-based testing with 22 correctness properties - Load testing with 100+ concurrent sessions - Chaos testing for reliability validation - Security testing for vulnerability detection **2. Multiple Integration Options** - Native VS Code extension with zero configuration - Standalone MCP server for universal AI agent support - Docker containers for easy deployment - Standalone binaries for no-install usage **3. Comprehensive Feature Set** - 25+ debugging tools (most comprehensive in MCP ecosystem) - Performance profiling (CPU, memory, timeline) - Advanced breakpoint types (logpoints, exception, hit count, function) - Enterprise security (authentication, rate limiting, PII masking) - Production readiness (graceful shutdown, circuit breakers, retry logic) **4. Active Development & Support** - Regular updates and new features - Responsive issue tracking on GitHub - Comprehensive documentation and examples - Community-driven development **5. Open Source & Extensible** - MIT License - use freely in any project - Well-documented codebase for contributions - Modular architecture for easy extension - Active community contributions welcome --- ## ๐Ÿ’ฌ Community & Support **Get Help:** - ๐Ÿ“– [Documentation](./DEBUGGER-README.md) - ๐Ÿ› [Issue Tracker](https://github.com/digital-defiance/ai-capabilities-suite/issues) - ๐Ÿ’ฌ [Discussions](https://github.com/digital-defiance/ai-capabilities-suite/discussions) - ๐Ÿ“ง [Email Support](mailto:info@digitaldefiance.org) **Stay Updated:** - โญ Star this repository for updates - ๐Ÿ‘€ Watch for new releases - ๐Ÿฆ Follow us on social media (coming soon) - ๐Ÿ“ฐ Subscribe to our newsletter (coming soon) **Contribute:** - ๐Ÿ”ง Submit pull requests - ๐Ÿ› Report bugs and issues - ๐Ÿ’ก Suggest new features - ๐Ÿ“ Improve documentation - ๐Ÿงช Add test coverage --- ## ๐Ÿ… Recognition & Achievements ### VS Code Marketplace - **โœ… Published Extension** - [MCP ACS TypeScript Debugger](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) - **๐ŸŽฏ Zero Configuration** - Works immediately after installation - **๐Ÿค– Copilot Integration** - First MCP debugger with native Copilot support - **๐ŸŒ Multi-Language** - VS Code extension supports all languages; MCP server supports Node.js/JavaScript - **๐Ÿ“ฆ Professional Quality** - Enterprise-grade extension with comprehensive testing ### Distribution Channels - **โœ… VS Code Marketplace** - Native extension for VS Code users - **โœ… NPM Registry** - Global installation via `npm install -g` - **โœ… Docker Hub** - Containerized deployment for production - **โœ… GitHub Releases** - Standalone binaries for all platforms - **๐Ÿ”„ MCP Registry** - Official Model Context Protocol registry (submission in progress) - **๐Ÿ”„ Homebrew** - macOS package manager (formula in progress) ### Quality Metrics - **๐Ÿ† 94.53% Test Coverage** - Exceeding industry standard of 90% - **โœ… 1,059 Tests** - Comprehensive test suite with 99.81% pass rate - **๐Ÿ”’ Enterprise Security** - Authentication, rate limiting, PII masking, audit logging - **๐Ÿ“Š Production Ready** - Graceful shutdown, circuit breakers, retry logic - **๐ŸŒ Cross-Platform** - Linux, macOS, Windows support - **๐Ÿ”ง Multi-Version** - Node.js 16-22, TypeScript 4.x-5.x compatibility ### Community Impact - **Model Context Protocol Ecosystem** - Contributing to the MCP standard - **Open Source Excellence** - MIT License, well-documented codebase - **Community Driven** - Built with feedback from developers worldwide - **Active Development** - Regular updates and new features - **Responsive Support** - GitHub issues, discussions, and email support --- --- ## ๐ŸŽฏ Ready to Get Started? ### For VS Code Users (Recommended) **Install the extension in 3 ways:** 1. **From VS Code:** - Open Extensions (Ctrl+Shift+X / Cmd+Shift+X) - Search "MCP ACS Debugger" - Click Install 2. **From Command Line:** ```bash code --install-extension digitaldefiance.ts-mcp-debugger ``` 3. **From Marketplace:** - Visit [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) - Click "Install" ### For Other AI Agents **Choose your installation method:** ```bash # NPM (Global installation) npm install -g @digitaldefiance/mcp-debugger-server # Docker (Containerized) docker run -p 3000:3000 digitaldefiance/mcp-debugger-server # Homebrew (macOS - coming soon) brew install digitaldefiance/tap/mcp-debugger-server # Download Binary (No installation) # Visit: https://github.com/digital-defiance/ai-capabilities-suite/releases ``` ### For Contributors ```bash # Clone and build from source git clone https://github.com/digital-defiance/ai-capabilities-suite.git cd ai-capabilities-suite yarn install && yarn build && yarn test ``` --- ## ๐Ÿ“Š Installation Statistics [![VS Code Extension](https://img.shields.io/visual-studio-marketplace/v/digitaldefiance.ts-mcp-debugger?label=VS%20Code%20Extension&logo=visual-studio-code&style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) [![VS Code Installs](https://img.shields.io/visual-studio-marketplace/i/digitaldefiance.ts-mcp-debugger?label=Installs&logo=visual-studio-code&style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) [![VS Code Rating](https://img.shields.io/visual-studio-marketplace/r/digitaldefiance.ts-mcp-debugger?label=Rating&logo=visual-studio-code&style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=digitaldefiance.ts-mcp-debugger) [![NPM Package](https://img.shields.io/npm/v/@ai-capabilities-suite/mcp-debugger-server?label=NPM&logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-debugger-server) [![NPM Downloads](https://img.shields.io/npm/dm/@ai-capabilities-suite/mcp-debugger-server?label=Downloads&logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@ai-capabilities-suite/mcp-debugger-server) [![Docker Image](https://img.shields.io/docker/v/digitaldefiance/mcp-debugger-server?label=Docker&logo=docker&sort=semver&style=for-the-badge)](https://hub.docker.com/r/digitaldefiance/mcp-debugger-server) [![Docker Pulls](https://img.shields.io/docker/pulls/digitaldefiance/mcp-debugger-server?label=Pulls&logo=docker&style=for-the-badge)](https://hub.docker.com/r/digitaldefiance/mcp-debugger-server) [![GitHub Release](https://img.shields.io/github/v/release/digitaldefiance/ai-capabilities-suite?label=Release&logo=github&style=for-the-badge)](https://github.com/digital-defiance/ai-capabilities-suite/releases) [![GitHub Downloads](https://img.shields.io/github/downloads/digitaldefiance/ai-capabilities-suite/total?label=Downloads&logo=github&style=for-the-badge)](https://github.com/digital-defiance/ai-capabilities-suite/releases) [![License](https://img.shields.io/github/license/digitaldefiance/ai-capabilities-suite?style=for-the-badge)](./LICENSE) [![Test Coverage](https://img.shields.io/badge/coverage-94.53%25-brightgreen?logo=jest&style=for-the-badge)](./DEBUGGER-STATUS.md) [![Tests](https://img.shields.io/badge/tests-1059%20passed-brightgreen?logo=jest&style=for-the-badge)](./DEBUGGER-STATUS.md) --- ## ๐Ÿ”— Individual Package Repositories ### Core MCP Servers - **[mcp-debugger-core](https://github.com/Digital-Defiance/mcp-debugger-core)** - Core debugging engine with Chrome DevTools Protocol - **[mcp-debugger-server](https://github.com/Digital-Defiance/mcp-debugger-server)** - MCP debugging server with 25+ tools - **[mcp-screenshot](https://github.com/Digital-Defiance/mcp-screenshot)** - Screenshot capture server with PII masking - **[mcp-filesystem](https://github.com/Digital-Defiance/mcp-filesystem)** - Advanced filesystem operations server - **[mcp-process](https://github.com/Digital-Defiance/mcp-process)** - Process management and monitoring server - **[mcp-recording](https://github.com/Digital-Defiance/mcp-recording)** - Screen recording and playback server ### VS Code Extensions - **[vscode-mcp-debugger](https://github.com/Digital-Defiance/vscode-mcp-debugger)** - VS Code debugging extension with Copilot integration - **[vscode-mcp-screenshot](https://github.com/Digital-Defiance/vscode-mcp-screenshot)** - VS Code screenshot extension with LSP features - **[vscode-mcp-acs-process](https://github.com/Digital-Defiance/vscode-mcp-acs-process)** - VS Code process management extension with LSP features ### Main Links - **Homepage**: [digitaldefiance.org](https://digitaldefiance.org) - **Main Repository**: [ai-capabilities-suite](https://github.com/digital-defiance/ai-capabilities-suite) - **Organization**: [Digital-Defiance](https://github.com/Digital-Defiance) - **NPM Packages**: [@ai-capabilities-suite](https://www.npmjs.com/org/ai-capabilities-suite) - **Docker Hub**: [digitaldefiance](https://hub.docker.com/u/digitaldefiance) - **Issues**: [GitHub Issues](https://github.com/digital-defiance/ai-capabilities-suite/issues) - **Discussions**: [GitHub Discussions](https://github.com/digital-defiance/ai-capabilities-suite/discussions) --- _Built with โค๏ธ by the Digital Defiance team using Amazon Kiro, TypeScript, and the Model Context Protocol_ **Ready to give your AI agent superpowers? Install now! ๐Ÿš€** --- ## ๐Ÿ”ง Kiro MCP Configuration ### Quick Setup for Kiro Users Configure Kiro to use the AI Capability Extension Suite MCP servers by editing `~/.kiro/settings/mcp.json`: ```json { "mcpServers": { "mcp-screenshot": { "command": "npx", "args": ["-y", "@ai-capabilities-suite/mcp-screenshot"] }, "mcp-process": { "command": "npx", "args": [ "-y", "@ai-capabilities-suite/mcp-process", "--config", "./mcp-process-config.json" ] }, "mcp-debugger": { "command": "npx", "args": ["-y", "@ai-capabilities-suite/mcp-debugger-server"] } } } ``` ### MCP ACS Process Configuration Create `mcp-process-config.json` in your project directory or home directory: ```json { "allowedExecutables": ["node", "python3", "npm", "yarn", "git"], "defaultResourceLimits": { "maxCpuPercent": 80, "maxMemoryMB": 1024, "maxCpuTime": 300 }, "maxConcurrentProcesses": 10, "maxProcessLifetime": 3600, "enableAuditLog": true, "blockShellInterpreters": true, "blockSetuidExecutables": true, "allowProcessTermination": true, "allowForcedTermination": false } ``` > **Note:** The config file requirement for mcp-process will be removed in an upcoming release, making it optional with sensible defaults. ### Prerequisites **For Linux users (Ubuntu/Debian):** ```bash # Install Python setuptools for native dependencies sudo apt-get install -y python3-setuptools build-essential ``` **For macOS users:** ```bash # Install Xcode Command Line Tools xcode-select --install ``` **For Windows users:** ```powershell # Install Visual Studio Build Tools # Download from: https://visualstudio.microsoft.com/downloads/ ``` ### Alternative: Global Installation If you prefer global installation over npx: ```bash # Install all three servers globally npm install -g @ai-capabilities-suite/mcp-screenshot npm install -g @ai-capabilities-suite/mcp-process npm install -g @ai-capabilities-suite/mcp-debugger-server # Then use direct commands in mcp.json { "mcpServers": { "mcp-screenshot": { "command": "mcp-screenshot" }, "mcp-process": { "command": "mcp-process", "args": ["--config", "./mcp-process-config.json"] }, "mcp-debugger": { "command": "mcp-debugger" } } } ``` ### Verification After configuration, restart Kiro and verify the servers are connected: ``` You: "List available MCP tools" Kiro: *Shows tools from mcp-screenshot, mcp-process, and mcp-debugger* ``` ### Troubleshooting **Connection issues:** - Ensure Node.js 18+ is installed: `node --version` - Check Python setuptools: `python3 -c "import setuptools"` - Verify packages are published: `npm view @ai-capabilities-suite/mcp-screenshot` **Native dependency errors:** - Install build tools (see Prerequisites above) - Clear npm cache: `npm cache clean --force` - Reinstall with: `npm install -g --force @ai-capabilities-suite/mcp-screenshot` **Config file not found:** - Use absolute path to config file in mcp.json - Verify file exists: `ls -la ./mcp-process-config.json` - Check JSON syntax: `cat mcp-process-config.json | jq` --- ### ๐ŸŽฏ **Akira** **Spec-driven development powered by GitHub Copilot and MCP** **Repository:** [Akira](https://github.com/Digital-Defiance/akira) **The Problem:** Traditional AI-assisted development lacks structureโ€”requirements are vague, designs are inconsistent, and implementation happens without proper planning. AI agents generate code without understanding the full context or ensuring correctness. **The Solution:** Akira brings **professional software engineering methodology** to AI-assisted development. Using the Easy Approach to Requirements Syntax (EARS) and INCOSE quality rules, Akira guides AI through a structured workflow: Requirements โ†’ Design โ†’ Tasks โ†’ Execution. With Model Context Protocol (MCP) integration, specifications persist across chat sessions, ensuring consistency and enabling property-based testing. #### ๐ŸŽจ Key Features **Structured Spec-Driven Workflow:** - **Requirements Phase** - Generate EARS-compliant requirements with INCOSE validation - **Design Phase** - Create technical designs with correctness properties - **Tasks Phase** - Generate actionable implementation plans with proper hierarchy - **Execution Phase** - Execute tasks with full context from requirements and design **Advanced Requirements Engineering:** - **EARS Compliance** - All requirements follow one of six EARS patterns - **INCOSE Quality Rules** - Automatic validation against semantic quality standards - **Glossary Management** - Automatic extraction and definition of technical terms - **User Story Structure** - Consistent format with 2-5 acceptance criteria per requirement **Property-Based Testing Integration:** - **Correctness Properties** - Generate testable properties from acceptance criteria - **Universal Quantification** - Properties formatted with explicit "For any" statements - **Round-Trip Properties** - Automatic detection for parsing/serialization requirements - **Test Library Integration** - Support for fast-check and other PBT libraries **Model Context Protocol (MCP) Integration:** - **Persistent Context** - Spec documents remain accessible across chat sessions - **Structured Tools** - Programmatic access to spec operations via MCP tools - **State Management** - Track workflow progress and task completion - **File Operations** - Read, write, and update spec documents through MCP #### ๐Ÿ› ๏ธ Workflow Phases 1. **Requirements** - Generate user stories with EARS patterns and INCOSE validation 2. **Design** - Create technical design with correctness properties for PBT 3. **Tasks** - Generate actionable implementation plan with 2-level hierarchy 4. **Execution** - Execute tasks with full context loading and status tracking #### ๐ŸŽฏ Revolutionary Use Cases **"AI, create a spec for user authentication"** ``` You: "@spec create user-authentication" AI: *Generates EARS-compliant requirements* AI: "Created spec with 8 requirements (5 ubiquitous, 2 event-driven, 1 state-driven). All requirements validated against INCOSE rules. Ready for design phase." ``` **"AI, generate correctness properties"** ``` You: "@spec approve requirements user-auth" AI: *Moves to design phase, extracts properties* AI: "Generated 12 correctness properties: - For any valid credentials, login succeeds - For any expired token, re-authentication required - For any user, password hash is irreversible Ready for implementation." ``` **"AI, execute the implementation plan"** ``` You: "@spec execute user-auth" AI: *Loads full context, executes tasks* AI: "Executing task 1.1: Implement password hashing... โœ… Implemented with bcrypt โœ… Added property test: password hashing is one-way Moving to task 1.2..." ``` #### ๐Ÿš€ Get Started **Install from VS Code:** 1. Search "Akira" in VS Code Extensions 2. Or visit: [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=DigitalDefiance.akira) _(Coming Soon)_ **Usage with GitHub Copilot:** ``` # Create a new spec @spec create feature-name # List all specs @spec list # Execute tasks @spec execute feature-name # Approve workflow phases @spec approve requirements feature-name @spec approve design feature-name @spec approve tasks feature-name ``` ๐Ÿ“š **Documentation:** - ๐Ÿ‘‰ **[Akira Documentation](https://github.com/Digital-Defiance/akira)** - ๐Ÿ‘‰ **[EARS Patterns Guide](https://github.com/Digital-Defiance/akira/blob/main/docs/ears-patterns.md)** - ๐Ÿ‘‰ **[Workflow Guide](https://github.com/Digital-Defiance/akira/blob/main/docs/workflow.md)**