u/alejotoro_o

Uploading media files with the MCP Plugin

I am trying to implement the MCP plugin to create blog posts drafts. In order to allow adding the hero image, I have to enable the media collection in the plugin; however, the tool payload_createMedia throws the error:

ERROR: [payload-mcp] Error creating resource in media: No files were uploaded.

It seems that either the tool does not allow performing the upload, or the model is not capable. I cannot upload the file using the REST API as the collection requires the user to be authenticated, with this in mind, do i need to use an API key strategy to authenticate and then upload the file via REST API and only use the MCP for the metadata?

Has anyone used the MCP for something similar and can provide some guidance?

reddit.com
u/alejotoro_o — 4 days ago

Hi everyone, for some time, I have been getting this database backup error sporadically when using the S3 backup.

>Database backup for coolify-db (db:coolify) with frequency of 0 0 * * * succeeded locally but failed to upload to S3.

>S3 Error: Unable to find image 'ghcr.io/coollabsio/coolify-helper:1.0.13' locally docker: Error response from daemon: toomanyrequests: retry-after: 904.679µs, allowed: 44000/minute

>Run 'docker run --help' for more information

>Check S3 Configuration: <my-instance-url>/storages/a11t834fs9er0djczr00e79l

The thing is the S3 bucket (actually a R2 cloudflare instance) appears usable in the dashboard, and the backup works fine most of the time. Also, when i click on the dashboard "Backup Now" to do the manual backup, the S3 backup is done correctly.

Does anyone know how to solve this problem or have experienced the same issue?

u/alejotoro_o — 2 months ago