hogswap-mcp
Allows interaction with the Algorand blockchain via HOGSWAP, providing tools for getting DEX-aggregated quotes, building unsigned swap transactions, and paying x402 invoices with any held assets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hogswap-mcpGet me a quote to swap 100 USDC to ALGO"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hogswap-mcp
MCP server exposing HOGSWAP to AI
agents: DEX-aggregated quotes, unsigned swap builds, zero-human API-key
self-registration, and the star β pay_x402_invoice: pay any
Algorand-settled x402 invoice with any 1β4 assets you hold, via an
exact-out router swap. API reference:
hogswap-v1.liquihog.dev/reference.
Strictly non-custodial: every transaction-producing tool returns unsigned groups; you sign with your own wallet tooling and submit yourself. Never give any tool a mnemonic or private key.
Run (stdio)
npm install
HOGSWAP_API_KEY=hsk_... node src/index.mjs # key optionalClaude Code: claude mcp add hogswap -e HOGSWAP_API_KEY=hsk_... -- node <abs-path>/src/index.mjs
Env | Meaning |
| API base (default |
|
|
Related MCP server: akka-finance-mcp-server
Tools
Free (no key): list_payable_assets, get_quote, register_agent,
verify_registration.
π Require a HOGSWAP API key (set HOGSWAP_API_KEY, or self-issue one
with register_agent β sign β verify_registration): build_swap,
pay_x402_invoice, get_credit_offer, get_balance. Without a key
these return an auth error, not a build.
pay_x402_invoice returns two groups (swap, then payment) β sign all
txns in one pass, submit the groups in order; the swap's on-chain
floor guarantees the payment is funded. A HOGSWAP credit top-up's 402
offer is itself an x402 invoice: feed its accepts[0] (with the
note nonce) straight into pay_x402_invoice to buy credits with
any asset.
Remote (no local process)
The same 8 tools are served over MCP Streamable HTTP at
https://hogswap-v1.liquihog.dev/mcp/ β hosted by the HOGSWAP API
itself, no local process needed. Use the trailing slash β the
bare /mcp 307-redirects to /mcp/, costing an extra round trip per
call. Point any remote-capable MCP client at it; pass your key as
Authorization: Bearer hsk_... (the Claude API connector's
authorization_token does exactly this).
Smoke tests
HOGSWAP_API_URL=http://127.0.0.1:8015 HOGSWAP_API_KEY=hsk_... \
SMOKE_PAY_TO=<any USDC-opted addr> node test/smoke.mjs # stdio
MCP_URL=http://127.0.0.1:8015/mcp HOGSWAP_API_KEY=hsk_... \
SMOKE_PAY_TO=<any USDC-opted addr> node test/smoke-remote.mjs # remoteRead-only + build-only; nothing is signed or broadcast.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server providing cross-chain swaps between Solana and Base for AI agents paid for via x402 micropayments.Last updated3382MIT
- AlicenseAqualityBmaintenanceMCP server for the AKKA Finance DEX aggregator β swap quotes, routes, and execution across EVM chains.Last updated967MIT
- Alicense-qualityBmaintenanceMCP server for agent-native and human-accessible payments using MPP and x402 protocols, enabling payment flows from CLI or agent hosts.Last updated3MIT
- Alicense-qualityCmaintenanceAn MCP server for agentic commerce, enabling AI agents to discover services, make x402 payments with USDC across multiple chains, and manage crypto wallets and token swaps.Last updated3011MIT
Related MCP Connectors
Delora MCP server for cross-chain quotes, supported chains, tokens, and tools.
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LiquiHog/hogswap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server