forked from isaacphi/mcp-language-server
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Thanks for continuing to work on this repo. I think this has tremendous potential! :)
Here's some "feedback" from claude itself. Thought it might be useful:
⎿ Critical Assessment of LSP MCP Server
After testing the LSP MCP tools, here's my critical assessment:
Strengths:
- Real-time diagnostics - Immediately useful for catching import and type errors
- Symbol navigation - Definition lookup works well for jumping to implementations
- Call hierarchy - Callers/callees provide good code flow understanding
- Type information - Hover gives quick type hints
Significant Limitations:
- Token limit issues - The references tool often exceeds token limits for common symbols (e.g., "generate" returned 43K+ tokens)
- No filtering/pagination - Can't limit scope when searching references
- Basic hover info - Only shows type, no docstrings or signatures
- Limited compared to existing tools - Grep/Glob are often more practical
Comparison with Existing Tools:
LSP definition vs Grep/Read:
- LSP: Precise symbol resolution
- Grep/Read: More flexible, works with any text pattern
LSP references vs Grep:
- LSP: Semantic understanding but hits token limits
- Grep: Faster, more predictable, supports filtering
LSP diagnostics vs Running tests/linters:
- LSP: Instant feedback without execution
- Tests: Actual runtime validation
Verdict: Moderately Useful but Needs Improvements
The LSP tools are helpful supplements but don't replace existing tools. Key improvements needed:
- Add pagination/filtering to references
- Include docstrings in hover
- Support scope limiting (e.g., "references in /tests only")
- Better token management
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels