MCP Catalogs
Home

filesystem vs gh-mcp

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

filesystem
by modelcontextprotocol
gh-mcp
by shuymn
Stars★ 85,748★ 29
30d uses
Score7744
Official
Categories
File SystemDeveloper ToolsProductivity
Developer ToolsGitHubAI / LLM Tools
LanguageTypeScriptGo
Last committhis monththis month

filesystem · Summary

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

gh-mcp · Summary

GitHub CLI extension that runs github-mcp-server using existing gh authentication without manual PAT setup.

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

gh-mcp · Use cases

  • Integrating GitHub access with AI coding assistants that support MCP
  • Accessing GitHub repositories and issues without managing separate PATs
  • Enabling Claude Code or other MCP clients to interact with GitHub resources

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.

gh-mcp · Install

Installation

gh extension install shuymn/gh-mcp

Configuration for Claude Desktop

Add this to your Claude Desktop configuration:

{
  "github": {
    "command": "gh",
    "args": ["mcp"]
  }
}

With environment variables:

{
  "github": {
    "command": "gh",
    "args": ["mcp"],
    "env": {
      "GITHUB_TOOLSETS": "repos,issues,pull_requests",
      "GITHUB_READ_ONLY": "1"
    }
  }
}
Comparison generated from public README + GitHub signals. Last updated automatically.