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

Comment From: jackdpeterson

This might be a duplicate of Issue 342 on the Java SDK. I'm also observing thread starvation under very low load. working to figure out root cause. At first I thought I was being sloppy with DB connections inside of my @Tool but it doesn't seem to be the case. Researching...