Skip to content

TypeError: unhashable type: 'list' when using MCP Adapter #6723

@ayhamakeed2000

Description

@ayhamakeed2000

What happened?

Describe the bug
I think the MCP Adapter defined in autogen_ext.tools.mcp needs an update.
I'm trying to use powerpoint MCP ('https://github.com/Ichigo3766/powerpoint-mcp') using this adapter and I'm getting this error is:

TypeError: unhashable type: 'list'

To Reproduce
Try to use this mcp with any agent
The mcp config is:

"powerpoint": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/powerpoint",
        "run",
        "powerpoint",
        "--folder-path",
        "/path/to/decks_folder"
      ]
    }

Expected behavior
Fetch the MCP tools properly

Which packages was the bug in?

Python Extensions (autogen-ext)

AutoGen library version.

Python 0.6.1

Other library version.

No response

Model used

No response

Model provider

None

Other model provider

No response

Python version

3.11

.NET version

None

Operating system

MacOS

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions