Cursor MCP

Upload files from Cursor with Munition MCP

Cursor MCP configuration can expose Munition as a product integration instead of a generic tool guide. The agent can publish generated files, screenshots, or reports and return a URL from inside the editor.

Keywords: cursor mcp, Cursor MCP config, upload files from Cursor

Cursor MCP config

Add this server to Cursor's MCP configuration or use Cursor's MCP install flow with the same command and environment.

{
  "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 ./coverage/index.html with Munition and give me the public URL I can share in the PR.

Expected result

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

  • 01

    Cursor starts the local @munition/mcp server and lists its tools.

  • 02

    The agent uploads the requested file and returns a public URL, expiry timestamp, and cost receipt.

  • 03

    If Cursor does not show the tool, check the MCP settings screen, restart Cursor, and verify npx can install @munition/mcp.

Limits and privacy

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

  • 01

    Uploads cost 0.005 USDC, accept one file up to 10 MB, and are retained for 7 days by default.

  • 02

    Uploaded files are public to anyone with the URL. Do not upload .env files, source maps with secrets, customer data, or anything that should not be public-by-link.

  • 03

    Cursor marketplace or directory listings can help with discovery, but the manual config is the source of truth for this setup.

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

FAQ

Short answers for agents and humans configuring Munition.

Where do I put the Cursor config?

Use Cursor's MCP settings or project/global MCP config and paste the Munition server block there.

Can Cursor upload build artifacts?

Yes, as long as the artifact is a single file under 10 MB and the agent can read its path.

Does the upload URL require a login?

No. It is public-by-link and expires after the retention window unless renewed.

Next step

Publish Cursor artifacts from the editor

Add the MCP server, then ask Cursor to upload exactly the file you want to share.

Open MCP file upload guide