3 ms·
> Personally, I upvoted this because I wanted to do something similar for a long time but never got around to it. It's much easier to give your agents the LSP
by verdverm 7mo ago
> Personally, I upvoted this because I wanted to do something similar for a long time but never got around to it.
It's much easier to give your agents the LSP for the language(s) it's working on.
A project that turns them into MCP: https://github.com/isaacphi/mcp-language-server https://github.com/isaacphi/mcp-language-server
- lowbloodsugar 7mo agoEasier, sure.
- verdverm 7mo agoLSP has many more "functions" that are useful to agents, such as rename and get definition/usage. Some basic differences described here: https://news.ycombinator.com/item?id=30664671 https://news.ycombinator.com/item?id=30664671 More in depth: https://lambdaland.org/posts/2026-01-21_tree-sitter_vs_lsp/ https://lambdaland.org/posts/2026-01-21_tree-sitter_vs_lsp/ Claude Code's instructions for LSP: https://github.com/Piebald-AI/claude-code-system-prompts/blob/main/system-prompts/tool-description-lsp.md https://github.com/Piebald-AI/claude-code-system-prompts/blo... I'm not convinced that ASTs are meaningfully helpful in the grand scheme and the long-run. LSPs and code intelligence I find useful as a human and for my coding agent.