mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
# Add Code Navigation and Investigation Guide for Go LSP Tools Added a new section to the CLAUDE.md documentation that explains how to use Go Language Server Protocol (LSP) tools when working with the Coder codebase. The guide includes: - Commands for finding function definitions, symbol references, and getting symbol information - Examples of LSP usage with specific commands - Guidance on when to use LSP versus other tools like grep or bash - A structured investigation strategy for navigating the codebase, starting with route registration and tracing through to implementations This documentation helps developers more efficiently explore and understand the codebase structure.
37 lines
591 B
JSON
37 lines
591 B
JSON
{
|
|
"mcpServers": {
|
|
"go-language-server": {
|
|
"type": "stdio",
|
|
"command": "go",
|
|
"args": [
|
|
"run",
|
|
"github.com/isaacphi/mcp-language-server@latest",
|
|
"-workspace",
|
|
"./",
|
|
"-lsp",
|
|
"go",
|
|
"--",
|
|
"run",
|
|
"golang.org/x/tools/gopls@latest"
|
|
],
|
|
"env": {}
|
|
},
|
|
"typescript-language-server": {
|
|
"type": "stdio",
|
|
"command": "go",
|
|
"args": [
|
|
"run",
|
|
"github.com/isaacphi/mcp-language-server@latest",
|
|
"-workspace",
|
|
"./site/",
|
|
"-lsp",
|
|
"pnpx",
|
|
"--",
|
|
"typescript-language-server",
|
|
"--stdio"
|
|
],
|
|
"env": {}
|
|
}
|
|
}
|
|
}
|