Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Document direct go install from GitHub
  • Loading branch information
rotemreiss authored Apr 17, 2025
commit cf33a01cc0f1fc9573427ac72aa5d6b2c93d802c
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -89,8 +89,15 @@ More about using MCP server tools in VS Code's [agent mode documentation](https:

### Build from source

If you don't have Docker, you can use `go build` to build the binary in the
`cmd/github-mcp-server` directory, and use the `github-mcp-server stdio` command with the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable set to your token. To specify the output location of the build, use the `-o` flag. You should configure your server to use the built executable as its `command`. For example:
If you don't have Docker, you can use `go build` to build the binary in the `cmd/github-mcp-server` directory. Then, use the `github-mcp-server stdio` command with the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable set to your token. To specify the output location of the build, use the `-o` flag.

You can also install it directly from GitHub without cloning the repository first by running the following command:

```bash
go install -v github.com/github/github-mcp-server/cmd/github-mcp-server@main
```

You should configure your server to use the built executable as its `command`. For example:

```JSON
{