# Biconomy (Account Abstraction) MCP for AI Agents MCP

> Biconomy Account Abstraction lets your AI agent manage complex, multi-step Web3 operations using supertransactions and account abstraction. It handles everything from generating optimized gas quotes for sponsored transactions to executing fully signed payloads on any compatible blockchain.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Tags:** account-abstraction, web3, smart-accounts, gasless-transactions, erc-4337

## Description

Running decentralized applications often means dealing with complicated smart contract interactions, managing gas fees, and ensuring transaction integrity across multiple steps. This MCP lets your AI agent bypass those manual hurdles entirely. Instead of writing brittle scripts for every payment or flow, you describe the desired outcome in natural language. The system then calculates optimal execution paths—sometimes even making transactions 'gasless' through sponsorship options. You can monitor these complex flows and execute them all from one place. By connecting Biconomy via Vinkius, your agent gains the power to orchestrate entire Web3 intents, allowing you to focus on product logic instead of blockchain plumbing.

## Tools

### execute_supertx
Sends a fully signed supertransaction payload to the blockchain for immediate execution.

### get_explorer_status
Checks and returns the current, real-time status of any previously submitted supertransaction hash.

### get_quote
Calculates an optimized quote for a complex transaction flow, including gas cost estimates.

## Prompt Examples

**Prompt:** 
```
I need to process a payment for a new user account using sponsored gas.
```

**Response:** 
```
**Supertransaction Quote Generated**

| Parameter | Value |
| :--- | :--- |
| Target Flow | Single Payment (ETH) |
| Gas Cost Estimate | 0.02 ETH |
| Sponsorship Fee | Included $|
| Total Estimated Cost | **0.03 ETH** |

Please review and confirm if you want to proceed with execution.
```

**Prompt:** 
```
Check the status of my supertransaction for the asset transfer.
```

**Response:** 
```
**Supertransaction Status Report (Hash: 0xabc...):**

*   **Current State:** Success
*   **Confirmation Block:** 18,452,993
*   **Timestamp:** Today at 10:15 AM UTC
*   **Details:** The payment was successfully confirmed on-chain. You can view the full details in the Biconomy explorer.
```

**Prompt:** 
```
What's the best way to execute this multi-step DeFi yield claim?
```

**Response:** 
```
The optimal path requires three sequential operations. I've generated a quote for you:

**Quote Summary:**
*   Step 1 (Initial Claim): 0.01 ETH
*   Step 2 (Rebalance Swap): 0.005 ETH
*   Step 3 (Final Deposit): 0.008 ETH

Total estimated cost: **0.023 ETH**. Ready to execute?
```

## Capabilities

### Get Supertransaction Quotes
Calculate optimized cost estimates for complex transaction flows, including gasless options.

### Execute Signed Transactions
Submit fully signed payloads to trigger the execution of a supertransaction on-chain.

### Track Transaction Status
Monitor the real-time progress and final confirmation status of an executed supertransaction hash.

## Use Cases

### Automating a cross-chain payment
A user needs to send tokens from Protocol A to an address governed by Protocol B. The agent uses `get_quote` to ensure the optimal, gas-efficient route is calculated before submitting the signed payload via `execute_supertx`.

### Verifying smart contract deployment status
A developer deploys a new module and needs confirmation it worked. The agent calls for the supertransaction hash and then uses `get_explorer_status` to wait until 'Success' is confirmed on-chain.

### Executing a sponsored transaction
A user wants to pay another user but doesn't want to deal with gas fees. The agent calculates the quote using `get_quote` and executes it as a sponsored supertransaction, simplifying the payment for both parties.

### Building automated DeFi yield farming
A power user wants their agent to automatically rebalance assets across three different protocols. The MCP coordinates the necessary sequence of quotes and executions, ensuring every step is correctly signed and tracked.

## Benefits

- Eliminate scripting headaches: Use the `get_quote` tool to calculate optimal transaction costs, including gas-sponsored (gasless) routes, before committing funds.
- Handle multi-step logic easily: The MCP allows agents to manage complex flows—like initial quote generation followed by execution—all within a single conversation thread.
- Confirm success immediately: After executing the supertransaction with `execute_supertx`, you can use `get_explorer_status` to track its progress until final confirmation.
- Support diverse accounts: It natively supports Smart Accounts, EOA, and EOA-7702 account modes, making it versatile for different types of web3 deployments.
- Improve transaction efficiency: By abstracting complex signing requirements, you reduce the manual effort required to manage gas costs across various protocols.

## How It Works

The bottom line is that your AI agent handles the entire lifecycle of complex Web3 transactions—from initial quote to final on-chain confirmation—without you needing to write custom scripts.

1. Subscribe to this MCP on Vinkius and supply your Biconomy API Key.
2. Instruct your AI client or agent with the desired complex blockchain action (e.g., 'Execute a payment of X amount for Y recipient').
3. The system first uses the quoting tool, then submits the payload using the execution tool, providing real-time status updates via the tracking tool.

## Frequently Asked Questions

**How does the Biconomy Account Abstraction MCP help with gas fees?**
It simplifies gas management by allowing you to get quotes for sponsored or gasless options. This means your agent can calculate and execute complex transactions without requiring you to pay standard gas fees upfront.

**Can I use Biconomy Account Abstraction MCP for multi-step payments?**
Yes, absolutely. The system is designed to handle entire intents—multiple steps like quoting, signing, and executing—as one cohesive supertransaction flow through the agent.

**How quickly can I confirm if my transaction succeeded?**
The MCP allows you to track transactions in real-time. You don't have to manually check a block explorer; your agent uses dedicated tools to monitor and report the final status, whether it succeeds or fails.

**What is the difference between using this MCP and writing custom smart contracts?**
You don't need to write complex contract code. This MCP lets your agent interact with the underlying blockchain logic using natural language instructions, abstracting away the low-level coding details.

**Is Biconomy Account Abstraction MCP compatible with different account types?**
Yes, it supports a wide array of account modes, including Smart Accounts and EOA-7702. This flexibility ensures the tool works across various Web3 setups.

**What if my supertransaction fails? How does Biconomy Account Abstraction MCP help?**
The tracking tools provide clear, granular status updates. Instead of just saying 'failed,' it tells you exactly where the transaction broke down in the sequence, helping you debug the process.