AgentGas
Quotes, capacity and order status for buying native gas on Base/Arbitrum/Optimism/Polygon via x402.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agentgas": {
"url": "https://agentgas.madebydevx.com/mcp"
}
}
}远程端点
https://agentgas.madebydevx.com/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢agentgas_quote(chain, amount, usd, to)
Free price quote: how much USDC (on Base, paid via gasless x402) buys a given amount of native gas (ETH on base/arbitrum/optimism, POL on polygon). Returns price_usdc, breakdown and the exact x402 URL to pay. Rejects bad input or over-capacity before any payment.
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"arbitrum",
"optimism",
"polygon"
],
"description": "Destination chain for the native gas"
},
"amount": {
"type": "string",
"description": "Native amount, e.g. 0.0002 (ETH) or 0.5 (POL). Use amount or usd."
},
"usd": {
"type": "string",
"description": "Alternatively, a USD budget for the gas value, e.g. 0.25"
},
"to": {
"type": "string",
"description": "Recipient 0x address (optional for a quote)"
}
},
"required": [
"chain"
]
}🟢agentgas_status
Live per-chain float, availability, prices and daily caps of the AgentGas service. Check before paying.
输入模式
{
"type": "object",
"properties": {}
}🟢agentgas_order(order_id)
Status of an AgentGas order by order_id: pending, processing, delivered (with payout_tx on the destination chain) or refunded (with refund_tx on Base).
输入模式
{
"type": "object",
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
]
}🟢agentgas_how_to_buy(chain, amount, usd, to)
Step-by-step instructions plus the exact x402 payment URL for buying native gas for an address. This MCP server cannot sign payments; your x402 client (e.g. @x402/fetch) pays the URL with USDC on Base, gasless (EIP-3009 signature, no ETH needed).
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"arbitrum",
"optimism",
"polygon"
],
"description": "Destination chain for the native gas"
},
"amount": {
"type": "string"
},
"usd": {
"type": "string"
},
"to": {
"type": "string",
"description": "Recipient 0x address; omit to deliver to the payer"
}
},
"required": [
"chain"
]
}社区
证据