diff --git a/README.md b/README.md index 0a79d0a..18c1ff6 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ This is an [MCP](https://modelcontextprotocol.io/introduction) server that runs } } +
For Claude Code run the following command:
+claude mcp add language-server mcp-language-server -- --workspace /Users/you/dev/yourproject/ --lsp gopls
Note: Not all clients will need these environment variables. For Claude Desktop you will need to update the environment variables above based on your machine and username:
For Claude Code run the following command:
+claude mcp add language-server mcp-language-server -- --workspace /Users/you/dev/yourproject/ --lsp rust-analyzer
For Claude Code run the following command:
+claude mcp add language-server mcp-language-server -- --workspace /Users/you/dev/yourproject/ --lsp pyright-langserver -- --stdio
For Claude Code run the following command:
+claude mcp add language-server mcp-language-server -- --workspace /Users/you/dev/yourproject/ --lsp typescript-language-server -- --stdio
For Claude Code run the following command:
+claude mcp add language-server mcp-language-server -- --workspace /Users/you/dev/yourproject/ --lsp /path/to/your/clangd_binary -- --compile-commands-dir=/path/to/yourproject/build_or_compile_commands_dir
Note:
/path/to/your/clangd_binary
with the actual path to your clangd executable.