ALLWAYS

Allways for agents

Swap any listed asset for any other across chains, from any agent. No account, no API key.

What agents can do

  • Quote: get the best rate for a pair and an amount.
  • Open a swap: get a deposit address for the exact send amount.
  • Hand off the deposit: get a payment URI or an unsigned transaction for the agent's wallet.
  • Track: read the swap until it reaches a terminal status.
  • Report a problem: send a stuck swap to the team with its diagnosis.
  • Refer: make a referral code and pass it on swaps.

Allways never holds keys and never signs. The agent's own wallet sends the deposit.

Connect

The MCP server is at https://all-ways.io/mcp (Streamable HTTP, no auth).

Claude Code

claude mcp add --transport http allways https://all-ways.io/mcp

Claude Code docs

Claude (web and desktop)

  1. Open Customize > Connectors.
  2. Click "+ Add", then "Add custom connector".
  3. Enter the name Allways and the URL https://all-ways.io/mcp, then continue.
  4. Set Authentication to "No sign in", then click "Add".

On Team and Enterprise plans an owner adds it under Organization settings > Connectors. Claude docs

Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{ "mcpServers": { "allways": { "url": "https://all-ways.io/mcp" } } }

Or use the install link: Add Allways to Cursor. Cursor docs

ChatGPT

  1. In ChatGPT on the web, open Plugins.
  2. Select the plus button, then "Add custom MCP server".
  3. Enter the name Allways and the server URL https://all-ways.io/mcp.
  4. Choose no authentication, accept the risk warning, then select "Create as a plugin".
  5. Install the plugin, then type @ in a chat to use it.

ChatGPT docs

OpenAI Codex

codex mcp add allways --url https://all-ways.io/mcp

Or add this to ~/.codex/config.toml:

[mcp_servers.allways]
url = "https://all-ways.io/mcp"

Codex docs

Any other client

For clients that take a JSON server list:

{ "mcpServers": { "allways": { "type": "http", "url": "https://all-ways.io/mcp" } } }

Agent Skill

For agents that load skills (Claude Code and others), install the swap flow as a skill:

mkdir -p ~/.claude/skills/allways && curl -fsSL https://all-ways.io/skill.md -o ~/.claude/skills/allways/SKILL.md

HTTP quickstart

Four calls. Amounts are decimal strings in whole units.

# 1. Find the asset id for each side.
curl 'https://all-ways.io/api/assets?q=usdc+base'

# 2. Quote. Keep amountIn and best.amountOut.
curl -X POST https://all-ways.io/api/quotes \
  -H 'content-type: application/json' \
  -d '{"from":"<from id>","to":"<to id>","amount":"100"}'

# 3. Open the swap. Reuse the same Idempotency-Key on a retry.
curl -X POST https://all-ways.io/api/swaps \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <unique key>' \
  -d '{"from":"<from id>","to":"<to id>","amount":"<amountIn>","expectedOut":"<amountOut>","payout":{"address":"<your address>"},"refund":{"address":"<your address on the send chain>"}}'

# 4. Read the swap until its status is finished, refunded, failed or expired.
curl https://all-ways.io/api/swaps/<id>

The opened swap tells the agent how to send the deposit:

  • deposit.address: send exactly amountIn here, with deposit.memo if it is set.
  • deposit.uri: the same deposit as a payment URI, for a wallet that takes one.
  • deposit.tx (EVM): the deposit as an unsigned transaction. Hand it to the wallet to sign and send.
  • POST /api/swaps/{id}/deposit-tx (Solana): returns the deposit as an unsigned transaction. Hand it to the wallet to sign and send.
  • POST /api/swaps/{id}/deposit-tx (TAO): returns the deposit as an unsigned call. Or send it with btcli tx transfer --dest <deposit.address> --amount-tao <amountIn>; amountIn is whole TAO.

When something goes wrong

  • Report every swap problem through Allways itself: MCP report_swap_problem, POST /api/swaps/{id}/report, or "Report a problem" on the swap page. This is the support channel. A report reaches the team with the swap's diagnosis.
  • Report once for stuck, under_deposit, or aml_hold, or anything else wrong with a swap. Send the category, a 10–500 character message, and an optional reply email.
  • The team receives the report together with the swap's diagnosis. A repeat adds to the same case; after five entries, wait for the team instead of retrying.
  • Without a reply email there is no written reply. Watch the swap with get_swap: status, refundTx, and reported, which turns false when the team closes the case.
  • A successful report makes reported: true on get_swap while the case is open. price_moved does not need a report; tell the user the payout follows the market.

Rules that protect the user's funds

  • Send on the exact chain of the from asset id. A deposit on another chain can be lost.
  • If deposit.memo is set, the transfer must carry that memo or destination tag. Without it the deposit cannot be matched.
  • Send once, by one method: deposit.tx, the built Solana transaction, the TAO command or call, deposit.uri or a manual send. Never two of them. A second send to the same deposit address is outside the quote and may need support to recover.
  • Give a refund address on the send chain when you open the swap; it is where funds return if the swap cannot complete. It is set once, at open, and never changed later. Use an address the user controls.
  • Generate one Idempotency-Key (MCP idempotencyKey, required) per intended swap and reuse it on every retry of that create, so a retry never opens a second swap.
  • Do not send after the swap expired. Open a new one.
  • Never ask the user for a seed phrase or private key. Allways never needs one.
  • notices on a swap flag under_deposit, stuck, aml_hold or price_moved: report them to the user.

Gas

  • Keep a little native gas on the send chain: ETH on Ethereum and Base, SOL on Solana, and so on.
  • Allways never pays gas. The deposit is a normal transfer from the sender's wallet, and the sender pays its network fee.

No wallet yet?

An agent needs a wallet on the send chain to make the deposit. Agent wallet providers cover EVM and Solana:

Send chain Providers
EVM (Ethereum, Base, ...) Coinbase Agentic Wallet, Privy, Phantom MCP server, Turnkey
Solana Privy, Phantom MCP server, Turnkey
Any other chain (Bitcoin, Bittensor, Tron, XRP, TON, ...) Any wallet that can send on that chain works. Allways only needs one transfer of the exact amount, with the memo or tag when the deposit has one.

These links are not endorsements. Allways never holds your keys or funds.

Referrals

Referrers earn on swaps opened with their code. A referrer account is a Bittensor coldkey, and rewards are paid to it. Self-referral is allowed: an agent may pass its own code on its own swaps.

  1. POST /api/auth/wallet/challenge {address} returns a message. Sign it with the coldkey.
  2. POST /api/auth/wallet/verify {address, nonce, signature, bearer: true} returns a token, valid 30 days.
  3. POST /api/me/referral-codes with Authorization: Bearer <token> makes a random code. Custom codes are set up by the Allways team.
  4. Pass the code as referralCode when opening swaps. GET /api/me/referral-codes shows swaps, volume and users per code.
  5. GET /api/referrals/leaderboard and GET /api/referrals/payouts are public.

Links