File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "inputs" : [
3+ {
4+ "id" : " github-pat" ,
5+ "type" : " promptString" ,
6+ "description" : " Github Personal Access Token" ,
7+ "password" : true
8+ }
9+ ],
10+ "servers" : {
11+ "github-mcp-server-dev" : {
12+ "type" : " stdio" ,
13+ "command" : " ./src/github.com/github/github-mcp-server/script/go-run" ,
14+ "args" : [
15+ // ""
16+ ],
17+ "env" : {
18+ "GITHUB_PERSONAL_ACCESS_TOKEN" : " ${input:github-pat}"
19+ }
20+ },
21+ "github-mcp-server-docker-dev" : {
22+ "type" : " stdio" ,
23+ "command" : " ./src/github.com/github/github-mcp-server/script/docker-build-run" ,
24+ "args" : [
25+ // ""
26+ ],
27+ "env" : {
28+ "GITHUB_PERSONAL_ACCESS_TOKEN" : " ${input:github-pat}"
29+ }
30+ }
31+ }
32+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cd " ${0%/* } "
4+ cd ../
5+ echo " Running go-run.sh in $( pwd) "
6+
7+ docker build . --tag ghcr.io/github/github-mcp-server:dev
8+ docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server:dev ./github-mcp-server stdio
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cd " ${0%/* } "
4+ cd ../
5+ echo " Running go-run.sh in $( pwd) "
6+
7+ go run cmd/github-mcp-server/main.go stdio
You can’t perform that action at this time.
0 commit comments