Skip to content

Commit 82ccb9e

Browse files
authored
Add GitHub MCP server configuration to README
Added configuration for GitHub MCP server with token input.
1 parent b1575ed commit 82ccb9e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,3 +1572,31 @@ The exported Go API of this module should currently be considered unstable, and
15721572
## License
15731573

15741574
This project is licensed under the terms of the MIT open source license. Please refer to [MIT](./LICENSE) for the full terms.
1575+
{
1576+
"mcp": {
1577+
"inputs": [
1578+
{
1579+
"type": "promptString",
1580+
"id": "github_token",
1581+
"description": "GitHub Personal Access Token",
1582+
"password": true
1583+
}
1584+
],
1585+
"servers": {
1586+
"github": {
1587+
"command": "docker",
1588+
"args": [
1589+
"run",
1590+
"-i",
1591+
"--rm",
1592+
"-e",
1593+
"GITHUB_PERSONAL_ACCESS_TOKEN",
1594+
"ghcr.io/github/github-mcp-server"
1595+
],
1596+
"env": {
1597+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
1598+
}
1599+
}
1600+
}
1601+
}
1602+
}

0 commit comments

Comments
 (0)