You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-49Lines changed: 12 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,53 +1,16 @@
1
1
# GitHub MCP Server
2
2
3
-
GitHub MCP Server implemented in Go.
3
+
The GitHub MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with GitHub's APIs, enabling advanced automation and interaction capabilities for developers and tools.
4
4
5
-
## Setup
5
+
## Use Cases
6
6
7
-
Create a GitHub Personal Access Token with the appropriate permissions
8
-
and set it as the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.
7
+
- Automating GitHub workflows and processes.
8
+
- Extracting and analyzing data from GitHub repositories.
9
+
- Building AI powered tools and applications that interact with GitHub's ecosystem.
9
10
10
-
## Testing in VS Code Insiders
11
+
## Installation
11
12
12
-
### Requirements
13
-
14
-
You can either use a Docker image or build the binary from the repo.
15
-
16
-
#### Docker image
17
-
18
-
As of now, this repo is private, and hence the docker image is not available publicly. To pull it,
19
-
you need to make sure you can access the GitHub docker registry. See [this](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-with-a-personal-access-token-classic)
20
-
for more details.
21
-
22
-
To make sure you can access the GitHub docker registry, run the following command:
23
-
24
-
```bash
25
-
docker pull ghcr.io/github/github-mcp-server:main
26
-
```
27
-
28
-
If the above command works, you are good to go.
29
-
30
-
#### Build from repo
31
-
First, install `github-mcp-server` by cloning the repo and running the following command:
32
-
33
-
```bash
34
-
go install ./cmd/github-mcp-server
35
-
```
36
-
37
-
If you don't want to clone the repo, you can run:
38
-
39
-
```bash
40
-
GOPRIVATE=github.com/github go install github.com/github/github-mcp-server/cmd/github-mcp-server@latest
41
-
```
42
-
43
-
This will install the `github-mcp-server` binary in your `$GOPATH/bin` directory.
44
-
45
-
Find where the binary is installed by running:
46
-
47
-
```bash
48
-
# note this assumes $GOPATH/bin is in your $PATH
49
-
which github-mcp-server
50
-
```
13
+
[Create a GitHub Personal Access Token](https://github.com/settings/personal-access-tokens/new) with the appropriate permissions and set it as the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable.
51
14
52
15
### Start VS Code Insiders
53
16
@@ -355,7 +318,7 @@ The flag `--gh-host` and the environment variable `GH_HOST` can be used to set t
355
318
356
319
### Repository Content
357
320
358
-
-**Get Repository Content**
321
+
-**Get Repository Content**
359
322
Retrieves the content of a repository at a specific path.
0 commit comments