Skip to content

Unit 1 MCP Clients: An unexpected error occurred: 'command' when running tiny-agents run agent.json #148

@PhilippWuerfel

Description

@PhilippWuerfel

https://huggingface.co/learn/mcp-course/unit1/mcp-clients

This is your implementation for agent configuration file agent.json:

{
    "model": "Qwen/Qwen2.5-72B-Instruct",
    "provider": "nebius",
    "servers": [
        {
            "type": "stdio",
            "config": {
                "command": "npx",
                "args": ["@playwright/mcp@latest"]
            }
        }
    ]
}

I believe the proper json should look like the following:

{
    "model": "Qwen/Qwen2.5-72B-Instruct",
    "provider": "nebius",
    "servers": [
        {
            "type": "stdio",
            "command": "npx",
            "args": ["@playwright/mcp@latest"]
        }
    ]
}

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