MCP file upload

File uploads for MCP agents

Agents often need to turn local artifacts into shareable URLs. Munition exposes mcp file upload, mcp upload, and mcp file server workflows through a local MCP adapter backed by a paid upload API.

Keywords: mcp file upload, mcp upload, mcp file server, file upload api

Install the MCP file upload server

Use this MCP config in Codex, Claude Code, Cursor, Claude Desktop, Gemini CLI, ChatGPT Developer Mode when local stdio MCP is available, or another client that can run npx.

{
  "mcpServers": {
    "munition": {
      "command": "npx",
      "args": ["-y", "@munition/mcp"],
      "env": {
        "MUNITION_API_URL": "https://api.munition.io"
      }
    }
  }
}

Prompt example

Copy this shape into the agent once Munition is installed.

Upload ./out/chart.png with Munition, tag it chart and demo, and give me a Markdown image link.

Expected result

A successful run should be explicit about the action, output, and paid call.

  • 01

    The agent calls upload with a local file path and optional tags.

  • 02

    Munition returns a public URL that can be pasted into Markdown, webhooks, tickets, or chat.

  • 03

    The upload costs 0.005 USDC, supports files up to 10 MB, and expires after 7 days unless renewed.

Limits and privacy

Use Munition for short-lived shareable agent artifacts, not for access-controlled storage.

  • 01

    Supported clients include Codex, Claude Code, Cursor, Claude Desktop, Gemini CLI, and ChatGPT Developer Mode when they can connect to a compatible MCP server.

  • 02

    Uploaded files are public to anyone with the URL and retained for 7 days by default.

  • 03

    Munition is not a general storage bucket; use S3, Filestack, or Uploadcare for long-lived application storage and transformations.

Follow the setup path for your client or read the paid upload and x402 model.

FAQ

Short answers for agents and humans configuring Munition.

How much does mcp file upload cost?

The current upload price is 0.005 USDC per file. Renewing an upload for another 7 days also costs 0.005 USDC.

What is the file size limit?

Each file can be up to 10 MB.

Are uploaded files behind auth?

No. The returned URL is public-by-link, so only upload files that are safe to share that way.

What is the simplest workflow?

Install @munition/mcp, fund the local account, ask your agent to upload a path, then paste the returned URL where you need it.

Next step

Start with one upload

Use the setup prompt or the MCP config, then ask your agent to publish a local artifact.

Open upload overview