Skip to content

tomcat can not shutdown #4002

@lfz757077613

Description

@lfz757077613

Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create.
If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:

Bug description
I run a empty project with one mcp tool and use MCP Inspector to connect mcp server, then i shutdown project,it will block in tomcat.GracefulShutdown.

Image

Environment
springboot 3.5.4
spring-ai-starter-mcp-server-webmvc 1.01
Steps to reproduce
start springboot server, connect mcp server, shutdown springboot server

Minimal Complete Reproducible example

testProject.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions