Give Codex web search, PDFs and file uploads
Munition gives Codex paid tools: web search and page reading, HTML to PDF, flight search, forms, and file upload from your workspace. Add the remote server with two commands, or run the local one to upload files.
codex mcp add munition --url https://api.munition.io/mcp
codex mcp login munitionAdd Munition to Codex
Pick the remote connector unless Codex needs to upload files from your machine.
Remote connector
Recommended- Run the two commands below. The second one opens the Munition consent page in your browser.
- Approve it once. One click creates your Munition account.
codex mcp add munition --url https://api.munition.io/mcp
codex mcp login munitionLocal server
- Run the command below. It needs Node.js, for
npx. - Start a new Codex session so it loads the server.
codex mcp add munition --env MUNITION_API_URL=https://api.munition.io -- npx -y @munition/mcpWhat Codex can do with Munition
One fixed price per call, the same over MCP and HTTP. The free tools cost nothing.
Web search and page reading
$0.002 to $0.03 per call
Connector · Local server · HTTP + x402
ReferenceGoogle results, news, images and shopping; Exa search and cited answers; a page or a set of search results read as clean text.
- web_contents$0.002
- google_search$0.004
- google_news$0.004
- google_images$0.004
- google_shopping$0.004
- web_search$0.01
- web_find_similar$0.01
- web_answer$0.01
- web_scrape$0.015
- web_search_scrape$0.03
File upload
$0.005 per call
Local server · HTTP + x402
ReferenceOne local file, up to 10 MiB, at a public URL for 7 days. Renew it, list recent uploads or delete one. Needs the local package: the connector cannot read your disk.
- upload$0.005
- renew_upload$0.005
- recent_uploadsFree
- delete_uploadFree
HTML to PDF
$0.02 per call
Connector · Local server · HTTP + x402
ReferenceSelf-contained HTML in, an A4 PDF at a public link out. For reports, invoices and source lists the agent writes.
- render_pdf$0.02
Forms
$0.01 per call
Connector · Local server · HTTP + x402
ReferenceA web form with up to 20 questions and a public link. People answer without an account; the agent reads the answers as JSON, up to 100 per form.
- create_form$0.01
- form_responsesFree
- close_formFree
Flight search
$0.001 to $0.05 per call
Connector · Local server · HTTP + x402
ReferenceLive offers from Duffel, the details of one offer, airport lookup, and free links that open the same search on KAYAK or Kiwi.com. Munition never books or sells a ticket.
- airports_search$0.001
- flight_offer_details$0.01
- search_flights$0.05
- flight_booking_linksFree
Try it
Once Munition is connected, ask in plain words. The agent picks the tool.
- Web search and page reading
“Search the web with Munition for how other projects pin pnpm in CI, then suggest a setup for this repo.”
- File uploadLocal server
“Upload ./reports/q4-summary.pdf with Munition, tag it q4, and give me the public link.”
- Forms
“Create a Munition form asking beta users to rate the new CLI from 1 to 5, with an optional comment. Print the link.”
Good to know
- Public by link
- Anyone with the URL can open an uploaded file or a rendered PDF until it expires. Never upload secrets,
.envfiles or customer data. - Spending limits
- Each connector connection can spend at most $1 per call and $5 per 24 hours. Its paid tools are flagged as actions that change your balance, so clients that confirm actions ask you first.
- Tools not showing up?
- Run
codex mcp listto check the server is there. For the remote server, runcodex mcp login munitionagain. For the local one, check thatnpx -y @munition/mcpruns in the same shell.
FAQ
No. The remote server creates an anonymous account when you approve the consent page; the local one creates it on first use and keeps it in ~/.munition/config.json.
Remote, unless Codex needs to upload files: only the local server can read local paths. Both use a Munition account and the same prices.
New accounts start at $0. When a paid tool needs funds, it returns a top-up link valid for 15 minutes: add funds by card where an onramp is available, or send USDC on Base. You can also ask for topup_link at any time. There is no top-up fee.
Next step
Pay for the calls your agent makes, nothing else
Every tool has a fixed price per call. The docs list them all, and explain how agents pay over x402 without an account.