Skip to content

MCP server in WAR on application server #763

@uhrm

Description

@uhrm

I'm trying to create an MCP server using the servlet-based HttpServletStreamableServerTransportProvider. The application should be deployable as a WAR on an application server (e.g. Wiildfly).

I'm struggling to understand how I can get this to work. The class HttpServletStreamableServerTransportProvider, although annotated as @WebServlet, is not instantiable by the container and its only constructor is private such that it cannot be extended (although it is not final).

What is the indended way of getting an MCP servlet running in this usage scenario?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions