Skip to content

Awareness: OpenClaw gateway MCP process pool never cleans up uvx processes, causing memory leak #20

@zcya198

Description

@zcya198

Context

This is not an issue with the MiniMax-Coding-Plan-MCP itself, but wanted to make you aware of how it behaves when used with OpenClaw.'s MCP integration.\n\n## Issue\n\nWhen called via OpenClaw's MCP integration, each tool invocation spawns a new uvx minimax-coding-plan-mcp process pair (uv tool + python). OpenClaw never terminates these processes, leading to:\n\n- 88 processes after several days of normal usage\n- ~6GB RAM consumed\n- Only resolvable by restarting the OpenClaw gateway\n\n## Environment\n\n- MCP Server: minimax-coding-plan-mcp\n- Client: OpenClaw 2026.4.2 (d74a122)\n- OS: Linux Ubuntu\n\n## Question\n\nIs this the expected behavior? Is there a recommended way to limit the number of concurrent uvx instances from the MCP server side?\n\n## Related\n\nA bug report has been filed with OpenClaw: https://github.com/openclaw/openclaw/issues/62026\n\nThe issue appears to be in OpenClaw's gateway process pool lifecycle management, not in the MCP server itself. Just wanted to cross-post here in case others hit the same problem and search this repo first.

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