Description
Describe the bug
Unable to start server from inline button in settings.json
Affected version
docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
Unable to find image 'ghcr.io/github/github-mcp-server:latest' locally
latest: Pulling from github/github-mcp-server
35d697fe2738: Pull complete
bfb59b82a9b6: Pull complete
4eff9a62d888: Pull complete
a62778643d56: Pull complete
7c12895b777b: Pull complete
3214acf345c0: Pull complete
5664b15f108b: Pull complete
0bab15eea81d: Pull complete
4aa0ea1413d3: Pull complete
da7816fa955e: Pull complete
9aee425378d2: Pull complete
d00c3209d929: Pull complete
c1e595f74d52: Pull complete
6172acc1db55: Pull complete
b603405d4863: Pull complete
Digest: sha256:1d2dda7fdc4aa3dc635587bdb17e3cb4cf1a58fbec39834d435df8cab919ff09
Status: Downloaded newer image for ghcr.io/github/github-mcp-server:latest
Error: unknown command "./github-mcp-server" for "server"
Run 'server --help' for usage.
unknown command "./github-mcp-server" for "server"
Steps to reproduce the behavior
- Paste configuration in settings.json
{
"inputs": [
{
"id": "github_token",
"type": "promptString",
"description": "GitHub Personal Access Token",
"password": true
}
],
"servers": {
"github-official": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e",
"GITHUB_TOOLSETS",
"-e",
"GITHUB_HOST",
"mcp/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
"GITHUB_TOOLSETS": "all",
"GITHUB_HOST": "https://github.{enterprise-name}.com"
}
}
}
}
- Click on run button
- Error notification pops up and server does not start
Expected vs actual behavior
Server should start
Logs
2025-06-14 20:49:10.551 [info] Starting server github-official
2025-06-14 20:49:10.552 [info] Connection state: Starting
2025-06-14 20:49:10.560 [info] Starting server from LocalProcess extension host
2025-06-14 20:49:10.575 [info] Connection state: Starting
2025-06-14 20:49:10.587 [info] Connection state: Error spawn docker ENOENT
Running on Ubuntu 20.04 VM via Remote SSH