8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content
Can't connect to SSE server on preview 10 #340
Open
@nstayte

Description

@nstayte

Describe the bug
When using Windsurf MCP, it gets an error.
Failed to start mcp sse client: Endpoint origin does not match connection origin localhost:5000

This doesn't happen in preview8, but happens in 9 and 10.
If you run the sample server on the latest main there is no error, but if you run the latest tag preview 10 it has the error.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the csharp-sdk repo
  2. Checkout v0.1.0-preview tag
  3. Run the AspNetCoreSseServer
  4. Add this to the Windsurf mcp_config.json
    "test-server": { "serverUrl": "http://localhost:5000/sse" }
  5. Refresh the MCP servers in Windsurf
  6. Get the error
  7. Checkout main and restart the ASP server
  8. Refresh the MCP servers in Windsurf the error goes away and shows the tools

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0