# swap

Axnet Swap: An atomic, Request-First Solana execution layer for AI agents using Dual-Sign handshakes to eliminate prepayments and failed swaps.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add axnet/swap

# Browse available tools
npx -y @smithery/cli@latest tool list axnet/swap

# Get full schema for a tool
npx -y @smithery/cli@latest tool get axnet/swap prepare_swap

# Call a tool
npx -y @smithery/cli@latest tool call axnet/swap prepare_swap '{}'
```

## Direct MCP Connection

Endpoint: `https://swap--axnet.run.tools`

## Tools (2)

- `prepare_swap` — FIRST STEP. Initializes a swap and returns an HTTP 402 challenge. This tool provides the unsigned fee_tx and swap_tx. D…
- `submit_swap` — SECOND STEP. Finalizes the swap. Use this tool ONLY AFTER the user has signed the transactions provided by prepare_swap…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get axnet/swap <tool-name>
```
