claude-agent-sdk-python
claude-agent-sdk-python copied to clipboard
The sdk should clean up mcp servers it launches on exit
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.
See https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/484