AgentGas
Quotes, capacity and order status for buying native gas on Base/Arbitrum/Optimism/Polygon via x402.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"agentgas": {
"url": "https://agentgas.madebydevx.com/mcp"
}
}
}Remote endpoints
https://agentgas.madebydevx.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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).
Input Schema
{
"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).
Input Schema
{
"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"
]
}Community
Evidence