[GH-ISSUE #181] issue: playwright-mcp not getting the request bodies #83

Open
opened 2026-10-18 21:11:28 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @mlaihk on GitHub (Jun 20, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/181

openwebui-log.txt

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of mcpo.

mcpo Version

0.3.11

Open WebUI Version (if applicable)

0.6.15

Operating System

Docker WSL

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both MCPO and Open WebUI.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

properly formatted api calls with url as request body like:

curl -X 'POST'
'http://mcpo:8000/playwright/browser_navigate'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"url": "https://www.hko.gov.hk"
}'

Actual Behavior

I got an error on tool call saying request body is empty:

From the Open WebUI chat with Qwen3 native tool call:
{
"arguments": {
"url": "https://www.hko.gov.hk"
},
"name": "tool_browser_navigate_post"
}
{
"error": "Request body expected for operation 'tool_browser_navigate_post' but none found."
}

Steps to Reproduce

  1. Add official ms-playwright mcp to config.json:

    "playwright": {
    "command": "npx",
    "args": [
    "@playwright/mcp@latest",
    "--isolated",
    "--no-sandbox"
    ]
    }

  2. Reboot mcpo

  3. In OpenWebui add the mcpo:8000/playwright to tools.

  4. Call tool with prompt: "Retrieve the html from this link https://www.hko.gov.hk"

Logs & Screenshots

Image

Additional Information

`

openwebui-log.txt

`

Originally created by @mlaihk on GitHub (Jun 20, 2025). Original GitHub issue: https://github.com/open-webui/mcpo/issues/181 [openwebui-log.txt](https://github.com/user-attachments/files/20834539/openwebui-log.txt) ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of mcpo. ### mcpo Version 0.3.11 ### Open WebUI Version (if applicable) 0.6.15 ### Operating System Docker WSL ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** MCPO and Open WebUI. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior properly formatted api calls with url as request body like: curl -X 'POST' \ 'http://mcpo:8000/playwright/browser_navigate' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://www.hko.gov.hk" }' ### Actual Behavior I got an error on tool call saying request body is empty: From the Open WebUI chat with Qwen3 native tool call: { "arguments": { "url": "https://www.hko.gov.hk" }, "name": "tool_browser_navigate_post" } { "error": "Request body expected for operation 'tool_browser_navigate_post' but none found." } ### Steps to Reproduce 1. Add official ms-playwright mcp to config.json: "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest", "--isolated", "--no-sandbox" ] } 2. Reboot mcpo 3. In OpenWebui add the mcpo:8000/playwright to tools. 4. Call tool with prompt: "Retrieve the html from this link https://www.hko.gov.hk" ### Logs & Screenshots <img width="566" alt="Image" src="https://github.com/user-attachments/assets/f3b50b21-1348-4635-9d7f-cd3d12cf568b" /> ### Additional Information ` [openwebui-log.txt](https://github.com/user-attachments/files/20834574/openwebui-log.txt) `
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/mcpo#83
No description provided.