Skip to content

ASP.NET Core SSE server is incompatible with Unity — reimplementation available using EmbedIO #324

Closed as not planned
@WHedlund

Description

@WHedlund

Is your feature request related to a problem? Please describe.
Yes. ASP.NET is currently incompatible with the Unity Editor, which prevents hosting an SSE (Server-Sent Events) server using this framework. This limitation makes it difficult to implement real-time communication features in Unity projects using ASP.NET.

Describe the solution you'd like
I’ve implemented an SSE server for Unity using ModelContextProtocol (MCP) with EmbedIO. You can check out the implementation here:
https://github.com/WHedlund/ModelContextProtocolUnityEmbedIO
I’d love to see something like this officially supported or incorporated into the main MCP repository.

Describe alternatives you've considered
I initially tried using ASP.NET-based approaches, but the lack of compatibility with the Unity Editor was a blocker. Other solutions either required external services or added unnecessary complexity.

Additional context
Feel free to adopt or improve on my implementation if it fits within the project’s goals!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions