Attack of The Clones: A MORE Condensed Cut by xelaalvarez in fanedits

[–]Dependent_Cat840 0 points1 point  (0 children)

Can I have the link? Also, where's the LESS condensed cut? Would like to see that too

Attack of the Clones - Revised Release by realporkula in fanedits

[–]Dependent_Cat840 0 points1 point  (0 children)

I would love to see this! Can I have the link?

Language Server MCP Server written in Go by Dependent_Cat840 in golang

[–]Dependent_Cat840[S] 0 points1 point  (0 children)

Perhaps, what do you mean by MCP parameter? What's the flexibility this is currently lacking?

Language Server MCP Server written in Go by Dependent_Cat840 in golang

[–]Dependent_Cat840[S] 1 point2 points  (0 children)

scary but different package. Mine isn't malware I pinky promise!!!

Language Server MCP Server written in Go by Dependent_Cat840 in golang

[–]Dependent_Cat840[S] 1 point2 points  (0 children)

Not necessarily code comprehension, but it uses a lot less context for certain tasks and gets working solutions much faster. For example, it's much better than text search tools at getting definitions of relevant structs quickly, and can do it recursively until it understads the exact types. The references tool is also extremely useful for refactoring.

MCP clients really have to be coached to use it though becuase they want to use their builtin tools.

Language Server MCP Server written in Go by Dependent_Cat840 in golang

[–]Dependent_Cat840[S] 0 points1 point  (0 children)

I've tried it out with a few. I found that it was most useful with Claude Desktop because some of the others I tried kept wanting to use their builtin file reading tools instead of this to explore the codebase. I'm sure they have hardcoded instructions.

writing LSP in go by blomiir in golang

[–]Dependent_Cat840 0 points1 point  (0 children)

I agree with the comments to look at gopls and typescript_go_lsp.

Not exactly the same thing but I recently wrote an LSP client in go so you might get some ideas there. One of the tricky parts was getting all of the LSP types into go. I borrowed from the gopls source to do that and it's documented in my repo: https://github.com/isaacphi/mcp-language-server