MCP: Posts and media
import_media
Add an image or video from a URL. Flung fetches a public https image or video and keeps a copy; pass the returned id in mediaIds to schedule_post. JPEG, PNG, WebP, GIF, MP4 and QuickTime, up to 100 MB this way.
TL;DR
| Question | Answer |
|---|---|
| What does it do? | Flung fetches a public https image or video and keeps a copy; pass the returned id in mediaIds to schedule_post. JPEG, PNG, WebP, GIF, MP4 and QuickTime, up to 100 MB this way. |
| Does it change anything? | Changes something. |
| Which endpoint does it call? | POST /v1/media/import |
| Which server? | https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key). |
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
url | string | yes | A public https address of the file. at most 2048 characters. |
Example call
json
{ "name": "import_media", "arguments": { "url": "https://example.com/launch.jpg" }}Things a person might say
- "Post this image to Instagram: https://example.com/launch.jpg (opens in a new tab)"
Annotations
| Hint | Value |
|---|---|
readOnlyHint | false |
destructiveHint | false |
idempotentHint | false |
openWorldHint | true |
See also
| Doc | Why |
|---|---|
| MCP tools | Every tool |
| Connect an AI agent | Install the server in your client |
POST /v1/media/import | The same operation over HTTP |