Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



Easier, sure.


LSP 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

More in depth: 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/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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: