Skip to content

SSE server must expose two separate endpoints #26

@blkt

Description

@blkt

The MCP spec mandates the use of two separate endpoints

  • one for SSE stream (i.e. server-to-client communication)
  • one for commands (i.e. client-to-server communication)

Here's the excerpt from the spec

The server MUST provide two endpoints:

  1. An SSE endpoint, for clients to establish a connection and receive messages from the server
  2. A regular HTTP POST endpoint for clients to send messages to the server

Code at these lines only expose one, which works fine in some cases, but is not 100% adherent to the spec.

I'd say this is a minor bug, but it's worth mentioning and possibly fixing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions