-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
🐞 BugSomething isn't workingSomething isn't working📌 Root causedidentified the root cause of bugidentified the root cause of bug
Description
crawl4ai version
0.8.0
Expected Behavior
When calling the screenshot MCP tool with an output path, I expect it to save it to that path on my file system. I also expect it to save a PNG, as described in the MCP tool description: "Capture a full-page PNG screenshot of the specified URL [...]"
Example usage:
url: https://example.com
screenshot_wait_for: 2
output_path: C:\my\path\screenshot.png
Current Behavior
The screenshot is saved to the file system of my docker container (in the /app/ folder), running on a different computer.
I wasn't able to check the file saved to my docker filesystem, but when calling the tool without an output path, I am not returned PNG, but rather (base-64 encoded, which is fine) BMP.
Is this reproducible?
Yes
Inputs Causing the Bug
-Crawl4Ai Docker container running on my linux server
-I am using Windows
-I installed the MCP tool to cursor.Steps to Reproduce
Ask the cursor AI agent to use the screenshot tool to save a png image to a specific path.Code snippets
OS
Windows (me), Linux (MCP Server)
Python version
/
Browser
/
Browser version
/
Error logs & Screenshots (if applicable)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐞 BugSomething isn't workingSomething isn't working📌 Root causedidentified the root cause of bugidentified the root cause of bug