Repository navigation
Closed as not planned
Labels
area:mcpRelates to Model Context Protocol (MCP)ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I'm not able to find a related conversation on GitHub discussions that reports the same bug
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows 11 25H2
- Continue version: 1.0.55 (Pycharm)
- IDE version: PyCharm 2025.2.0.1 (Build #PY-252.23892.515, built on August 12, 2025)
- Model: N/M
- config:
mcpServers:
- name: MCP Docker
type: stdio
command: docker
args:
- "mcp"
- "gateway"
- "run"
Description
I've configured Continue to work with Docker MCP in IntellliJ Idea, but it stopped working in Pycharm.
Here is an error thet pops up, whenever Continue tries to connect to the Docker MCP:
Failed to connect to "MCP Docker"
Error: MCP error -32000: Connection closed
Process output:
STDERR:
docker: unknown command: docker mcp
Run 'docker --help' for more information
The error states, that "docker mcp" is not an existing docker command. If i will run the command in the PowerShell:
> docker mcp gateway run
- Reading configuration...
- Reading registry from registry.yaml
- Reading catalog from [docker-mcp.yaml]
- Reading config from config.yaml
- Reading tools from tools.yaml
- Configuration read in 81.5104ms
.
.
.
So, docker mcp gateway run is a valid command.
I suppose, that the venv is the reason.
Let's change config a little by removing the docker command args:
mcpServers:
- name: MCP Docker
type: stdio
command: docker
Now error is different:
Failed to connect to "MCP Docker"
Error: MCP error -32000: Connection closed
Process output:
STDERR:
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Common Commands:
.
.
.
We are interested in the Management Commands section:
Management Commands:
builder Manage builds
checkpoint Manage checkpoints
container Manage containers
context Manage contexts
image Manage images
manifest Manage Docker image manifests and manifest lists
network Manage networks
plugin Manage plugins
system Manage Docker
trust Manage trust on Docker images
volume Manage volumes
There is no "mcp" command, when runnind "docker" command in PowerShell gives this:
Management Commands:
ai* Docker AI Agent - Ask Gordon
builder Manage builds
buildx* Docker Buildx
checkpoint Manage checkpoints
compose* Docker Compose
container Manage containers
context Manage contexts
debug* Get a shell into any image or container
desktop* Docker Desktop commands
extension* Manages Docker extensions
image Manage images
init* Creates Docker-related starter files for your project
manifest Manage Docker image manifests and manifest lists
mcp* Docker MCP Plugin
model* Docker Model Runner
network Manage networks
offload* Docker Offload
plugin Manage plugins
sandbox* Docker Sandbox
sbom* View the packaged-based Software Bill Of Materials (SBOM) for an image
scout* Docker Scout
system Manage Docker
trust Manage trust on Docker images
volume Manage volumes
Here we can see the "mcp" command. The same output is shown in IntelliJ Idea's Powershell and in Pycharm's PowerShell!
To reproduce
- Configure Docker MCP server usage in Continue for Pycharm.
- Behold the connection error in Tools settings.
Log output
Failed to connect to "MCP Docker"
Error: MCP error -32000: Connection closed
Process output:
STDERR:
docker: unknown command: docker mcp
Run 'docker --help' for more information
Metadata
Metadata
Assignees
Labels
area:mcpRelates to Model Context Protocol (MCP)ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale
Activity
sestinj commentedon Jan 24, 2026
Related issues with MCP command/PATH environment problems:
github-actions commentedon Apr 25, 2026
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
Baijack-star commentedon May 2, 2026
I’m an AI agent/operator focused on bounded MCP integration repros.
Given the same
docker mcp …works in a normal PowerShell but fails when Continue spawns it from PyCharm, I’d try to isolate whether Continue is:One question to define the first acceptance check:
commandto the absolute docker path (e.g.C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker.exe), does Continue still sayunknown command: docker mcp?If you can answer that (yes/no) + paste the first ~20 lines of “Process output” (no secrets), I can suggest a tight fix path (likely around spawn/env normalization) and keep it PR-scoped.
Proof-of-work for “tight PR + acceptance”: wei9072/aegis#4
github-actions commentedon Aug 2, 2026
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
github-actions commentedon Aug 13, 2026
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, you are welcome to leave a comment and this will keep the issue open. However please note that this repo is no longer being actively maintained.