10000 add "Usage with Claude Code" section to README.md · github/github-mcp-server@e52783e · GitHub
[go: up one dir, main page]

Skip to content

Commit e52783e

Browse files
committed
add "Usage with Claude Code" section to README.md
1 parent cbcf29f commit e52783e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,28 @@ More about using MCP server tools in VS Code's [agent mode documentation](https:
116116
}
117117
```
118118

119+
### Usage with Claude Code
120+
121+
```sh
122+
claude mcp add-json github '
123+
{
124+
"command": "docker",
125+
"args": [
126+
"run",
127+
"-i",
128+
"--rm",
129+
"-e",
130+
"GITHUB_PERSONAL_ACCESS_TOKEN",
131+
"ghcr.io/github/github-mcp-server"
132+
],
133+
"env": {
134+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
135+
}
136+
}
137+
'
138+
```
139+
140+
119141
### Build from source
120142

121143
If you don't have Docker, you can use `go build` to build the binary in the

0 commit comments

Comments
 (0)
0