Skip to content

[IntelliJ] azmcp process continues running after Azure Toolkit plugin is disabled #11622

@timsearle

Description

@timsearle

Summary

The azmcp MCP server process continues running in the background after the Azure Toolkit for IntelliJ plugin has been disabled, consuming significant system resources.

Environment

  • IntelliJ build version: 2025.2
  • OS: macOS (Darwin)
  • Plugin version: azure-toolkit-for-intellij (azmcp_package_0.5.8)
  • azmcp path: ~/Library/Application Support/JetBrains/IntelliJIdea2025.2/plugins/azure-toolkit-for-intellij/azmcp/azmcp_package_0.5.8/package/dist/azmcp

Steps to Reproduce

  1. Install Azure Toolkit for IntelliJ plugin
  2. Use IntelliJ normally (azmcp process starts)
  3. Disable the Azure Toolkit plugin via IntelliJ Preferences > Plugins
  4. Restart IntelliJ or quit the application
  5. Observe that the azmcp server start process continues running

Expected Behavior

When the Azure Toolkit plugin is disabled, all associated processes (including azmcp) should be terminated.

Actual Behavior

The azmcp process continues running indefinitely after the plugin is disabled, consuming:

  • CPU: 90%+
  • Memory: ~22GB RAM
ps aux | grep azmcp
tim.searle  75173  90.9 33.8 460417360 22670944  ??  R  12:10p.m.  47:03.46 /Users/tim.searle/Library/Application Support/JetBrains/IntelliJIdea2025.2/plugins/azure-toolkit-for-intellij/azmcp/azmcp_package_0.5.8/package/dist/azmcp server start

The process required a force termination signal as a regular termination signal was ignored.

Additional Context

No LaunchAgents were found keeping the process alive - it appears to be orphaned from the original IntelliJ session.

Related Issues

This may be related to #11213 which reports memory issues with azmcp, though that issue focuses on memory leaks while the plugin is enabled rather than the process persisting after disabling.

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