Skip to content

AWS Diagram MCP: No output files #580

@SebastianArnesson

Description

@SebastianArnesson

Describe the bug

I'm running the AWS Diagram MCP with Docker MCP Toolkit and Cursor. When trying to generate a diagram both the agent and docker logs shows success but no diagram is outputed.

Here is the final output of the container:

{"jsonrpc":"2.0","id":12,"result":{"content":[{"type":"text","text":"{\"status\": \"success\", \"path\": \"/tmp/generated-diagrams/patch_management_architecture.png.png\", \"message\": \"Diagram generated successfully at /tmp/generated-diagrams/patch_management_architecture.png.png\"}"}],"is-error":false}}

In the end the folder i s empty and the agent believes the image is correctly copied to my project folder.

Expected Behavior

Output generated diagram to my project folder or error response.

Current Behavior

No generated picture and no errors.

Reproduction Steps

  1. Install MCP Toolkit in Docker
  2. Activate AWS Diagram
  3. Link to Cursor
  4. Activate MCP in Cursor
  5. Prompt for diagram in project with AWS resources (in my case Terraform)

Possible Solution

It's possible that this is a problem with Dockers MCP Toolkit or perhaps lack of permission in the container.

I would at least purpose implement checking for the generated files before responding.

Additional Information/Context

Docker: 4.41.2 (191736)
Cursor: 0.50.7
VSCode: 1.96.2

OS

Windows 11

Server

aws-diagram-mcp-server

Server Version

0.0.1

Region experiencing the issue

eu-central-1

Other information

No response

Service quota

  • I have reviewed the service quotas for this construct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageThis needs to be handled, it is the first automatically assigned label to issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions