🎯 Overview
Enable per-project MCP adapter configuration and discovery with automatic Cursor integration, centralized storage, and a unified CLI experience.
Key Insight: Users install @lytics/dev-agent globally once, then configure adapters per-project. Each project's .dev-agent/config.json defines which adapters to load, and dev-agent mcp init automatically adds the project to Cursor's MCP config.
🏗️ Architecture
Core Components
- Centralized Storage - All repository indexes stored globally in
~/.dev-agent/indexes/ (enables cross-repo search, clean project dirs)
- Project Configuration - Per-project
.dev-agent/config.json defines adapters and settings
- Adapter Discovery - Automatic discovery and loading of built-in, npm, and local adapters
- CLI Management - Unified commands for MCP setup and adapter management
User Flow
# One-time global install
npm install -g @lytics/dev-agent
# Per-project setup
cd my-project
dev-agent init # Create config + index repository
dev-agent mcp init # Add to Cursor MCP config
dev-agent adapter install @company/mcp-adapter-jira # Install custom adapter
📋 Sub-Issues
This epic is broken down into three focused sub-issues:
✅ Success Criteria
🔗 Related Issues
Estimate: 3-4 days (across 3 sub-issues)
Priority: High (blocks documentation and release)
Milestone: v1.0 - MCP Integration Complete
🎯 Overview
Enable per-project MCP adapter configuration and discovery with automatic Cursor integration, centralized storage, and a unified CLI experience.
Key Insight: Users install
@lytics/dev-agentglobally once, then configure adapters per-project. Each project's.dev-agent/config.jsondefines which adapters to load, anddev-agent mcp initautomatically adds the project to Cursor's MCP config.🏗️ Architecture
Core Components
~/.dev-agent/indexes/(enables cross-repo search, clean project dirs).dev-agent/config.jsondefines adapters and settingsUser Flow
📋 Sub-Issues
This epic is broken down into three focused sub-issues:
✅ Success Criteria
dev-agent init && dev-agent mcp initto fully configure a projectdev-agent adapter install~/.cursor/mcp.jsonrequired🔗 Related Issues
Estimate: 3-4 days (across 3 sub-issues)
Priority: High (blocks documentation and release)
Milestone: v1.0 - MCP Integration Complete