Skip to content

SSE Endpoint Event for Message Post endpoint#3

Merged
patvice merged 4 commits intomainfrom
correct-sse-support
Jun 4, 2025
Merged

SSE Endpoint Event for Message Post endpoint#3
patvice merged 4 commits intomainfrom
correct-sse-support

Conversation

@patvice
Copy link
Owner

@patvice patvice commented Jun 4, 2025

Dynamically support the correct message endpoint from the server instead of assume it's a gsub on "/sse" to "/message".

Instead, when opening the SSE connection we get send a message:
{data: "/to/a_post_endpoint", event: "endpoint" }

or

{data: "https://mymcp.ai/to/a_post_endpoint", event: "endpoint" }

We will support both full url's and path urls to be sent via the endpoint event.

Thank you to schappim for raising this issue!

@patvice patvice merged commit 3f7648e into main Jun 4, 2025
1 check passed
@patvice patvice deleted the correct-sse-support branch June 4, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant