Skip to content

[BUG]: Run MCP Failed #57

@albertma

Description

@albertma

Description of the bug

AttributeError: 'MCPClients' object has no attribute 'session'. Did you mean: 'sessions'?
^^^^^^^^^^^^^^^
File "/OpenManus/run_mcp.py", line 112, in run_mcp
await runner.cleanup()
File "/OpenManus/run_mcp.py", line 65, in cleanup
await self.agent.cleanup()
File "/OpenManus/app/agent/mcp.py", line 174, in cleanup
if self.mcp_clients.session:
^^^^^^^^^^^^^^^^^^^^^^^^

Steps To Reproduce

run $python run_mcp.py

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions