timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Announce launches and distribute press releases to 500+ news sites. Pay per call in USDC (x402).
Skills that teach the AI this kind of work; they work alongside this one
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 5/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 17/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Agent Press Wire. Follow https://mcp.popnx.com/i/dylancaponi-agent-press-wire.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Agent Press Wire key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Agent Press Wire for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agent-press-wire": { "command": "npx", "args": [ "-y", "agent-press-wire-mcp" ], "env": { "X402_PRIVATE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For X402_PRIVATE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Press Wire tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
SettingsDeveloperEdit Config
{
"mcpServers": {
"agent-press-wire": {
"command": "npx",
"args": [
"-y",
"agent-press-wire-mcp"
],
"env": {
"X402_PRIVATE_KEY": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Agent Press Wire and tell me what you can do for me, then show me one thing✓ If Claude says it is using Agent Press Wire or shows a Agent Press Wire tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
MAX_SPEND_USD Max USD the server may pay for a single call. 0 (default) = quote only, never pays. Prices: $1 newsroom, $99 wire, $299 premium wire. · default 0MAX_TOTAL_SPEND_USD Lifetime cap in USD across all calls and restarts, tracked in a ledger at ~/.agent-press-wire/spend.json. Defaults to MAX_SPEND_USD (one paid call's worth).AGENT_PRESS_WIRE_HOME Directory for the spend ledger (spend.json). Default ~/.agent-press-wire.PRESS_API_URL Override the API base URL (testing only).Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Agent Press Wire yet
Agent Press Wire runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Agent Press Wire
Works with Claude Code, with some setup first
You need a Agent Press Wire key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Agent Press Wire for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user agent-press-wire --env X402_PRIVATE_KEY=your-value -- npx -y agent-press-wire-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For X402_PRIVATE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Press Wire tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user agent-press-wire --env X402_PRIVATE_KEY=your-value -- npx -y agent-press-wire-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Agent Press Wire listed as connected
Use Agent Press Wire and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Agent Press Wire or shows a Agent Press Wire tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
MAX_SPEND_USD Max USD the server may pay for a single call. 0 (default) = quote only, never pays. Prices: $1 newsroom, $99 wire, $299 premium wire. · default 0MAX_TOTAL_SPEND_USD Lifetime cap in USD across all calls and restarts, tracked in a ledger at ~/.agent-press-wire/spend.json. Defaults to MAX_SPEND_USD (one paid call's worth).AGENT_PRESS_WIRE_HOME Directory for the spend ledger (spend.json). Default ~/.agent-press-wire.PRESS_API_URL Override the API base URL (testing only).Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Agent Press Wire key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Agent Press Wire for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agent-press-wire": { "command": "npx", "args": [ "-y", "agent-press-wire-mcp" ], "env": { "X402_PRIVATE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For X402_PRIVATE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Press Wire tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Agent Press Wire settings, X402_PRIVATE_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Agent Press Wire and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Agent Press Wire or shows a Agent Press Wire tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
MAX_SPEND_USD Max USD the server may pay for a single call. 0 (default) = quote only, never pays. Prices: $1 newsroom, $99 wire, $299 premium wire. · default 0MAX_TOTAL_SPEND_USD Lifetime cap in USD across all calls and restarts, tracked in a ledger at ~/.agent-press-wire/spend.json. Defaults to MAX_SPEND_USD (one paid call's worth).AGENT_PRESS_WIRE_HOME Directory for the spend ledger (spend.json). Default ~/.agent-press-wire.PRESS_API_URL Override the API base URL (testing only).Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Agent Press Wire key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Agent Press Wire for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "agent-press-wire": { "type": "stdio", "command": "npx", "args": [ "-y", "agent-press-wire-mcp" ], "env": { "X402_PRIVATE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For X402_PRIVATE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Press Wire tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Agent Press Wire settings, X402_PRIVATE_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Agent Press Wire and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Agent Press Wire or shows a Agent Press Wire tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
MAX_SPEND_USD Max USD the server may pay for a single call. 0 (default) = quote only, never pays. Prices: $1 newsroom, $99 wire, $299 premium wire. · default 0MAX_TOTAL_SPEND_USD Lifetime cap in USD across all calls and restarts, tracked in a ledger at ~/.agent-press-wire/spend.json. Defaults to MAX_SPEND_USD (one paid call's worth).AGENT_PRESS_WIRE_HOME Directory for the spend ledger (spend.json). Default ~/.agent-press-wire.PRESS_API_URL Override the API base URL (testing only).Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user agent-press-wire --env X402_PRIVATE_KEY=your-value -- npx -y agent-press-wire-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"agent-press-wire": {
"command": "npx",
"args": [
"-y",
"agent-press-wire-mcp"
],
"env": {
"X402_PRIVATE_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"agent-press-wire": {
"command": "npx",
"args": [
"-y",
"agent-press-wire-mcp"
],
"env": {
"X402_PRIVATE_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"agent-press-wire": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-press-wire-mcp"
],
"env": {
"X402_PRIVATE_KEY": "your-value"
}
}
}
}X402_PRIVATE_KEY secret required envMAX_SPEND_USD envMAX_TOTAL_SPEND_USD envAGENT_PRESS_WIRE_HOME envPRESS_API_URL envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: agent-press-wire-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account dylancaponi, which owns the repo
Code last changed 14 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for agent-press-wire-mcp@0.3.0
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/dylancaponi-agent-press-wire)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: X402_PRIVATE_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 14 days ago, and the latest version (0.3.0) reached the registry 16 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Search and read Empryo's documentation. Read-only, no auth, no local access.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| This one Agent Press Wire | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | Yes | Yes | Yes | No | No |
| Basic checks | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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.
| Tool | Price | What it does |
|---|---|---|
announce_launch_newsroom | $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. |
distribute_press_release | tier: "wire" $99 USDC, tier: "premium" $299 USDC | 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 city, country, contact_email. Returns an order_id. |
get_release_status | 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.
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.
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.
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. Default 0, 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 to MAX_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 with AGENT_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 after valid_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:
MAX_SPEND_USD, and the lifetime total stays at or below MAX_TOTAL_SPEND_USD;confirm_token was passed and quote_only is not true;0xF7887C1fAf0DbAedc80C78F9D396D594B69eba95, exactly $1 for /v1/press-release, $99 for /v1/wire-release, $299 for /v1/wire-release/premium, USDC on Base mainnet, scheme exact with an EIP-3009 transfer authorization, and maxTimeoutSeconds of 600 or less. Any mismatch is refused, so a compromised server or a wrong PRESS_API_URL cannot 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.
Requires Node 20+.
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-mcp
Quote only (no wallet): claude mcp add agent-press-wire -- npx -y agent-press-wire-mcp
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" } } } }
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.
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 viem
import { 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 |
|---|---|---|
quotePressRelease | Free | Price of a tier (newsroom, wire, premium) and whether this tool set may pay it. Never signs anything. |
publishPressRelease | $1 USDC | Same as announce_launch_newsroom above. |
distributePressRelease | $99 or $299 USDC | Same as distribute_press_release above. |
getReleaseStatus | 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. Default 1, so the newsroom release works and the wire tiers only quote. Set 99 or 299 to allow those.maxTotalUsd: most the tool set may pay across all calls. Defaults to maxPaymentUsd, 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 different baseUrl cannot 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. result holds the release or the wire order.not_paid, charged: false: nothing was signed, for example no wallet or the price is over a cap. quote holds 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). error and details say what to fix. The service does not settle failed jobs, so these do not count toward maxTotalUsd.unknown, charged: "unknown": the network failed after a payment authorization was sent. Check the wallet for the nonce before retrying. This one keeps counting toward maxTotalUsd.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
quote_only: true)confirm_token.{
"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 }
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.js
PRESS_API_URL overrides the API base URL for testing.
MIT