# Gelato Network MCP for AI Agents AI Agent Connect

> Gelato Network allows you to automate Web3 transactions and account abstraction workflows. Use it to relay signed transactions across multiple chains, manage ERC-4337 UserOperations with Gelato's high-performance Bundler, and get real-time gas price data. It's the go-to way to build gasless user experiences and manage complex blockchain infrastructure without the manual overhead.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_GEOLbnCleYGrUXwyjYCQIsNu6juUEnsytlCxzwcq/ai-agent-connect
- **Tags:** web3, ethereum, account-abstraction, relayer, gasless-transactions

## Description

Connect your Gelato Network account to your AI agent and automate Web3 infrastructure workflows through natural conversation. Gelato provides high reliability for transaction relaying and account abstraction. Instead of manually checking gas prices and relaying signatures across different chains, you can just tell your agent to do it for you. It handles the heavy lifting of interacting with the Gelato Network infrastructure. You can ask it to relay a signed transaction, check the status of a task, or get a precise fee quote for a specific token. It takes the friction out of blockchain development. You'll find it's one of the most reliable ways to connect your agent to high-performance Web3 tools, especially since Vinkius makes it easy to manage all your different connections in one place. It lets you focus on your app's logic while the agent handles the plumbing of fees and relaying. This is a huge win for anyone tired of the manual overhead that comes with managing multi-chain infrastructure. You no longer have to worry about whether a transaction got stuck or how much a specific token will cost to move. By giving your agent the ability to query fee data and submit user operations directly, you're moving from manual execution to automated management. It's about getting the right result on-chain without the technical debt of building your own relaying system from scratch.

## Tools

### bundler_send_user_operation
Submit an ERC-4337 UserOperation to the Gelato Bundler. This is how you actually trigger account abstraction actions.

### bundler_supported_entry_points
See a list of the EntryPoint addresses that the Bundler supports. Check this to make sure your network setup is compatible.

### relayer_get_capabilities
See which payment tokens and fee collectors are supported by the relayer. This helps you know what your users can actually use for fees.

### relayer_get_fee_data
Get current token exchange rates and gas price data for the network. Use this to see the latest market data for relaying.

### relayer_get_fee_quote
Get a specific fee quote based on a required gas amount. This is perfect for getting a firm price before you commit.

### relayer_get_status
Check the current status of a transaction that was sent to the relayer. Use this to see if your task is still pending or done.

### bundler_estimate_user_operation_gas
Get an estimate of the gas required for a specific UserOperation. This helps you plan costs before you submit anything to the chain.

### bundler_get_user_operation_by_hash
Find the details of a UserOperation using its unique hash. You can use this to look up the specifics of a past operation.

### bundler_get_user_operation_gas_price
Check the current gas prices specifically for UserOperations. This gives you a clear picture of the current network costs.

### bundler_get_user_operation_receipt
Pull the final receipt for a submitted UserOperation. Use this to confirm that a transaction actually finished correctly.

### relayer_send_transaction_sync
Send a transaction and wait for it to be included in a block. This is useful when you need to know the result immediately.

### relayer_send_transaction
Submit a signed transaction to get a unique 32-byte task ID for tracking. This is the standard way to relay transactions and get a tracking ID.

## Prompt Examples

**Prompt:** 
```
How much will it cost to relay a transaction on Polygon if I need about 50,000 gas?
```

**Response:** 
```
I've checked the current rates for you. For a gas amount of 50,000 on Polygon, the estimated fee is:

- **Estimated Fee**: 0.0025 ETH (approx. $X.XX)
- **Network Status**: Low congestion

Would you like me to relay the signed transaction for you now?
```

**Prompt:** 
```
Check the status of transaction 0x550e8400-e29b-41d4-a716-446655440000.
```

**Response:** 
```
Here is the latest update for that task:

- **Status**: ✅ ExecSuccess
- **Block Height**: 1523421
- **Details**: The transaction was included successfully.

I can also pull the full receipt if you need the specific logs.
```

**Prompt:** 
```
What tokens can I use for fee payments on the Ethereum mainnet?
```

