Closed
Description
Describe the bug
How to run in Roocode(Void Editor)? I am running void editor in remote-wsl (NixOS-WSL) and using Venice.ai API for inferencing. I tried both the docker command and localhost URL but I am getting SSE error: Invalid content type, expected "text/event-stream"
.
Affected version
Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output below
❯ docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
GitHub MCP Server
Version: v0.2.1
Commit: 9fa582d8d63522d70ce8f3af58265effb9645323
Build Date: 2025-04-21T23:03:04Z
Steps to reproduce the behavior
- Type the below mcp_settings.json in global roocode mcp
#Docker command
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}",
"-e",
"GITHUB_DYNAMIC_TOOLSETS=1",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "github_pat_REDACTED"
},
"alwaysAllow": [
"repos",
"issues",
"users",
"pull_requests",
"code_security",
"experiments"
],
"autoApprove": [
"repos",
"issues",
"users",
"pull_requests"
]
}
}
}
#localhost URL
{
"mcpServers": {
"github": {
"url": "http://localhost:8080",
"alwaysAllow": [...],
"autoApprove": [...]
}
}
}
- View the MCP server output manually instead of via mcp_settings.json
❯ docker run -it --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=github_pat_REDACTED -e GITHUB_DYNAMIC_TOOLSETS=1 ghcr.io/github/github-mcp-server
GitHub MCP Server running on stdio
ping
{"jsonrpc":"2.0","id":null,"error":{"code":-32700,"message":"Parse error"}}
nixos-wsl-micro on main [!+?⇡]
❯ echo '{"jsonrpc":"2.0","id":1,"method":"ping"}' | \
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=github_pat_REDACTED \
ghcr.io/github/github-mcp-server
GitHub MCP Server running on stdio
{"jsonrpc":"2.0","id":1,"result":{}}
- See error
github-mcpglobal
SSE error: Invalid content type, expected "text/event-stream"
Expected vs actual behavior
Expected: Working upon setting mcp_settings.json
Actual: SSE Error
Logs
Running the commands individually seem to work.
❯ docker info
Client:
Version: 28.0.4
Context: default
Debug Mode: false
Plugins:
ai: Docker AI Agent - Ask Gordon (Docker Inc.)
Version: v1.1.3
Path: /usr/local/lib/docker/cli-plugins/docker-ai
buildx: Docker Buildx (Docker Inc.)
Version: v0.22.0-desktop.1
Path: /usr/local/lib/docker/cli-plugins/docker-buildx
cloud: Docker Cloud (Docker Inc.)
Version: 0.2.20
Path: /usr/local/lib/docker/cli-plugins/docker-cloud
compose: Docker Compose (Docker Inc.)
Version: v2.34.0-desktop.1
Path: /usr/local/lib/docker/cli-plugins/docker-compose
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.38
Path: /usr/local/lib/docker/cli-plugins/docker-debug
desktop: Docker Desktop commands (Beta) (Docker Inc.)
Version: v0.1.6
Path: /usr/local/lib/docker/cli-plugins/docker-desktop
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
Path: /usr/local/lib/docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.27
Path: /usr/local/lib/docker/cli-plugins/docker-extension
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.4.0
Path: /usr/local/lib/docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /usr/local/lib/docker/cli-plugins/docker-sbom
scout: Docker Scout (Docker Inc.)
Version: v1.17.0
Path: /usr/local/lib/docker/cli-plugins/docker-scout
Server:
Containers: 10
Running: 3
Paused: 0
Stopped: 7
Images: 9
Server Version: 28.0.4
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
CDI spec directories:
/etc/cdi
/var/run/cdi
Swarm: inactive
Runtimes: io.containerd.runc.v2 nvidia runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 753481ec61c7c8955a23d6ff7bc8e4daed455734
runc version: v1.2.5-0-g59923ef
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
cgroupns
Kernel Version: 6.6.87.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 15.62GiB
Name: docker-desktop
ID: <REDACTED>
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Labels:
com.docker.desktop.address=unix:///var/run/docker-cli.sock
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
::1/128
127.0.0.0/8
Live Restore Enabled: false
WARNING: DOCKER_INSECURE_NO_IPTABLES_RAW is set
WARNING: daemon is not using the default seccomp profile
nix-cfg on master [!?⇡]
❯ docker version
Client:
Version: 28.0.4
API version: 1.48
Go version: go1.23.7
Git commit: b8034c0
Built: Tue Mar 25 15:06:08 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Desktop 4.0.0 ()
Engine:
Version: 28.0.4
API version: 1.48 (minimum version 1.24)
Go version: go1.23.7
Git commit: 6430e49
Built: Tue Mar 25 15:07:22 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.26
GitCommit: 753481ec61c7c8955a23d6ff7bc8e4daed455734
runc:
Version: 1.2.5
GitCommit: v1.2.5-0-g59923ef
docker-init:
Version: 0.19.0
GitCommit: de40ad0