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).
教 AI 做这类工作的 Skill,可与本项一起使用
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
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 5/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 17/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Agent Press Wire。按照 https://mcp.popnx.com/i/dylancaponi-agent-press-wire.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Agent Press Wire,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "agent-press-wire": { "command": "npx", "args": [ "-y", "agent-press-wire-mcp" ], "env": { "X402_PRIVATE_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) X402_PRIVATE_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Agent Press Wire 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"agent-press-wire": {
"command": "npx",
"args": [
"-y",
"agent-press-wire-mcp"
],
"env": {
"X402_PRIVATE_KEY": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Agent Press Wire 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Agent Press Wire,或回答中出现 Agent Press Wire 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MAX_SPEND_USD 服务器单次调用可支付的最大 USD 金额。0(默认)= 仅报价,从不付款。价格:$1 newsroom,$99 wire,$299 premium wire MAX_TOTAL_SPEND_USD 在所有调用和重启中的终身美元上限,记录在 /.agent-press-wire/spend.json 的账本中。默认为 MAX_SPEND_USD(一次付费调用的金额)。 AGENT_PRESS_WIRE_HOME 用于存放支出账本(spend.json)的目录。默认为 /.agent-press-wire。 PRESS_API_URL 覆盖 API 基础 URL(仅用于测试)。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Agent Press Wire
Agent Press Wire 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Agent Press Wire 的应用
可连接 Claude Code,但需要先准备
需要 Agent Press Wire 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Agent Press Wire,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user agent-press-wire --env X402_PRIVATE_KEY=your-value -- npx -y agent-press-wire-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) X402_PRIVATE_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Agent Press Wire 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user agent-press-wire --env X402_PRIVATE_KEY=your-value -- npx -y agent-press-wire-mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Agent Press Wire 在列表中并显示已连接
用 Agent Press Wire 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Agent Press Wire,或回答中出现 Agent Press Wire 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MAX_SPEND_USD 服务器单次调用可支付的最大 USD 金额。0(默认)= 仅报价,从不付款。价格:$1 newsroom,$99 wire,$299 premium wire MAX_TOTAL_SPEND_USD 在所有调用和重启中的终身美元上限,记录在 /.agent-press-wire/spend.json 的账本中。默认为 MAX_SPEND_USD(一次付费调用的金额)。 AGENT_PRESS_WIRE_HOME 用于存放支出账本(spend.json)的目录。默认为 /.agent-press-wire。 PRESS_API_URL 覆盖 API 基础 URL(仅用于测试)。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Agent Press Wire 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Agent Press Wire,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "agent-press-wire": { "command": "npx", "args": [ "-y", "agent-press-wire-mcp" ], "env": { "X402_PRIVATE_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) X402_PRIVATE_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Agent Press Wire 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
在 Agent Press Wire 的设置中,X402_PRIVATE_KEY 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Agent Press Wire 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Agent Press Wire,或回答中出现 Agent Press Wire 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MAX_SPEND_USD 服务器单次调用可支付的最大 USD 金额。0(默认)= 仅报价,从不付款。价格:$1 newsroom,$99 wire,$299 premium wire MAX_TOTAL_SPEND_USD 在所有调用和重启中的终身美元上限,记录在 /.agent-press-wire/spend.json 的账本中。默认为 MAX_SPEND_USD(一次付费调用的金额)。 AGENT_PRESS_WIRE_HOME 用于存放支出账本(spend.json)的目录。默认为 /.agent-press-wire。 PRESS_API_URL 覆盖 API 基础 URL(仅用于测试)。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Agent Press Wire 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Agent Press Wire,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "agent-press-wire": { "type": "stdio", "command": "npx", "args": [ "-y", "agent-press-wire-mcp" ], "env": { "X402_PRIVATE_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) X402_PRIVATE_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Agent Press Wire 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
在 Agent Press Wire 的设置中,X402_PRIVATE_KEY 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Agent Press Wire 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Agent Press Wire,或回答中出现 Agent Press Wire 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
MAX_SPEND_USD 服务器单次调用可支付的最大 USD 金额。0(默认)= 仅报价,从不付款。价格:$1 newsroom,$99 wire,$299 premium wire MAX_TOTAL_SPEND_USD 在所有调用和重启中的终身美元上限,记录在 /.agent-press-wire/spend.json 的账本中。默认为 MAX_SPEND_USD(一次付费调用的金额)。 AGENT_PRESS_WIRE_HOME 用于存放支出账本(spend.json)的目录。默认为 /.agent-press-wire。 PRESS_API_URL 覆盖 API 基础 URL(仅用于测试)。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
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 机密 必填 envMAX_SPEND_USD envMAX_TOTAL_SPEND_USD envAGENT_PRESS_WIRE_HOME envPRESS_API_URL env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 dylancaponi 验证,该账户拥有此仓库
代码最后更新于14天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 agent-press-wire-mcp@0.3.0 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/dylancaponi-agent-press-wire)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:X402_PRIVATE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于14天前,最新版本(0.3.0)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| 本项 Agent Press Wire | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 是 | 是 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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