**Response:** 
```
On the Ethereum mainnet, the following payment tokens and fee collectors are currently supported:

- **Supported Tokens**: ETH, USDC, USDT
- **Relayer Capabilities**: High-performance relaying enabled.

Let me know if you'd like to see the specific exchange rates for these tokens.
```

## Capabilities

### Relay signed transactions
Submit transactions to various chains for reliable relaying.

### Manage account abstraction
Submit and estimate gas for ERC-4337 UserOperations.

### Track transaction status
Monitor the lifecycle of your relayed tasks using unique IDs.

### Get gas and fee quotes
Retrieve token exchange rates and precise fee quotes for specific amounts.

### Check chain capabilities
Query supported payment tokens and fee collector addresses for any network.

## Use Cases

### Relaying a Polygon Transaction
A developer asks their agent to relay a signed transaction to a specific address on Polygon. The agent uses relayer_send_transaction and gives the dev a task ID for tracking.

### Calculating Gas for a dApp
A developer wants to know the cost of a complex move. They ask the agent to estimate gas for a UserOperation, and it uses bundler_estimate_user_operation_gas.

### Monitoring Cross-Chain Tasks
A protocol team needs to know if a cross-chain move finished. They ask the agent to check the status of a specific task ID using relayer_get_status.

### Finding Supported Tokens
A dev is building a payment gateway. They ask the agent which tokens are supported for fees on a specific chain, and it calls relayer_get_capabilities.

## Benefits

- Build gasless user experiences easily by using bundler_send_user_operation to handle user transactions without them needing to pay gas.
- Get accurate pricing for every move with relayer_get_fee_quote, which gives you precise costs for specific gas amounts and tokens.
- Stop guessing on transaction status by using relayer_get_status to track your relayed tasks in real-time via unique IDs.
- Simplify account abstraction workflows by using bundler_estimate_user_operation_gas to plan out your transaction costs before they happen.
- Reduce manual monitoring by using bundler_get_user_operation_receipt to automatically verify when a user operation has finished.
- Quickly identify network requirements using relayer_get_capabilities to see which payment tokens your users can actually use.

## How It Works

The bottom line is you get a way to automate complex blockchain infrastructure tasks through simple natural language commands.

1. Connect your Gelato API Key to your AI client.
2. Tell your agent to perform a specific Web3 action like relaying a transaction.
3. Get back a task ID or a success receipt immediately.

## Frequently Asked Questions

**What does the Gelato Network MCP actually do for my Web3 app?**
It connects your AI agent to Gelato's infrastructure. This lets your agent handle things like relaying transactions, checking fees, and managing account abstraction for you.

**Can I use this to create gasless transactions for my users?**
Yes. By using the account abstraction tools, your agent can submit UserOperations so your users don't have to deal with gas fees directly.

**How does this help with ERC-4337 account abstraction?**
It gives your agent the ability to interact with the Gelato Bundler. It can estimate gas and submit UserOperations, making it much easier to implement account abstraction.

**Can my AI agent check if a transaction was successful?**
Yes, your agent can query the status of any relayed task using a unique ID and even pull the final receipt to confirm the result.

**Does this support multiple different blockchains?**
Yes, it supports relaying and fee intelligence across various supported blockchain networks.

**How do I get real-time gas prices for specific tokens?**
Your agent can request a specific fee quote based on the amount of gas you need and the specific tokens you want to use for payment.

**Is this good for monitoring cross-chain relaying?**
It's ideal for that. You can ask your agent to monitor the status of cross-chain tasks in real-time without having to manually check the blockchain.

**How can I track the status of a transaction I just relayed?**
Use the `relayer_get_status` tool with the Task ID returned during submission. It will provide the current execution state and, if completed, the transaction receipt logs.

**Can I get a fee quote before sending a transaction?**
Yes! Use `relayer_get_fee_quote` by providing the chain ID, target token, and estimated gas amount. The agent will return the exact fee required for the operation.

**Does this server support ERC-4337 Account Abstraction?**
Absolutely. You can use `bundler_send_user_operation` to submit operations and `bundler_estimate_user_operation_gas` to calculate the necessary gas limits for smart contract wallets.