Skip to content

[Bug]: #561

@wangmian7

Description

@wangmian7

Summary

Image on mac os npx mcp can't work

Steps to reproduce

  1. config npx mcp in opencode.jsonc
    "playwright": {
    "type": "local",
    "command": [
    "npx",
    "@playwright/mcp@latest",
    "--extension"
    ],
    "environment": {
    "PLAYWRIGHT_MCP_EXTENSION_TOKEN": "YYlvY568G9qYSHPLt1wwwyKbQNY6kjjlZPhTKzRwwww"
    },
    "enabled": true
    }
  2. error message:Executable not found in $PATH: "npx". I've already installed npx.

Expected behavior

The MCP tool can be used .

Actual behavior

error message

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