• SIGNED
  • SENT
  • VERIFIED
  • HUMAN

How to execute onchain transactions with your AI

Connect your AI to managed wallets to handle blockchain interactions. Once connected, your agent uses RPC methods to sign and broadcast operations.

Ask AI about this page

Short answer

How can I make my AI send crypto transactions?

Your agent interacts with managed wallets through RPC calls to sign messages and push transactions to the network. You get direct control over onchain actions without leaving your chat window. This breakdown shows how the agent handles the signing process.

Transaction outcomes

What your agent achieves

These are the results of your onchain requests.

SIGNED

Message signing

The AI prepares the payload and uses the wallet to sign the message. You get the signed data ready for use.

SENT

Transaction broadcast

The agent pushes signed transactions to the blockchain. You receive a transaction hash to track the status.

VERIFIED

State checks

The AI queries the blockchain to confirm a transaction landed. You get updates on balances or contract states.

HUMAN

Manual approval

Sensitive moves require you to review the details first. The AI waits for your signal before it finishes the task.

The workflow

What your AI does when a request arrives.

The agent handles the technical communication with the blockchain.

  1. Prepare the payload

    Your agent constructs the transaction data or message based on your specific request.

    wallet_rpc
  2. Sign the data

    The AI uses the managed wallet to generate a valid cryptographic signature.

    wallet_rpc
  3. Broadcast to network

    The agent sends the signed transaction to the blockchain via the RPC provider.

    wallet_rpc
  4. Confirm status

    The AI checks the chain to ensure the transaction was included in a block.

    wallet_rpc

Try it

Copy these to start.

Use these prompts to trigger your first onchain action.

Starting points

Swap the bracketed text for your specific wallet address or contract target.

Privy Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_u2gR76mkUOvl0f66OOF9xXucpnQdFx4yp7JSXOfT/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Privy capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "privy-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_u2gR76mkUOvl0f66OOF9xXucpnQdFx4yp7JSXOfT/mcp"
    }
  }
}
Copy into chat04
  • Sign this message for me using my managed wallet: [message content]

  • Send 0.1 ETH from my wallet to [address]

  • Check the balance of [address] using the RPC method

  • Execute a swap on this contract: [contract address]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Privy once, then ask.

Click the button to link your account. Your credentials stay encrypted on our side, and the full walkthrough lives on the Connector page.

Connect Privy to your AI

FAQ

How this task behaves

  • 01

    Can the AI spend my funds without me knowing?

    No. You can set up your client to require manual approval for any transaction that moves assets.

  • 02

    Does the AI have access to my private keys?

    No. The AI uses managed wallets via RPC methods, so it never sees your raw private keys.

  • 03

    What happens if a transaction fails?

    The AI will report the error returned by the RPC provider so you can see what went wrong.

  • 04

    Can I use this for any blockchain?

    The AI can interact with any chain supported by the RPC methods provided through the managed wallet.

  • 05

    Can the AI create a new wallet?

    No. This MCP is built to interact with existing managed wallets.

  • More questions about Privy? The Connector page answers them. See everything the Privy Connector can do

Connect Privy to Claude, Cursor, ChatGPT & more