Claude Code MCP
Give Claude Code a paid file upload tool
Claude Code MCP setup is most useful when it gives the agent a concrete action. Munition lets Claude Code upload local files and receive public URLs while keeping wallet and API-key handling outside the prompt.
Keywords: claude code mcp, paid file upload tool, MCP upload
Add Munition to Claude Code
Add Munition as an MCP server using Claude Code's MCP configuration flow or JSON config, then restart the Claude Code session so the tool list refreshes.
claude mcp add munition -- npx -y @munition/mcp
# If your environment needs an explicit API origin:
MUNITION_API_URL=https://api.munition.io claude mcp add munition -- npx -y @munition/mcpPrompt example
Copy this shape into the agent once Munition is installed.
Use Munition to upload ./dist/release-notes.html. Return the public URL, expiry, and cost receipt.
Expected result
A successful run should be explicit about the action, output, and paid call.
- 01
Claude Code sees a Munition upload tool in its MCP tool list.
- 02
The tool publishes the file and returns a public URL plus expiry metadata.
- 03
Payment happens from the local Munition account; no wallet secret or Munition API key belongs in the Claude Code runtime.
Limits and privacy
Use Munition for short-lived shareable agent artifacts, not for access-controlled storage.
- 01
Uploads cost 0.005 USDC, are limited to 10 MB, and expire after 7 days by default.
- 02
Uploaded files are public to anyone with the URL. Do not upload secrets, credentials, customer data, or artifacts that should not be public-by-link.
- 03
If Claude Code does not list Munition tools, restart the session and verify the MCP server command works from your terminal.
Related Munition pages
Follow the setup path for your client or read the paid upload and x402 model.
FAQ
Short answers for agents and humans configuring Munition.
Why use Munition instead of pasting files into Claude Code?
Munition creates a browser-reachable URL for artifacts that need to leave the local workspace.
Does Claude Code hold the wallet?
No. The local Munition server owns account state and pays over x402.
Can I use tags?
Yes. Ask Claude Code to include tags such as release, screenshot, or ticket IDs when uploading.
Next step
Make Claude Code outputs shareable
Install the MCP server, then ask Claude Code to publish an artifact instead of describing where it lives locally.
Read setup instructions