-
Notifications
You must be signed in to change notification settings - Fork 348
Open
Description
Hello @theNetworkChuck and thank you for this boilerplate! It was able to get me started in building my own MCP server.
Few things I noticed along the way. I use Windows 11 and Docker Desktop with WSL integration.
- the WSL path
~\.docker\mcpis not used at all by Docker Desktop, it only uses%USERPROFILE/mcpon the Windows side; - creating a custom catalog
custom.yamlunder%USERPROFILE/mcp/catalogsis not picked up at all by Docker Desktop, not sure if there is any way to tell it to look there too, it seems to only look at%USERPROFILE/mcp/catalogs/docker_mcp.yaml, so in the end I had to paste in the custom tool to the end of thedocker_mcp.yamlfile - when restarting Docker Desktop, it seems to remove any entries that are not in a published catalog, so the custom tool running on the local Docker image needs to be re-added to
docker_mcp.yamlevery time Docker Desktop is restarted - no changes need to be made to any of the Claude Desktop configuration files, the latest format allows for any new tools in the Docker MCP catalog to be picked up automatically,
%APPDATA%/Roaming/Claude/claude_desktop_config.jsonnow looks something like this:{ "mcpServers": { "MCP_DOCKER": { "command": "docker", "args": [ "mcp", "gateway", "run" ], "env": { "LOCALAPPDATA": "C:\\Users\\[USER]\\AppData\\Local", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files" } } } } docker mcp ...commands do not work in WSL, since the Docker MCP Toolkit is only on the Windows side, simple solution is to usedocker.exe mcp ...and it will invoke the Docker MCP Toolkit from Windows
OS: Windows 11
Docker Desktop: v4.48.0
Claude Desktop: v0.14.4
Metadata
Metadata
Assignees
Labels
No labels