MCP Catalogs
Home

mcp-gopls vs filesystem

Side-by-side comparison to help you pick between these two MCP servers.

mcp-gopls
by hloiseau
filesystem
by modelcontextprotocol
Stars★ 84★ 85,748
30d uses
Score4777
Official
Categories
Developer ToolsAI / LLM Tools
File SystemDeveloper ToolsProductivity
LanguageGoTypeScript
Last commit4 mo agothis month

mcp-gopls · Summary

MCP server for Go using gopls – LSP-powered analysis, tests, coverage, and tooling.

filesystem · Summary

A feature-rich MCP server for filesystem operations with dynamic directory access control.

mcp-gopls · Use cases

  • AI assistants analyzing Go codebases with full LSP capabilities
  • Automating Go test execution and coverage reporting
  • Refactoring Go code with AI assistance using LSP tools

filesystem · Use cases

  • Enable AI models to read and write project files during development
  • Allow Claude or other MCP clients to browse and analyze codebases
  • Provide secure sandboxed access to specific directories for content generation

mcp-gopls · Install

# Install the server
go install github.com/hloiseau/mcp-gopls/v2/cmd/mcp-gopls@latest

# Configure Claude Desktop
{
  "mcpServers": {
    "mcp-gopls": {
      "command": "mcp-gopls",
      "args": ["--workspace", "/absolute/path/to/your/go/project"],
      "env": {
        "MCP_GOPLS_LOG_LEVEL": "info"
      }
    }
  }
}

filesystem · Install

Installation

Using NPX

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/directory"
      ]
    }
  }
}

Using Docker

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
        "mcp/filesystem",
        "/projects"
      ]
    }
  }
}

VS Code Extension

Click the installation buttons in the README to install directly in VS Code.

Comparison generated from public README + GitHub signals. Last updated automatically.