haystack-router-interaction

Route and execute Algorand Haystack Router swaps via MCP tools.

44|21|Updated Mar 10, 2025
One-click install
npx skills add https://github.com/GoPlausible/algorand-mcp --skill haystack-router-interaction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: haystack-router-interaction
Source: https://github.com/GoPlausible/algorand-mcp/tree/main/skills/haystack-router-interaction
Command: npx skills add https://github.com/GoPlausible/algorand-mcp --skill haystack-router-interaction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interacting with Haystack Router via Algorand MCP to obtain quotes, execute swaps, and manage asset opt-ins without manual scripting.

Core Features & Use Cases

  • Provide quotes for optimal swap routing across Haystack Router-supported DEXes and LST protocols.
  • Execute swaps with wallet signing through the MCP wallet, including opt-in checks and one-shot workflows.
  • Check whether a given address needs to opt into an ASA before swapping and automatically handle opt-ins when configured.
  • Use cases include building agent workflows that quote, confirm, and execute multi-hop or parallel swaps on Algorand mainnet or testnet.

Quick Start

Ask your agent to fetch a swap quote, review the route and price impact, opt in if needed, and then execute the swap after confirmation.

Frequently Asked Questions about haystack-router-interaction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a swap quote for Algorand assets using Haystack Router?

You can fetch Algorand swap quotes by asking your agent to query the Haystack Router through Algorand MCP tools, which returns optimal routing across supported DEXes and LST protocols along with price impact details.

How do I execute a signed swap transaction on Algorand mainnet or testnet?

You execute signed Algorand swaps on mainnet or testnet by confirming a quote, after which the Skill uses the connected MCP wallet to sign and submit the transaction directly through the MCP environment.

Do I need to opt into an ASA before swapping on Haystack Router?

You need to opt into an ASA before swapping if the target address has not yet opted in. The Skill checks your opt-in status automatically and can handle the opt-in process in a one-shot workflow when configured.

Can I specify a fixed-input or fixed-output amount for Algorand swaps?

You can specify fixed-input or fixed-output amounts for Algorand swaps. The Skill interprets your intent to structure the quote request accordingly, ensuring the swap routing matches your desired input or output constraints.

What is the best way to automate multi-hop swaps on Algorand without manual scripting?

The best way to automate multi-hop swaps without manual scripting is building agent workflows that use this Skill to quote, confirm, and execute swaps via Algorand MCP tools. It manages routing, wallet signing, and opt-in checks automatically.