drio
Open app

GitHub MCP Server

Source

GitHub MCP server with enhanced file management capabilities

Catalog onlyCatalog onlySTDIO

Overview

GitHub MCP Server is a Model Context Protocol (MCP) server that provides enhanced file management capabilities for GitHub integration, allowing users to interact with GitHub repositories through various operations.

To use the GitHub MCP Server, install it via npm and configure it in your MCP settings file. You can then perform operations like repository management and file handling through the provided tools.

  • Account management and authentication - Repository creation and management - File operations (read, write, push, pull) - Commit operations - Directory synchronization - Repository comparison and diffing
  1. Managing multiple GitHub repositories efficiently.
  2. Automating file operations between local and remote repositories.
  3. Synchronizing directories for collaborative projects.

Add to your AI client

Use these steps to connect GitHub MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "github-mcp-server-peterparker57": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-peterparker57"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "github-mcp-server-peterparker57": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-peterparker57"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "github-mcp-server-peterparker57": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-peterparker57"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "github-mcp-server-peterparker57": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-peterparker57"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "github-mcp-server-peterparker57": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-peterparker57"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "github-mcp-server-peterparker57": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-peterparker57"
      ]
    }
  }
}

FAQ

Can I manage multiple GitHub accounts?

Yes! You can configure multiple accounts by adding them to your MCP settings.

Is there a way to automate commits?

Yes! The server allows you to create commits with multiple file changes programmatically.

What programming languages are supported?

The server is built with TypeScript and can be used in any environment that supports Node.js.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":776,"uuid":"d987d575-5650-45fb-84a7-9310c9586073","name":"github-mcp-server","title":"GitHub MCP Server","description":"GitHub MCP server with enhanced file management capabilities","avatar_url":"https://avatars.githubusercontent.com/u/1824836?v=4","created_at":"2024-12-30T03:31:15.316Z","updated_at":"2025-02-23T07:15:12.119Z","status":"created","author_name":"peterparker57","author_avatar_url":"https://avatars.githubusercontent.com/u/1824836?v=4","tags":"github,mcp-server,file-management","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/peterparker57/github-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]