generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 347
Open
Description
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
Mac
Expected behaviour
MCP server processes started by Q CLI continue running as background processes even after the terminal session is closed, leading to resource accumulation and potential system performance issues.
Ideally, All MCP server processes should be terminated when Q CLI exits or the terminal is closed.
Actual behaviour
MCP server processes remain running as orphaned background processes. In the reported case, 80+ Python processes were found running from .cache/uv/archive-v0/ directories for various AWS MCP servers (cost-explorer,
bedrock, cfn, documentation, billing, terraform, etc.).
Steps to reproduce
Steps to Reproduce:
- Start Q CLI with MCP servers configured
- Use various MCP tools/servers during the session
- Close the terminal or exit Q CLI
- Check running processes with ps aux | grep -i "python.*.cache"
Environment
• OS: macOS
• Q CLI version: [current version]
• MCP servers: AWS Labs MCP servers (cost-explorer, bedrock-kb-retrieval, cfn, documentation, billing, etc.)Metadata
Metadata
Assignees
Labels
No labels