Skip to content

[Bug]: Playright MCP - McpError: MCP error -32601: Method not found #523

@davidkgp

Description

@davidkgp

What happened?

I am running Playright mcp server locally

npx @playwright/mcp@latest --port 8931
Listening on http://localhost:8931
Put this in your client config:
{
  "mcpServers": {
    "playwright": {
      "url": "http://localhost:8931/mcp"
    }
  }
}

when i use MCP Discovery Node with Output Prompts disabled -

Image

I get McpError: MCP error -32601: Method not found

while inspecting with wiremock it seems the prompts call is still made

{"method":"prompts/list","jsonrpc":"2.0","id":1}
HTTP/1.1 200 OK
Content-Type: text/event-stream
Cache-Control: no-cache
Connection: keep-alive
mcp-session-id: f51af558-0902-48c7-b2cb-341667a79854
Date: Fri, 12 Sep 2025 20:30:09 GMT
Transfer-Encoding: chunked

event: message
data: {"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"Method not found"}}

This also happens in STDIO mode

What was the expected functionality?

MCP Discovery Node's underlying call should respect the toggles on th ui and not call the prompts/list call

Describe your environment

MacOS
npm --version 11.6.0
node --version v24.2.0
npx --version 11.6.0
Rivet 1.11.3

Relevant log output

Relevant screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

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