GitHub Enterprise MCP Server logo

GitHub Enterprise MCP Server

by piyushgIITian

The GitHub Enterprise MCP Server enhances the GitHub API by enabling file operations, repository management, and advanced search functionalities. It allows users to interact with GitHub through Cline, providing a more streamlined and efficient workflow.

View on GitHub

Last updated: N/A

What is GitHub Enterprise MCP Server?

The GitHub Enterprise MCP Server is a tool that extends the capabilities of the GitHub API, allowing users to perform various actions such as creating/updating files, managing repositories, and searching for code, issues, and users directly through Cline.

How to use GitHub Enterprise MCP Server?

To use the GitHub Enterprise MCP Server, you need to install it by cloning the repository, installing dependencies, building the project, creating a GitHub Personal Access Token, configuring the MCP settings in Cline (either VS Code or Claude Desktop), and restarting Cline. Once installed, you can interact with GitHub through Cline using natural language commands.

Key features of GitHub Enterprise MCP Server

  • Automatic Branch Creation

  • Comprehensive Error Handling

  • Git History Preservation

  • Batch Operations

  • Advanced Search

Use cases of GitHub Enterprise MCP Server

  • Automating repository management tasks

  • Searching for code snippets across multiple repositories

  • Creating and managing issues and pull requests

  • Integrating GitHub functionality into Cline workflows

  • Performing bulk file operations

FAQ from GitHub Enterprise MCP Server

What is a GitHub Personal Access Token and why do I need it?

A GitHub Personal Access Token is like a password for applications to access your GitHub account. It's needed to authenticate the MCP server with GitHub and grant it permissions to perform actions on your behalf.

How do I find the Cline MCP settings file?

The location of the Cline MCP settings file depends on the Cline application you are using. For VS Code, it's typically located at %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json on Windows, ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json on macOS, and ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json on Linux. For Claude Desktop, it's %APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, and ~/.config/Claude/claude_desktop_config.json on Linux.

What permissions should my GitHub Personal Access Token have?

The token should have the repo scope for full control of private repositories or the public_repo scope if you're only working with public repositories.

How do I verify that the MCP server is installed correctly?

You can ask Cline to perform a GitHub operation, such as searching for repositories, using the GitHub Enterprise MCP server. If it works, the installation is successful.

What if I'm using GitHub Enterprise?

For GitHub Enterprise instances, you need to configure the GITHUB_API_URL environment variable in the MCP settings to point to your GitHub Enterprise instance's API endpoint (e.g., https://github.yourdomain.com/api/v3). You may also need to configure additional authentication options as described in the Octokit documentation.