Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit62eed34

Browse files
authored
Clarify local build (#264)
1 parentbbba3bb commit62eed34

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

‎README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,24 @@ More about using MCP server tools in VS Code's [agent mode documentation](https:
9191

9292
###Build from source
9393

94-
If you don't have Docker, you can use`go` to build the binary in the
95-
`cmd/github-mcp-server` directory, and use the`github-mcp-server stdio`
96-
command with the`GITHUB_PERSONAL_ACCESS_TOKEN` environment variable set to
97-
your token.
94+
If you don't have Docker, you can use`go build` to build the binary in the
95+
`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:
96+
97+
```JSON
98+
{
99+
"mcp": {
100+
"servers": {
101+
"github": {
102+
"command":"/path/to/github-mcp-server",
103+
"args": ["stdio"],
104+
"env": {
105+
"GITHUB_PERSONAL_ACCESS_TOKEN":"<YOUR_TOKEN>"
106+
}
107+
}
108+
}
109+
}
110+
}
111+
```
98112

99113
##GitHub Enterprise Server
100114

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp