-
Notifications
You must be signed in to change notification settings - Fork 31
Feature Request: Add upload_asset action to asset_tool #78
Copy link
Copy link
Open
Description
Summary
The asset_tool currently supports create_folder, get_all_assets_and_folders, and update_asset actions, but does not support uploading new assets.
The Webflow Data API has the POST /sites/{site_id}/assets endpoint (docs) which enables asset uploads, but this functionality is not exposed in the MCP server.
Use Case
When automating CMS workflows (e.g., creating landing pages with images programmatically), we need to:
- Upload images (OG images, thumbnails) to Webflow
- Reference the uploaded asset IDs in CMS collection items
Currently, there's no way to do step 1 via MCP, which breaks the automation workflow.
Proposed Solution
Add an upload_asset or create_asset action to the asset_tool that:
- Calls
POST /sites/{site_id}/assetsto getuploadUrlanduploadDetails - Uploads the file to the S3 presigned URL
- Returns the created asset ID
Possible API shape:
{
"upload_asset": {
"file_url": "https://example.com/image.webp", // OR base64 content
"file_name": "og-image.webp",
"parent_folder_id": "optional-folder-id"
}
}Current Workaround
Manual upload via Webflow Designer, which defeats the purpose of automation.
Environment
- MCP Server version: latest
- Using with: Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels