Agent Press Wire MCP Server
Agent Press Wire MCP server lets AI agents publish, distribute, and track press releases paid in USDC on Base via x402.
Publish a $1 newsroom press release from a product URL, with optional company/contact/announcement details.
Distribute a $99 wire or $299 premium press release to news sites and TV/radio networks, requiring city, country, and contact email.
Check the status and live coverage links of a wire order for free using its order_id.
Use quote-only or two-step confirm_token approval to show pricing before paying; spending caps and pinned payment terms protect the wallet.
Only settle payment when the job succeeds; failed drafts/rejections are uncharged.
Provides Agent Press Wire tools for the Vercel AI SDK, enabling AI applications to quote, publish, and distribute press releases and check wire order status, with configurable per-call and total USDC spend limits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent Press Wire MCP Server Draft and publish a press release for my product at example.com/launch"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agent Press Wire MCP server
An MCP server that lets AI agents (Claude Desktop, Claude Code, Cursor, any MCP client) announce product launches and distribute press releases through Agent Press Wire. Each call is paid in USDC on Base over x402, from your own wallet. No account, no API key.
Tools
Tool | Price | What it does |
| $1 USDC | Drafts a 350-450 word AP-style press release from your product URL and publishes it on a public, search-indexed newsroom page. About 20 seconds. |
|
| Drafts a 450-600 word release and distributes it over a newswire to 500+ news sites plus 100+ TV and radio network sites. Premium adds AP News, USA Today, Barchart and StreetInsider. Requires |
| Free | Status and live coverage links for a wire order. |
The service only charges when the job succeeds. Failed drafts, rejected topics and wire rejections are not charged.
Related MCP server: @connskill/mcp-growth-services
Bring your own copy
Both paid tools accept optional headline and body. When both are given, Agent Press Wire skips drafting and publishes or distributes the text as written (only a media contact line may be appended). Requirements: plain English text, paragraphs separated by blank lines, body 150 to 900 words (380 to 900 for the wire tiers), a 3 to 20 word headline naming the announcing company, at most 5 links and only to the product's own site. The copy goes through the same safety checks as a drafted release (prohibited topics, market-moving claims on wire tiers, brand must match the page, link policy, model safety review); failures come back uncharged with the reasons.
Pictures
By default the release uses the picture the product page shares (og:image, else twitter:image). Pass image_url (a public http(s) URL or a data:image/...;base64 URI, PNG/JPEG/WebP/GIF, max 1 MB) with optional image_alt (max 125 characters) and image_caption (max 300) to choose it, or no_image: true for none. With your own headline and body you can also pass up to 3 inline pictures in images ([{url, alt, caption}]), placed at [image 1], [image 2], [image 3] lines in the body. Every picture gets a safety review before charging; a picture you supply that fails returns an uncharged error with the reason, and a page picture that fails is left out.
Safety: quote mode by default
Paid tools charge real USDC. Settings that control spending:
X402_PRIVATE_KEY: private key of your own Base wallet holding USDC. Without it the server only quotes.MAX_SPEND_USD: the most the server may pay for a single call. Default0, which means quote only: every paid tool returns the x402 price terms and never pays.MAX_TOTAL_SPEND_USD: lifetime cap across all calls and restarts. Defaults toMAX_SPEND_USD, so out of the box you get at most one paid call until you raise it. Spend is tracked in a ledger at~/.agent-press-wire/spend.json(override the directory withAGENT_PRESS_WIRE_HOME). Every signed payment authorization is counted, whatever the HTTP outcome, because the server could still settle it until it expires. If a call failed and your wallet shows no transfer for its nonce aftervalid_before, you can delete that entry from the ledger.
Paying takes two calls. The first call (without confirm_token, or with quote_only: true) returns the price and a confirm_token. The agent shows the user the exact price, and after the user approves it calls again with the same parameters and that confirm_token. Tokens are single use, expire after 10 minutes, and are bound to the endpoint, a hash of the request parameters and the price.
A payment only happens when all of these hold:
the key is set, the price is at or below
MAX_SPEND_USD, and the lifetime total stays at or belowMAX_TOTAL_SPEND_USD;a valid
confirm_tokenwas passed andquote_onlyis not true;the server's x402 terms match values pinned in this package: pay to
0xF7887C1fAf0DbAedc80C78F9D396D594B69eba95, exactly $1 for/v1/press-release, $99 for/v1/wire-release, $299 for/v1/wire-release/premium, USDC on Base mainnet, schemeexactwith an EIP-3009 transfer authorization, andmaxTimeoutSecondsof 600 or less. Any mismatch is refused, so a compromised server or a wrongPRESS_API_URLcannot redirect funds or raise the price.
The per-call cap is enforced twice: by this server before signing, and by the x402 client's own spend controls.
If a paid call fails after the authorization was signed, the result says the payment was not settled per the server and includes the authorization nonce, valid_before and payer address. Check your wallet before retrying.
Examples: MAX_SPEND_USD=1 MAX_TOTAL_SPEND_USD=5 allows up to five $1 newsroom releases and only quotes the wire tiers. MAX_SPEND_USD=99 MAX_TOTAL_SPEND_USD=99 allows one standard wire release. Use a dedicated wallet funded with only what you intend to spend.
Install
Requires Node 20+.
Claude Code
claude mcp add agent-press-wire \
-e X402_PRIVATE_KEY=0xYOUR_KEY -e MAX_SPEND_USD=1 -e MAX_TOTAL_SPEND_USD=5 \
-- npx -y agent-press-wire-mcpQuote only (no wallet): claude mcp add agent-press-wire -- npx -y agent-press-wire-mcp
Claude Desktop
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"agent-press-wire": {
"command": "npx",
"args": ["-y", "agent-press-wire-mcp"],
"env": {
"X402_PRIVATE_KEY": "0xYOUR_KEY",
"MAX_SPEND_USD": "1",
"MAX_TOTAL_SPEND_USD": "5"
}
}
}
}Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"agent-press-wire": {
"command": "npx",
"args": ["-y", "agent-press-wire-mcp"],
"env": {
"X402_PRIVATE_KEY": "0xYOUR_KEY",
"MAX_SPEND_USD": "1",
"MAX_TOTAL_SPEND_USD": "5"
}
}
}
}Other clients: run npx -y agent-press-wire-mcp as a stdio server with the same environment variables.
Vercel AI SDK
The same service is available as AI SDK tools from the agent-press-wire-mcp/ai-sdk subpath. Requires ai 7 or later.
npm install agent-press-wire-mcp ai viemimport { generateText, isStepCount } from 'ai';
import { agentPressWireTools } from 'agent-press-wire-mcp/ai-sdk';
import { privateKeyToAccount } from 'viem/accounts';
const tools = agentPressWireTools({
wallet: privateKeyToAccount(process.env.AGENT_PRIVATE_KEY as `0x${string}`),
maxPaymentUsd: 1,
});
const { text } = await generateText({
model: 'openai/gpt-5-mini',
prompt: 'We just shipped v2 of https://example.com with offline sync. Publish a press release about it.',
tools,
stopWhen: isStepCount(3),
});Tool | Price | What it does |
| Free | Price of a tier ( |
| $1 USDC | Same as |
| $99 or $299 USDC | Same as |
| Free | Status and links for a wire order. |
Options:
wallet: a viem account (or any x402 EVM signer) holding USDC on Base. Without it the paid tools only return quotes.maxPaymentUsd: most one call may pay. Default1, so the newsroom release works and the wire tiers only quote. Set99or299to allow those.maxTotalUsd: most the tool set may pay across all calls. Defaults tomaxPaymentUsd, so one paid call.baseUrl,fetch,timeoutMs: for testing and proxies. Payment terms are pinned the same way as in the MCP server, so a differentbaseUrlcannot change the payee or the price.
The model cannot change these limits. Each paid tool reads the server's 402 terms first and pays only if they match the pinned wallet and price and the caps allow it.
Every paid tool returns an object with status and charged:
paid,charged: true: the job succeeded and the service settled the payment.resultholds the release or the wire order.not_paid,charged: false: nothing was signed, for example no wallet or the price is over a cap.quoteholds the price.rejected,charged: false: the service refused the job (HTTP 422 for bad input or a topic it does not accept, 409 for a duplicate, 502 or 503 for a failure on its side).erroranddetailssay what to fix. The service does not settle failed jobs, so these do not count towardmaxTotalUsd.unknown,charged: "unknown": the network failed after a payment authorization was sent. Check the wallet for thenoncebefore retrying. This one keeps counting towardmaxTotalUsd.
To have a person approve the wire tiers, use the AI SDK's approval setting: toolApproval: { distributePressRelease: 'user-approval' } in generateText or streamText.
Integration guide: https://agentpresswire.dev/docs/ai-sdk
Example prompts
"Announce my launch: https://example.com, we just shipped v2 with offline mode."
"Write and distribute a press release for https://example.com. We're in Austin, United States, press@example.com."
"How much would it cost to get press coverage for my product?" (the agent calls with
quote_only: true)After the user approves a quoted price, the agent repeats the call with the returned
confirm_token."Check the status of press release w_3f9d0a1b2c."
Quote response
{
"mode": "quote",
"paid": false,
"reason": "no confirm_token: this was a quote",
"quote": { "price_usd": 99, "asset": "USDC", "network": "Base mainnet (eip155:8453)", "pay_to": "0xF7887C1fAf0DbAedc80C78F9D396D594B69eba95" },
"spend": { "spent_total_usd": 0, "max_total_spend_usd": 99, "max_spend_usd": 99 },
"confirm_token": "ct1.1791069332201.6cba...d563",
"confirm_token_expires_in_seconds": 600
}Development
npm install
npm run build
npm test # offline guard-rail tests against a localhost mock x402 server; never pays
npm run test:quote # quote-mode smoke test against production; never pays
npx @modelcontextprotocol/inspector node dist/index.jsPRESS_API_URL overrides the API base URL for testing.
License
MIT
Available Tools
3 toolsannounce_launch_newsroomAnnounce a launch (press release on newsroom page, $1)A
Announce a product launch, release, or update with a press release. PRICE: $1 USDC per call. Use when the user says things like "announce my launch", "write a press release", "publish a press release for my product", "announce our new version". Given a product URL, Agent Press Wire drafts a factual 350-450 word AP-style press release from the page and publishes it on a public, search-indexed newsroom page (IndexNow ping to Bing/Yandex). Returns the headline, newsroom URL, and the release in markdown. About 20 seconds. For distribution to real news sites, use distribute_press_release instead. Charges REAL USDC on Base mainnet from the user's own wallet (X402_PRIVATE_KEY) via x402. Two steps: call first WITHOUT confirm_token (or with quote_only=true) to get the price and a confirm_token; show the user the exact price and get explicit approval; then call again with identical parameters and that confirm_token (single use, expires in 10 minutes). It only pays if the price is <= MAX_SPEND_USD, the lifetime total stays <= MAX_TOTAL_SPEND_USD, and the server's payment terms match the pinned Agent Press Wire wallet and price; otherwise it returns the quote without paying. The service only settles payment if the job succeeds.
Inputs: product_url (required), company, contact, quote_only, +2 more.
distribute_press_releaseWrite and distribute a press release over a newswire ($99 / $299)A
Write a press release and distribute it over a newswire to get press coverage. PRICE: tier "wire" = $99 USDC (500+ news sites plus 100+ TV and radio network sites); tier "premium" = $299 USDC (everything in wire plus AP News, USA Today, Barchart, StreetInsider). Use when the user says things like "get press coverage", "write and distribute a press release", "send a press release to news sites", "put out a press release on the wire", "PR distribution". Drafts a 450-600 word AP-style release from the product URL; it goes through editorial review and is distributed, usually same day on weekdays. Returns an order_id; poll get_release_status for live links. Not accepted: crypto token sales, gambling, adult, health/cure claims, cannabis. Charges REAL USDC on Base mainnet from the user's own wallet (X402_PRIVATE_KEY) via x402. Two steps: call first WITHOUT confirm_token (or with quote_only=true) to get the price and a confirm_token; show the user the exact price and get explicit approval; then call again with identical parameters and that confirm_token (single use, expires in 10 minutes). It only pays if the price is <= MAX_SPEND_USD, the lifetime total stays <= MAX_TOTAL_SPEND_USD, and the server's payment terms match the pinned Agent Press Wire wallet and price; otherwise it returns the quote without paying. The service only settles payment if the job succeeds.
Inputs: city (required), tier (required), country (required), product_url (required), +5 more.
get_release_statusGet press release distribution status (free)ARead-only
FREE. Check the status of a newswire press release order from distribute_press_release (order id like w_ab12cd34ef) and get live links to the published coverage once distributed.
Inputs: order_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
announce_launch_newsroom and distribute_press_release both draft a press release from a product URL, so a generic request like 'write a press release' could initially blur the boundary. However, the descriptions clearly separate cheap self-publishing from paid newswire distribution and cross-reference each other, while get_release_status is unmistakably a free status lookup.
All tool names use snake_case with a verb-object structure: announce_launch_newsroom, distribute_press_release, get_release_status. The pattern is predictable and readable despite the first name being slightly compound.
Three tools cleanly map to the service's distinct stages: low-cost newsroom announcement, paid newswire distribution, and status checking. Each tool earns its place, and the count is well-scoped for this narrow paid PR workflow.
The core lifecycle is covered: announce/publish, distribute to a newswire, and check distribution status. Minor gaps exist around listing prior orders, cancelling a distribution, or checking status for the self-published newsroom announcement, but these are not fatal for the main workflows.
Maintenance
Related MCP Connectors
AI API for marketing, content and outreach. 22 endpoints. Pay with USDC on Base via x402.
Pay-per-call tools for autonomous agents, settled in USDC on Base via x402.
Machine-payable API infrastructure for autonomous agents. Per-call x402 settlement in USDC.
17 pay-per-call web, finance, legal and onchain tools for AI agents. USDC on Base via x402/MPP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search and retrieve real-time news from 40 curated sources with micropayment-based access (USDC on Base). Provides both paid (search, headlines) and free (preview, status) tools for up-to-date information.71 npmMIT
- AlicenseCqualityBmaintenanceKeyword Metrics for Google Ads search volume, CPC, advertising competition and monthly history. Optional AI Search Volume provides modeled question-demand signals, not actual ChatGPT or Perplexity query counts. Free discovery and quotes; paid calls require an approved budget and use USDC on Base via x402. Also includes SERP, domain and local-market research.78118 npmMIT
- AlicenseAqualityBmaintenancePay-per-call data and tools for AI agents over x402, by UnyKorn. 360 endpoints: DeFi and market data, multi-chain wallet reads, wallet and token risk signals, SEC filings, web and domain intel, and AI text tools. Settled per call in USDC on Base ($0.001-$0.25). No API keys or subscriptions; unpaid calls return the exact quote first.21MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to call pay-per-request AI and web tools—including web-to-Markdown reading, PDF extraction, translation, compliance lookups, domain/email/Solana data, and prediction-market intelligence—without accounts or API keys, settling each call in USDC via x402 on Base, Solana, or Arc.MIT