Skip to content

mount_path does not work with sse_app #783

Open
@kinch-tech

Description

@kinch-tech

while i start mcp server with mcp.run, provided with mount_path, then client get bad response with 404。

the endpoint for handling post message should be normalized_message_endpoint, not the original message_path

        routes.append(
            Mount(
                self.settings.message_path,
                app=sse.handle_post_message,
            )
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions