-
Notifications
You must be signed in to change notification settings - Fork 758
Closed
Labels
Description
Describe the bug
I've tried setting up a Docker-based MCP server on both Windows Terminal and macOS (arm64) iTerm2 and neither one will launch the Docker container or connect to an already running container.
MCP server setup (using /mcp add):
- Server Type:
Local - Command:
docker - Args:
run, -i, --rm, -e API_KEY=<redacted>, ghcr.io/<redacted>/<redacted>-mcp-server:latest - Env vars: none - I'm passing them in the Args
- Tools:
*
When I start a copilot session, it will say:
● Configured MCP servers: <the name of the server I just added>
● Connected to GitHub MCP Server
I've tried a couple variations of this and also by editing the mcp.json file with no success. This same configuration works flawlessly for Copilot Coding Agent or locally in VS Code.
Maybe Docker isn't a supported server type, but I hope it is since it works for coding agent!
Affected version
0.0.228 - 0.0.330
Steps to reproduce the behavior
- Add a Docker-based MCP server via
/mcp add - Start a
copilotsession
Expected behavior
The server should start and/or connect and the tools should be available to Copilot
Additional context
No response
titabo2k and iioel