You can also add the official GitHub MCP Server.
The recommended local setup uses Docker:
ghcr.io/github/github-mcp-server
First, create a GitHub Personal Access Token.
For a safer setup, start with read-only mode unless you specifically want the model to create or modify issues, PRs, files, or workflow runs.
Export your token before starting mcp-proxy:
export GITHUB_PERSONAL_ACCESS_TOKEN="github_pat_xxx"Then add github to your config.json:
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=Europe/Kyiv"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"ddg-search": {
"command": "uvx",
"args": ["duckduckgo-mcp-server"]
},
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e",
"GITHUB_READ_ONLY=1",
"-e",
"GITHUB_TOOLSETS=context,repos,issues,pull_requests,actions",
"ghcr.io/github/github-mcp-server"
]
}
}
}Then start mcp-proxy as before:
uvx mcp-proxy \
--named-server-config config.json \
--allow-origin "*" \
--port 8001 \
--statelessThe proxy should expose a GitHub server URL similar to:
http://127.0.0.1:8001/servers/github/sse
For llama-server Web UI, replace /sse with /mcp:
http://127.0.0.1:8001/servers/github/mcp
Then add it in:
Settings → MCP → Add New Server
Use this URL:
http://127.0.0.1:8001/servers/github/mcp
Enable the server with the toggle.
If it does not work immediately, try enabling:
Use llama-server proxy
The GitHub MCP server can access repositories, issues, pull requests, GitHub Actions, code scanning, Dependabot alerts, notifications, organizations, and other GitHub APIs depending on token permissions and enabled toolsets.
For a safer first run, keep:
GITHUB_READ_ONLY=1
This prevents write operations.
If you later want write access, remove this line:
"-e",
"GITHUB_READ_ONLY=1",You can also change the enabled toolsets.
Example with more GitHub capabilities:
"-e",
"GITHUB_TOOLSETS=context,repos,issues,pull_requests,actions,code_security,dependabot,notifications"The default GitHub MCP toolsets are:
context
repos
issues
pull_requests
users
For most local llama-server experiments, this is a reasonable starting point:
context,repos,issues,pull_requests,actions