aiagent.club
中文
GitHub

mcp-language-server

#602 of 964 in the AI Agent Index

10 Score
Real usage
Momentum
Attention
38

About

This is an MCP server that runs and exposes a language server to LLMs. Not a language server for MCP, whatever that would be.

mcp-language-server helps MCP enabled clients navigate codebases more easily by giving them access semantic tools like get definition, references, rename, and diagnostics.

Install gopls: go install golang.org/x/tools/gopls@latest Configure your MCP client: This will be different but similar for each client. For Claude Desktop, add the following to /Library/Application\ Support/Claude/claudedesktopconfig.json

{ "mcpServers": { "language-server": { "command": "mcp-language-server", "args": ["--workspace", "/Users/you/dev/yourproject/", "--lsp", "gopls"], "env": {…

Across sources

1.6k Stars
  • Stars 1.6k
  • Forks 139
  • Commits 104
  • Releases 2