MCP: Support direct media upload (upload-media / signed upload URL)

On Roadmap New
Feature Request wmek wmek · 4 hours ago · edited

Problem

Currently, the Mixpost MCP server only provides upload-media-by-url for adding files to the media library. In fact, the tool description of upload-media-by-url already mentions: "To upload raw bytes instead, use upload-media." However, no upload-media tool is exposed yet.

In corporate AI assistant environments, generated images and files are stored behind authenticated endpoints or inside a local sandbox and do not have a publicly accessible URL. As a result, upload-media-by-url fails with Remote file is not accessible.

Suggested solution:

Expose direct media upload capability through the MCP server, ideally via one (or both) of these patterns:

  1. upload-media tool (Base64 / data URI): Accept base64-encoded image/media bytes, filename, MIME type, and optional alt_text directly in the MCP call (great for AI-generated images up to a few MB).

  2. Signed / short-lived upload URL (request-media-upload): Return a temporary, pre-authenticated upload URL (scoped to the user's OAuth session) so clients or terminal sandboxes can POST binary files directly to Mixpost without exposing a long-lived Personal API Key.

This would make end-to-end AI workflows (generate image -> upload -> create draft/scheduled post) work natively via MCP without requiring custom REST API wrappers or public file hosting workarounds.

On Roadmap

Voters (1)

wmek wmek
Dima Botezatu Dima Botezatu System · 4 hours ago

This topic has been added to the roadmap.

Dima Botezatu Dima Botezatu · 4 hours ago

Agree 👍

Log in to reply