You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and configured like in the docs example (which is broken btw, issue #230 in that repository, PR with fix is there, awaits review).
Now I start up claude as client and see it working - great. but looking into the activity monitor I see that after a few restarts of claude there are multiple dotnet processes spawned that do not get killed so I have to do it manually.
Expected behavior
I'd have hoped that the SDK somehow knows when the client quits and kills all spawned processes. If not, at least the example should be made clearer with steps to mitigate this behaviour.
Logs
Additional context
running on a M3 Macbook Pro
The text was updated successfully, but these errors were encountered:
The client is supposed to kill the spawned process, but in cases of non-conformant or on-graceful shutdown when it doesn't, the server should automatically go away with #142.
Thanks for the information, then let's wait to see if this solves it 👍 I tried to implement my own lifetime management, which worked when starting the server in the IDE, but led to the tools not showing up in claude desktop at all, so I hope your PR solves it.
Describe the bug
I have an MCP like this one:
{
"mcpServers": {
"MyMCP": {
"command": "dotnet",
"args": [
"run",
"--project",
"/Users/me/git/dguhr/MyMCP",
"--no-build"
]
}
}
}
and configured like in the docs example (which is broken btw, issue #230 in that repository, PR with fix is there, awaits review).
Now I start up claude as client and see it working - great. but looking into the activity monitor I see that after a few restarts of claude there are multiple
dotnet
processes spawned that do not get killed so I have to do it manually.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd have hoped that the SDK somehow knows when the client quits and kills all spawned processes. If not, at least the example should be made clearer with steps to mitigate this behaviour.
Logs
Additional context
running on a M3 Macbook Pro
The text was updated successfully, but these errors were encountered: