Skip to content

The sdk should clean up mcp servers it launches on exit #291

@connorosborn-sf

Description

@connorosborn-sf
    options = ClaudeAgentOptions(
        mcp_servers={
            "chrome-devtools": {
                "type": "stdio",
                "command": "npx",
                "args": [
                    "-y",
                    "chrome-devtools-mcp@latest",
                    "--isolated"
                ]
            }
        },
    )

I'm seeing that any prompt which launches a browser, will leave that browser open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions