-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Objective
Integrate Serena coding agent toolkit as an optional MCP (Model Context Protocol) server in amplihack.
Context
Serena (https://github.com/oraios/serena) provides:
- Symbol-level code navigation via LSP
- Supports 30+ programming languages
- Tools:
find_symbol,find_referencing_symbols,insert_after_symbol - MCP server compatible with Claude Code
- Install:
uvx --from git+https://github.com/oraios/serena
Requirements
Prerequisites:
- Detect
uvpackage manager - Validate Serena installation
- Platform-specific guidance
Installation:
- NEVER auto-install (security)
- Clear installation commands
- Success/failure detection
Configuration:
- Platform-specific MCP config location
- Preserve existing MCP servers
- JSON validation
Integration:
- Serena tools via MCP
- Graceful degradation
- Usage logging
Implementation Phases
- Detection & Prerequisites (4h)
- Installation Workflow (6h)
- Configuration Management (6h)
- Runtime Integration (4h)
- Testing & Documentation (8h)
Acceptance Criteria
- Detects
uvavailability - MCP config works cross-platform
- Agents discover Serena tools
- Graceful when unavailable
- Clear error diagnostics
- 60+ tests (60/30/10 pyramid)
Technical
Module: src/amplihack/integrations/serena.py
Tests: Platform coverage (Linux/macOS/Windows/WSL)
Docs: Integration guide with examples
Complexity: Medium (1-3 days)
Metadata
Metadata
Assignees
Labels
No labels