Add Claude Code MCP and LSP configuration#28
Merged
Conversation
Configure gopls as an MCP server and LSP for Go files to enable Claude Code's Go language tooling integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds two Claude Code configuration files to the repository: a shared MCP server config pointing gopls as an MCP server, and an LSP config pointing gopls as the Go language server. These are developer-tooling configs that help Claude Code integrate with gopls for better Go code awareness when contributors use Claude Code in this repository.
Changes:
- Add
.mcp.jsonto registergoplsas an MCP server for Claude Code. - Add
.claude/lsp.jsonto registergoplsas the Go LSP for Claude Code.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.mcp.json |
Configures gopls as an MCP server (via gopls mcp) for Claude Code |
.claude/lsp.json |
Configures gopls as the Go language server (via gopls serve) for Claude Code |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.mcp.jsonto configure gopls as an MCP server for Claude Code.claude/lsp.jsonto configure gopls as the Go LSP for Claude Code.claude/settings.local.jsonis already gitignored for machine-specific configTest plan
🤖 Generated with Claude Code