llms.txt
+30 −6
https://munition.io/llms.txt
− > Munition is agentic x402 infrastructure for small paid services, anonymous accounts, and per-account USDC wallet funding on Base. Direct x402 and MPP routes also accept payment in USDC on Polygon, Arbitrum, and (x402 only) Solana.− Munition is the infrastructure. Services live inside it. Current services include Munition Upload for temporary public file URLs, Munition HTML to PDF, web search / page reading / Google results proxies (Exa, Firecrawl, Serper), Munition Flight Search for live flight offers, Munition Airport Search for airport reference data, and Munition Flight Offer Details for paid offer lookups.− - Current services: Munition Upload, Munition HTML to PDF, Exa/Firecrawl/Serper search and page-reading proxies, Munition Flight Search, Munition Airport Search, and Munition Flight Offer Details.− - [MCP Registry metadata](https://api.munition.io/.well-known/mcp-server.json): Machine-readable package, transport, and install metadata.− - [Pricing API](https://api.munition.io/v1/tools/prices): Current machine-readable upload and renewal prices.− - [upload](https://munition.io/skill.md): Upload a local file up to 10 MB and return a public URL plus optional tags metadata, retained for 7 days. Cost: 0.005 USDC.+ > Munition is agentic x402 infrastructure for small paid services, anonymous accounts, and per-account USDC wallet funding on Base. Direct x402 routes advertise USDC on Base, Polygon, Arbitrum, and Solana. Separate MPP routes cover upload, flight search, and upload renewal/deletion on Base, Polygon, and Arbitrum.+ Munition is the infrastructure. Services live inside it. Current services include Munition Upload for temporary public file URLs, Munition HTML to PDF, web search / page reading / Google results proxies (Exa, Firecrawl, Serper), Munition Flight Search for live flight offers, Munition Airport Search for airport reference data, Munition Flight Offer Details for paid offer lookups, and free Flight Booking Links for external searches.+ - Current services: Munition Upload, Munition HTML to PDF, Exa/Firecrawl/Serper search and page-reading proxies, Munition Flight Search, Munition Airport Search, Munition Flight Offer Details, and free Flight Booking Links.+ - `flight_booking_links(origin, destination, departureDate, returnDate?)` constructs Kayak and Kiwi search URLs locally for free, without Munition onboarding, an account, wallet, payment, provider API call, or affiliate setup.+ - HTTP clients can send the same input to free, unauthenticated `POST https://api.munition.io/v1/tools/flight-booking-links`. The server constructs URLs without calling a travel provider.+ - Flight booking links start new external searches. Travelers must review passenger counts, cabin, availability, seller, and price outside Munition. They do not preserve or guarantee any Duffel offer or fare.+ - Generated links contain no Munition tracking or affiliate identifiers and carry no affiliate commission. Commercial and affiliate use remains subject to provider terms; acceptance into the relevant program is required before adding affiliate identifiers.+ - [Use cases](https://munition.io/examples): File sharing, source-list PDFs and flight-search links. Developer scripts and offline dry runs: research to PDF (0.03 USDC paid-mode cap), file to URL (0.005 USDC cap), and free external flight-search links. Direct HTTP, not PDF/web MCP tools. Source and payment controls: https://github.com/benjammartin/munitionx402/blob/main/docs/EXAMPLES.md. No paid execution occurs by default.+ - [Agent workflow skill](https://munition.io/downloads/munition-workflows.zip): Self-contained folder with SKILL.md and the same three Node.js workflows. Unzip into your agent’s skills directory. Offline dry runs by default; installation does not authorize paid execution. Guide: https://github.com/benjammartin/munitionx402/blob/main/docs/AGENT-WORKFLOWS.md.+ - [MCP package metadata](https://api.munition.io/.well-known/mcp-server.json): Machine-readable package, transport, and install metadata.+ - [MPP resources](https://api.munition.io/.well-known/mpp.json): Separate MPP endpoints and payment metadata.+ - [Agent payment OpenAPI](https://api.munition.io/openapi-agents.json): Pay-per-call routes for payment clients; the full OpenAPI document also includes account endpoints.+ - [Pricing API](https://api.munition.io/v1/tools/prices): Current machine-readable paid-tool prices.+ ## Choose by intent+ - Share an existing PDF, screenshot, report, or JSON file: MCP `upload` with its absolute local path, or the direct HTTP upload flow below. Maximum 10 MiB; 0.005 USDC for 7-day retention.+ - Produce a PDF from HTML: HTTP x402 `POST /v1/render/pdf`; returns a public PDF URL directly. No PDF MCP tool or separate upload step.+ - Research and read sources: HTTP x402 Exa or Firecrawl routes below. For Google news, images, and products, use the corresponding Serper route.+ - Compare flights: MCP `search_flights` or the direct flight-search endpoint; follow up with an actual returned offer ID for details. These operations do not book tickets.+ - Find an earlier upload: MCP `recent_uploads`, inspecting filenames and returned tags; paginate as needed. There is no tag-filter argument.+ - Extend an ordinary upload: use its file ID with `renew_upload` or the direct renewal route. Rendered PDF artifacts are not renewable through upload-renew endpoints.+ Example workflow: research a topic, read selected sources, compose self-contained HTML with citations, then render it to PDF and return the URL. Each HTTP operation is separately priced; stay within the user's spending instructions. The local MCP adapter does not expose PDF rendering or the web proxies as MCP tools.+ ## Direct upload integration+ Read the free API catalog, agent OpenAPI, and protocol metadata first. The live payment challenge is authoritative for accepted networks and amounts. Munition-hosted metadata does not establish an external registry or marketplace listing.+ 1. Compute byte length and SHA-256 (hex and base64) from the file. Send `mime`, `size`, `sha256`, `sha256Base64`, optional `filename`, and optional `tags` as JSON; a local path is not an HTTP upload.+ 2. Use a compatible wallet/payment client with `POST https://api.munition.io/v1/uploads` for x402 or `POST https://api.munition.io/v1/mpp/uploads` for MPP. Keep the same `Idempotency-Key` and input for retries of the same operation.+ 3. The paid response reserves a slot. PUT the bytes to `uploadUrl` with every returned `uploadHeaders` entry before `uploadUrlExpiresAt`. Do not call the account finalize endpoint in this direct flow.+ 4. Check the PUT succeeded, then return `publicUrl`, `id`, and `expiresAt`. Public links are temporary; they are not private storage.+ MPP uses separate `/v1/mpp/...` routes. Consult its metadata for supported services; PDF and proxy routes are x402 only. Direct upload renewals cannot extend expiration beyond 30 days after initial upload. Preserve route-specific recovery instructions below if payment succeeds but delivery fails.+ - [Munition Flight Booking Links](https://munition.io/skill.md): Free MCP tool `flight_booking_links` takes 3-letter IATA `origin` and `destination`, `departureDate` (`YYYY-MM-DD`), and optional `returnDate`. Generates `https://www.kayak.com/flights/ORIGIN-DEST/DATE[/RETURN]` and `https://www.kiwi.com/deep?from=ORIGIN&to=DEST&departure=DATE` with `&return=RETURN` for round trips. It does not create a reservation or collect airfare.+ - [upload](https://munition.io/skill.md): Upload a local file up to 10 MiB (10,485,760 bytes) and return a public URL plus optional tags metadata, retained for 7 days. Cost: 0.005 USDC.