mcp icon indicating copy to clipboard operation
mcp copied to clipboard

aws-diagram-mcp-server: Windows does not support signal.SIGALRM

Open ScopatGames opened this issue 1 year ago • 5 comments

Describe the bug

The diagram MCP Server does not work on Windows. generate_diagram fails with the following error: {"status": "error", "path": null, "message": "Error generating diagram: AttributeError: module 'signal' has no attribute 'SIGALRM'"}

The package is using signal.SIGALRM for timeout handling, which isn't available on Windows.

Expected Behavior

The generate_diagram function should work on Windows.

Current Behavior

The generate_diagram function throws an error on Windows.

Reproduction Steps

  • Install server in VS Code on Windows
  • Ask Cline to create a Graphviz diagram using the server

Possible Solution

No response

Additional Information/Context

No response

OS

Windows

Server

aws-diagram-mcp-server

Server Version

No response

Region experiencing the issue

none

Other information

No response

Service quota

  • [x] I have reviewed the service quotas for this construct

ScopatGames avatar Apr 17 '25 20:04 ScopatGames

I am also facing the same error {"status": "error", "path": null, "message": "Error generating diagram: AttributeError: module 'signal' has no attribute 'SIGALRM'"}

vrvicky avatar Apr 18 '25 07:04 vrvicky

Related: https://github.com/awslabs/mcp/issues/162

Windows support

MichaelWalker-git avatar Apr 21 '25 16:04 MichaelWalker-git

@scottschreckengaust @MichaelWalker-git I just ran into this same exact error today when using the diagram MCP server on a Windows machine. This has been an issue since May and there was a fix created, but it was closed & the branch deleted. Can we please get this resolved once and for all?

{ "status": "error", "path": null, "message": "Error generating diagram: AttributeError: module 'signal' has no attribute 'SIGALRM'" }

ldavis9000aws avatar Oct 21 '25 19:10 ldavis9000aws

@krokoko @MichaelWalker-git Can you assist in getting this resolved or should I open up a new issue to address this?

ldavis9000aws avatar Nov 04 '25 22:11 ldavis9000aws

Still an issue,

{
  "status": "error",
  "path": null,
  "message": "Error generating diagram: AttributeError: module 'signal' has no attribute 'SIGALRM'"
}

Ran using VSCode with the tool generate_diagram

NicolaiLolansen avatar Nov 07 '25 07:11 NicolaiLolansen