2.8 KiB
2.8 KiB
Cremote MCP Tools - Quick Reference
Tool Names
web_navigate_cremotemcp
- Navigate to URLsweb_interact_cremotemcp
- Interact with elementsweb_extract_cremotemcp
- Extract page dataweb_screenshot_cremotemcp
- Take screenshotsweb_manage_tabs_cremotemcp
- Manage browser tabsweb_iframe_cremotemcp
- Switch iframe contextfile_upload_cremotemcp
- Upload files to containerfile_download_cremotemcp
- Download files from containerconsole_logs_cremotemcp
- Get browser console logsconsole_command_cremotemcp
- Execute console commands
Essential Parameters
web_navigate_cremotemcp
url: "https://example.com" # Required
screenshot: true # Optional, default false
timeout: 10 # Optional, default 5 seconds
web_interact_cremotemcp
action: "click" # Required: click|fill|submit|upload
selector: "button.submit" # Required: CSS selector
value: "text to fill" # Required for fill/upload actions
timeout: 10 # Optional, default 5 seconds
Common Patterns
Navigate + Screenshot
web_navigate_cremotemcp:
url: "https://example.com"
screenshot: true
Fill Form Field
web_interact_cremotemcp:
action: "fill"
selector: "input[name='email']"
value: "user@example.com"
Click Button
web_interact_cremotemcp:
action: "click"
selector: "button#submit"
Submit Form
web_interact_cremotemcp:
action: "submit"
selector: "form"
Upload File
web_interact_cremotemcp:
action: "upload"
selector: "input[type='file']"
value: "/path/to/file.pdf"
Upload File to Container
file_upload_cremotemcp:
local_path: "/home/user/document.pdf"
container_path: "/tmp/upload.pdf"
Download File from Container
file_download_cremotemcp:
container_path: "/tmp/downloaded.pdf"
local_path: "/home/user/Downloads/file.pdf"
Get Console Logs
console_logs_cremotemcp:
clear: true
Execute Console Command
console_command_cremotemcp:
command: "document.title"
timeout: 10
Best CSS Selectors
✅ Good:
#unique-id
input[name='fieldname']
button.primary-submit
form#login-form
❌ Avoid:
div
(too generic)input
(too broad):nth-child(3)
(fragile)
Typical Workflow
- Navigate to target page
- Fill required form fields
- Click submit buttons
- Take screenshots for verification
- Navigate to next page if needed
Error Handling
- Element not found: Check CSS selector
- Timeout: Increase timeout parameter
- Navigation failed: Verify URL accessibility
Screenshots
Screenshots are automatically saved to /tmp/navigate-{timestamp}.png
when requested.