Skip to main content

Outcome

A minimal MCP client (≤50 lines of TypeScript) that connects to the hosted Velora MCP server, lists available tools, and runs an end-to-end velora_get_quote → velora_build_transaction flow that prints an unsigned Market swap transaction.

Prompt

End-state check

  • The script runs end-to-end and prints an unsigned transaction object (from, to, value, data) from velora_build_transaction.
  • Nothing in the script signs, stores keys, or broadcasts.
  • wc -l on the source file (sans imports) reports ≤ 50.
Last modified on June 14, 2026