Skip to content

Bring LSP diagnostics up and out to an MCP server consumable by any MCP client #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from

Conversation

AdjectiveAllison
Copy link

@AdjectiveAllison AdjectiveAllison commented Apr 26, 2025

  • Used existing code where possible.
  • Changed output format of tool to use relative paths if the LLM uses relative paths, otherwise stick with full length
  • Wrote tests

This was mostly slopped together so I could get lsp diagnostics in other MCP Clients while I wait for this to mature a bit more. Happy to change anything if desired. The MD is pretty slop, I can clean that up before merge for sure. I was planning on adding more tools to the MCP-exposed server as they become available to the LSP portion. I kept the .opencode.json format so that the server can use the same config files as the primary tool regardless of where it's called from.

Love the work you've put into this thus far! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant