# AgentGas

> AgentGas is a paid MCP server for finance and payments. Buy native gas on Base, Arbitrum, Optimism or Polygon with a USDC x402 payment. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://agentgas.madebydevx.com
- **MCP Registry name:** com.madebydevx.agentgas/agentgas
- **Categories:** finance and payments, developer tools
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agentgas.madebydevx.com/mcp?src=mcp-registry
```

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/agentgas
