Commit f76ffa5
committed
feat(mcp-server): update to use centralized storage
Update MCP server to use centralized storage paths for repository
indexes and GitHub state.
Implementation:
- Updated dev-agent-mcp.ts to use getStoragePath() and getStorageFilePaths()
- MCP server now uses centralized ~/.dev-agent/indexes/{repo-hash}/ structure
- Added infrastructure for lazy loading (prefixed with _ for future use)
- Updated RepositoryIndexer and GitHubIndexer to use centralized paths
Features:
- Centralized storage for all indexed repositories
- Lazy loading infrastructure (foundation for future optimization)
- Consistent storage paths across CLI and MCP server
Testing:
- MCP server updated and verified
- Storage path resolution working correctly
Issue: #521 parent a6535f1 commit f76ffa5
File tree
4 files changed
+705
-8
lines changed- packages
- cli/src/commands
- mcp-server/bin
- scripts
4 files changed
+705
-8
lines changed
0 commit comments