Skip to content

Questions related when stateless is true #478

Open
@hemantkathuria

Description

@hemantkathuria

I am trying to make MCP server work with ASP.Net core. Getting 405 when I enable stateless, on launch it give 405. I think GET is not supported when stateless is true.

  1. If stateless is false then in case of server farm can I set sticky routing based on mcp-session-id header? I tried this but did not work.

  2. When stateless is true, any config needs to be done at asp.net side? It seems DAPI keys needs to be shared? It is briefly mentioned here. Add stateless Streamable HTTP support #392

  3. What is the suggested mode? Any performance impact when stateless is true?
     
    ` services.AddMcpServer()
    .WithHttpTransport(options =>
    {
    options.Stateless = true;
    })
    .WithTools();

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