Skip to content

MCP enabled but frontend proxy route /mcp/stream missing in penpot-aio 2.16.0 #27

Description

@stewartmcfarland

Using:

jsonbored/penpot-aio:latest

Image revision:
715bd1c09e8a8cf3f9911cb94b24c5803c5b7e2f

MCP is enabled:

PENPOT_AIO_ENABLE_MCP=true
PENPOT_AIO_DEFAULT_FLAGS=enable-smtp enable-mcp enable-access-tokens

The bundled MCP service starts correctly:

Modern Streamable HTTP endpoint:
http://127.0.0.1:4401/mcp

However the generated frontend nginx config contains no MCP routes.

Checked:

/tmp/nginx.conf.template
/etc/nginx/nginx.conf
/etc/nginx/overrides

No references to:

/mcp
/mcp/stream
4401
4402

The public MCP URL generated by Penpot:

https://domain/mcp/stream?userToken=...

returns:

HTTP/2 301
Location: /404

because it falls through to the frontend catch-all.

The README/template states MCP should be:
"proxied through the frontend by default"

Expected:
Frontend nginx should proxy /mcp/stream to the bundled MCP service.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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