# gasrescue-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/gasrescue/gasrescue-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 3240  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gasrescue-mcp

## Description
MCP server that rescues USDC, USDT and USDG from wallets with no gas: send them with no ETH, POL, AVAX, BNB, SOL or TRX, or swap them into gas, on Base, Arbitrum, Ethereum, Polygon, Avalanche, BNB Chain, HyperEVM, Robinhood Chain, Solana and Tron.

## Tools
Capabilities this server exposes over MCP:

- **gasrescue_info** — Lists what gasrescue supports: the chains, the stablecoins on each, which chains can swap into their gas coin, the fees and the limits. Use gasrescue when a wallet holds USDC, USDT or USDG but no ETH, POL, AVAX, BNB, SOL, TRX or HYPE for the network fee ("insufficient funds for gas"). Call this first to get the chain keys and token symbols the other tools expect. Read-only, takes no input. Returns network, fees (service percent, minimum, maximum), limits (USD per transfer, transfers per wallet per day, quote validity) and the chains with their tokens and gas coin. gasDrop: true marks a chain without a gasrescue contract (BNB Chain): there gasrescue sends the wallet a little gas and the wallet sends two plain transfers itself.
- **check_wallet** — Checks one address on every supported chain where it is valid: which stablecoins it holds, its gas balance, whether the stablecoins are stuck (not enough gas to move them) and whether a token is frozen by its issuer. Use it before quote_send or quote_swap to find the chain and token to rescue. A frozen token cannot be moved by any tool here; only the issuer can lift that. Read-only: nothing is signed, sent or stored. Returns { address, chains: [{ key, label, native, tokens: [{ symbol, balance, frozen }], gas, stuck, frozen, canSwap }] }; a chain that did not answer has error: true.
- **quote_send** — Prices sending USDC, USDT or USDG from a wallet without gas (no ETH, POL, AVAX, BNB, SOL or TRX) to another address, e.g. an exchange deposit or another wallet. Use quote_swap instead when the user wants gas in the same wallet. Creates a free quote, valid for 10 minutes; nothing moves on chain until the wallet signs it. Returns { summary, transfer }: the transfer id, network and service fee, what the recipient gets (net) and status "quoted". Show the summary to the user and get approval before signing. Fails with a readable error when the amount is outside $2 to $1,000 (Tron: from $10), the wallet holds too little, the token is frozen, or the wallet sent 10 transfers in 24 hours.
- **quote_swap** — Prices swapping a stablecoin into the chain's gas coin (ETH, POL, AVAX, SOL, HYPE) or another stablecoin, for a wallet without gas, so it can pay its own fees again. The result always goes back to the same wallet; use quote_send to pay someone else. Not available on Tron. Creates a free quote, valid for 2 minutes because prices move; nothing moves on chain until the wallet signs it. Returns { summary, transfer } with the transfer id, fees, the expected output and the minimum output (below it the swap reverts and nothing moves). Show the summary to the user and get approval before signing.
- **get_signing_request** — Returns what the sender's wallet has to sign for a quote from quote_send or quote_swap. kind "evm-typed-data": sign every steps[].typedData with eth_signTypedData_v4, in order (one authorization, or for permit tokens a permit plus the order itself); binding is the order the authorization commits to, so recipient, fee and minimum can be checked first. kind "tron-transactions": sign every steps[].transaction (first the fee, then the transfer). kind "evm-transactions" (gas drop, BNB Chain): if funding.needed, sign funding.message with personal_sign (a message, no transaction, proves the wallet is the sender's) and call submit_signatures with fund: true and that fundSignature first, so gasrescue sends the wallet the gas; then send every steps[].tx from the wallet (eth_sendTransaction, fee first) and report the hashes with submit_signatures txs: { fee, transfer }. kind "solana-transaction" or "solana-versioned-transaction": sign the base64 transaction. Read-only. Pass the result to submit_signatures. Fails when the quote expired; then request a new quote.
- **submit_signatures** — Submits the wallet's signatures for a quote; gasrescue broadcasts the transaction, pays the gas and waits up to 3 minutes for the result. This moves funds and cannot be undone: call it only after the user approved the quote summary. A transfer can be submitted once; a second call is refused. Give signatures for EVM and Tron, signedTransaction for Solana, or for a gas drop fund: true with fundSignature and then txs. Returns { summary, transfer } with status confirmed or failed, the transaction hash and the explorer link.
- **get_transfer** — Returns the current state of a quote or transfer by its id, with the fees, the transaction hash and the explorer link once sent. States: quoted (waiting for the signature), submitting and sent (on its way; ask again after a few seconds), confirmed (done), failed (error says why) and expired (not signed in time; request a new quote). Use it to follow up after submit_signatures or to see whether a quote is still open. It cannot start, change or cancel anything; use quote_send or quote_swap to start. Read-only. Returns { summary, transfer }. An unknown or malformed id, or one older than 30 days, fails with "Transfer not found".

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gasrescue-mcp": {
    "command": "npx",
    "args": ["-y","gasrescue-mcp"]
  }
}
```

## Documentation

## What gasrescue-mcp does

gasrescue-mcp gives MCP-compatible agents a way to recover supported stablecoins from wallets without native network gas. Through gasrescue.io, an agent can send stablecoins to another address while the service handles the network transaction and deducts its fees from the transferred amount. It can also swap part of a stablecoin balance into the chain’s gas currency so the wallet can transact independently afterward.

Supported networks include Base, Arbitrum, Ethereum, Polygon, Avalanche, BNB Chain, HyperEVM, Robinhood Chain, Solana, and Tron. Available assets vary by chain and include USDC, USDC.e, USDT, USDG, USD1, and FDUSD, with chain-specific variants such as USDT0.

## How it works

The normal flow separates quoting, authorization, and submission. An agent first checks a wallet or requests a send or swap quote. The quote includes applicable fees, the recipient’s expected amount or swap output, and a transfer identifier. The agent then retrieves the signing request and passes it to the wallet owner or another wallet tool. After signatures are returned, `submit_signatures` sends them to gasrescue, which broadcasts the transaction and pays the network fee where applicable. `get_transfer` provides the transfer state and an explorer link.

The server does not sign transactions without a private key. EVM-only automatic signing is available through `sign_and_submit` when `GASRESCUE_EVM_PRIVATE_KEY` is configured. That tool accepts quotes created in the same session, verifies the quote details and supported contract data, and signs only requests that expire within one hour. An optional recipient allowlist can restrict where funds are sent.

## Setup and configuration

Add the server to an MCP client using the npm package through `npx`:

```json
{
  "mcpServers": {
    "gasrescue": {
      "command": "npx",
      "args": ["-y", "gasrescue-mcp"]
    }
  }
}
```

No API key or account is required for the standard setup. To enable EVM signing by the agent, set `GASRESCUE_EVM_PRIVATE_KEY`. `GASRESCUE_ALLOWED_RECIPIENTS` can contain a comma-separated list of permitted EVM destination addresses. For a private test service, `GASRESCUE_API` selects the API endpoint and `GASRESCUE_TRUST_CUSTOM_API=1` allows the server to trust the contracts published by that endpoint.

Keep the signing key in the server process and use a wallet containing only funds the agent should be allowed to move.

## Tools and capabilities

- `gasrescue_info` reports supported chains, tokens, fees, and limits.
- `check_wallet` reads stablecoin and gas balances across supported networks and includes issuer-freeze information.
- `quote_send` prepares a gasless stablecoin transfer and returns fees, the recipient amount, and a transfer ID.
- `quote_swap` prepares a conversion into a supported gas asset such as ETH, POL, AVAX, SOL, or HYPE.
- `get_signing_request` returns the wallet authorization data for a quote.
- `submit_signatures` submits wallet signatures and transfer details.
- `get_transfer` returns status information and a blockchain explorer link.
- `sign_and_submit` checks and signs an EVM quote using the configured private key.

## Limitations and notes

Transfers range from $2 to $1,000, with a maximum of 10 transfers per wallet within 24 hours. Tron transfers require at least $10. The service fee is 0.5%, subject to a minimum of $0.25 and a maximum of $2 per send or $5 per swap; network fees are additional. Quotes show the exact charges.

BNB Chain uses a special transaction flow because its USDC and USDT transfers do not support signed transfers. The wallet first authorizes a funding message, receives a small amount of BNB, and then sends the fee and stablecoin transfers. Blockchain transfers are final, so destination addresses and quote details should be checked before signing.

_Full upstream README: https://allmcps.com/mcp/gasrescue-mcp/readme_

