Skip to content

Add Claude Code MCP and LSP configuration#28

Merged
freeformz merged 1 commit intomainfrom
add-claude-mcp-config
Mar 6, 2026
Merged

Add Claude Code MCP and LSP configuration#28
freeformz merged 1 commit intomainfrom
add-claude-mcp-config

Conversation

@freeformz
Copy link
Copy Markdown
Owner

Summary

  • Add .mcp.json to configure gopls as an MCP server for Claude Code
  • Add .claude/lsp.json to configure gopls as the Go LSP for Claude Code
  • .claude/settings.local.json is already gitignored for machine-specific config

Test plan

  • Verify Claude Code picks up gopls MCP and LSP config in a new session

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings March 6, 2026 21:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.json to register gopls as an MCP server for Claude Code.
  • Add .claude/lsp.json to register gopls as 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.

@freeformz freeformz merged commit 9c128e2 into main Mar 6, 2026
13 checks passed
@freeformz freeformz deleted the add-claude-mcp-config branch March 6, 2026 21:29
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.

2 participants