Skip to content

Commit 96a3b90

Browse files
committed
wip: README edits
1 parent 001a665 commit 96a3b90

File tree

1 file changed

+12
-49
lines changed

1 file changed

+12
-49
lines changed

README.md

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,16 @@
11
# GitHub MCP Server
22

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.
44

5-
## Setup
5+
## Use Cases
66

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.
910

10-
## Testing in VS Code Insiders
11+
## Installation
1112

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.
5114

5215
### Start VS Code Insiders
5316

@@ -351,7 +314,7 @@ The flag `--gh-host` and the environment variable `GH_HOST` can be used to set t
351314

352315
### Repository Content
353316

354-
- **Get Repository Content**
317+
- **Get Repository Content**
355318
Retrieves the content of a repository at a specific path.
356319

357320
- **Template**: `repo://{owner}/{repo}/contents{/path*}`
@@ -360,7 +323,7 @@ The flag `--gh-host` and the environment variable `GH_HOST` can be used to set t
360323
- `repo`: Repository name (string, required)
361324
- `path`: File or directory path (string, optional)
362325

363-
- **Get Repository Content for a Specific Branch**
326+
- **Get Repository Content for a Specific Branch**
364327
Retrieves the content of a repository at a specific path for a given branch.
365328

366329
- **Template**: `repo://{owner}/{repo}/refs/heads/{branch}/contents{/path*}`
@@ -370,7 +333,7 @@ The flag `--gh-host` and the environment variable `GH_HOST` can be used to set t
370333
- `branch`: Branch name (string, required)
371334
- `path`: File or directory path (string, optional)
372335

373-
- **Get Repository Content for a Specific Commit**
336+
- **Get Repository Content for a Specific Commit**
374337
Retrieves the content of a repository at a specific path for a given commit.
375338

376339
- **Template**: `repo://{owner}/{repo}/sha/{sha}/contents{/path*}`
@@ -380,7 +343,7 @@ The flag `--gh-host` and the environment variable `GH_HOST` can be used to set t
380343
- `sha`: Commit SHA (string, required)
381344
- `path`: File or directory path (string, optional)
382345

383-
- **Get Repository Content for a Specific Tag**
346+
- **Get Repository Content for a Specific Tag**
384347
Retrieves the content of a repository at a specific path for a given tag.
385348

386349
- **Template**: `repo://{owner}/{repo}/refs/tags/{tag}/contents{/path*}`
@@ -390,7 +353,7 @@ The flag `--gh-host` and the environment variable `GH_HOST` can be used to set t
390353
- `tag`: Tag name (string, required)
391354
- `path`: File or directory path (string, optional)
392355

393-
- **Get Repository Content for a Specific Pull Request**
356+
- **Get Repository Content for a Specific Pull Request**
394357
Retrieves the content of a repository at a specific path for a given pull request.
395358

396359
- **Template**: `repo://{owner}/{repo}/refs/pull/{pr_number}/head/contents{/path*}`

0 commit comments

Comments
 (0)