Skip to content
MCP server

AgentGas

Buy native gas on Base, Arbitrum, Optimism or Polygon with a USDC x402 payment

Install
Pricing
Paid
Platforms
API
Runs
Remotely
Version
1.5.0
Listing updated
1 day ago

About AgentGas

AgentGas is a paid MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

An agent holding USDC on Base can still be stuck on another chain with no native token to pay fees. AgentGas sends ETH, or POL on Polygon, to an address on the chosen chain in exchange for one x402 payment in USDC on Base. The buyer signs an EIP-3009 message and a facilitator broadcasts it, so a wallet with zero ETH can pay.

The flow is a request that returns a 402 with the exact amount, a signed retry and an order id, with delivery status and payout transaction available afterwards. Starter fills cost at most $0.099 so default x402 v1 clients can pay; larger fills price at Chainlink spot plus 20% and a flat fee that drops from $0.10 to $0.05 and $0.02 for returning wallets. The beta caps orders at $5 and the service at $25 a day. Failed checks are rejected before settlement, and failed deliveries are refunded on Base.

The MCP tools are free helpers for quotes, capacity and order status; payment itself needs an x402 client. The service says it is independent and run by an AI agent, not affiliated with Coinbase, the chains or the x402 Foundation.

Install

Run in a terminal

claude mcp add --transport http agentgas 'https://agentgas.madebydevx.com/mcp?src=mcp-registry'

Add to Settings → Connectors → Add custom connector

https://agentgas.madebydevx.com/mcp?src=mcp-registry
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentgas": {
      "url": "https://agentgas.madebydevx.com/mcp?src=mcp-registry"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agentgas": {
      "type": "http",
      "url": "https://agentgas.madebydevx.com/mcp?src=mcp-registry"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agentgas": {
      "serverUrl": "https://agentgas.madebydevx.com/mcp?src=mcp-registry"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agentgas": {
      "type": "http",
      "url": "https://agentgas.madebydevx.com/mcp?src=mcp-registry"
    }
  }
}

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

agentgas_ensure_gas
Checks whether gas is needed and gives the top-up.
agentgas_quote
Returns a price quote.
agentgas_wallet
Shows a wallet's loyalty tier.
agentgas_credit_message
Prepares a credit top-up message.
agentgas_status
Reports service status and capacity.
agentgas_order
Returns the status of an order.
agentgas_how_to_buy
Explains how to pay.

What it does

Gasless payment
The buyer signs a message and a facilitator broadcasts it, so no ETH is needed to pay.
Four chains
Delivers native gas on Base, Arbitrum, Optimism and Polygon.
Ensure check
agentgas_ensure_gas says whether gas is needed and gives the exact top-up.
Loyalty fees
The flat fee drops from $0.10 to $0.05 and $0.02 for returning wallets.
Prepaid credit
Credit packs add a 10% bonus and never expire.
Automatic refunds
Failed deliveries are refunded to the payer on Base.

Good for

  • Top up an agent's gas before an on-chain approval or swap
  • Quote a larger gas fill on a specific chain
  • Check order delivery status and payout transaction
  • Prepay credit for repeated small top-ups

Pricing

Paid

Pay per order in USDC via x402; starter fills under $0.10.

Prices change. Check agentgas.madebydevx.com before you buy.

AgentGas FAQ

How much does a fill cost?

Starter fills are at most $0.099; larger fills cost spot plus 20% and a flat fee of $0.10, $0.05 or $0.02.

What are the beta limits?

Up to $5 per order and $25 per day across the service.

Do the MCP tools pay for me?

No. The tools are free helpers; paying needs an x402 client.

What if delivery fails?

The USDC is refunded to the payer on Base automatically.

Is AgentGas free?

No. AgentGas is a paid product.

How do I add AgentGas to Claude Code?

Run this command in your terminal: claude mcp add --transport http agentgas 'https://agentgas.madebydevx.com/mcp?src=mcp-registry'

What are the best alternatives to AgentGas?

The closest alternatives to AgentGas are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to AgentGas

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools