Skip to content

Spawn docker for Github Official MCP #4

@eladcandroid

Description

@eladcandroid

I used this official GitHub MCP server:

https://github.com/github/github-mcp-server

And got an error. Here're my logs:

{"code":"ENOENT","errno":-2,"level":"error","message":"Failed to connect to provider github","path":"docker","spawnargs":["run","-i","--rm","-e","GITHUB_PERSONAL_ACCESS_TOKEN","ghcr.io/github/github-mcp-server"],"syscall":"spawn docker","timestamp":"2025-05-25T09:45:55.488Z"}

However, when I use the same one as the normal MCP config (without YaMCP), it works normally without any changes.

Provider JSON:

"github": {
    "type": "stdio",
    "namespace": "github",
    "providerParameters": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "HIDDEN"
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions