Skip to content

Only PNG and no drawio output generated with docker container and vscode/github copilot #2

Description

@NanoMil

Hi, thanks for this interesting project!

I have issues, that in my case only the PNG output is generated and not the drawio output.

Context:
Visual Studio Code: 1.108.2
Github Copilot 0.36.2
Running in Windows with WSL2.

The MCP server is used as docker container.

{
	"servers": {
		"mcp-infrastructure-diagram": {
			"type": "stdio",
			"command": "docker",
			"args": [
				"run",
				"--rm",
				"--interactive",
				"--env",
				"FASTMCP_LOG_LEVEL=ERROR",
				"infrastructure-diagram-mcp-server:latest"
			]
		}
	},
	"inputs": []
}

Terminal output:

2026-01-28 10:53:13.957 [info] Starting server mcp-infrastructure-diagram
2026-01-28 10:53:13.957 [info] Connection state: Starting
2026-01-28 10:53:13.963 [info] Starting server from LocalProcess extension host
2026-01-28 10:53:13.968 [info] Connection state: Starting
2026-01-28 10:53:13.968 [info] Connection state: Running
2026-01-28 10:53:14.906 [info] Discovered 6 tools
2026-01-28 10:53:14.959 [warning] [server stderr] [01/28/26 09:53:14] ERROR    Could not load 'sarif': No module  extension.py:227
2026-01-28 10:53:14.959 [warning] [server stderr]                              named 'jschema_to_python'
2026-01-28 10:57:36.685 [info] Stopping server mcp-infrastructure-diagram

I assume you use an other tool stack, so I don't expect specific help here, but since I have issues to get it running with cline and claude for a cross check, I am just wondering: Does it work for you with the latest version of your tool and the docker container is generating an draw.io file along with png?

I only get the PNG at the moment.

Image

I also tried to add to docker file this to resolve the error from the terminal output:
python3 -m pip install jschema-to-python but couldn't get it fully running.

Thanks in advance

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