docker error when running from settings.json · Issue #518 · github/github-mcp-server · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

docker error when running from settings.json #518

Closed
@pWoLiAn

Description

@pWoLiAn

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

  1. 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"
            }
        }
    }
}
  1. Click on run button
  2. Error notification pops up and server does not start

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      TMZ Celebrity News – Breaking Stories, Videos & Gossip

      Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

      Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

      🎥 Watch TMZ Live

      TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.