Skip to content

ClaudeSDKClient does not terminate spawned MCP process on program exit (chrome-devtools-mcp) #543

@xiakaixiong

Description

@xiakaixiong

When using ClaudeSDKClient with an MCP server configured via command/args, the MCP process started by the SDK is not terminated when the Python program exits.

{
"chrome-devtools": {
"command": "npx",
"args": [
"-y",
"chrome-devtools-mcp@latest",
"--isolated=true"
]
}
}

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