MCP Hub
Back to servers

Tinyman MCP Server

An MCP server that enables interaction with the Tinyman AMM DEX on the Algorand blockchain. It provides tools for pool discovery, token analytics, swap quotes, and building unsigned transactions for swaps and liquidity management.

glama
Updated
Mar 14, 2026

tinyman-mcp

MCP (Model Context Protocol) server for the Tinyman AMM DEX on Algorand.

Built on the EmptyMCP template for UluOS, following the same patterns as HumbleSwapMCP.

Features

  • Pool discovery — List top pools, get on-chain reserves, analytics
  • Token lookup — Browse traded assets, resolve symbols to ASA IDs
  • Swap quotes — Get expected output, rate, fee, price impact via Tinyman v2
  • Transaction building — Unsigned swap, add-liquidity, remove-liquidity txns (base64-encoded for wallet signing)
  • Issue reporting — File bugs or feature requests to GitHub Issues

Tools

ToolDescription
get_poolsList top Tinyman v2 liquidity pools
get_poolGet on-chain pool info by asset pair
get_pool_analyticsGet analytics for a pool by address
get_tokensList traded tokens with volume data
get_asset_infoGet on-chain ASA metadata
get_asset_analyticsGet Tinyman analytics for an asset
get_asset_poolsGet all pools containing an asset
get_protocol_statsGet Tinyman protocol-wide statistics
get_quoteGet a swap quote (no txn built)
swap_txnBuild unsigned swap transactions
add_liquidity_txnBuild unsigned add-liquidity transactions
remove_liquidity_txnBuild unsigned remove-liquidity transactions
report_issueReport a bug or feature request

Setup

npm install

Usage

node index.js

Adding to a Client

Add the following to your MCP client config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "tinyman-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/tinyman-mcp/index.js"]
    }
  }
}

Architecture

index.js              Entry point — registers tools, starts stdio transport
data/
  contracts.json      Algorand mainnet/testnet node endpoints and app IDs
lib/
  client.js           Algod/Indexer client setup
  pools.js            Pool fetching via Tinyman SDK (poolUtils.v2)
  tokens.js           Token resolution and ASA lookup
  quote.js            Swap quotes via Tinyman SDK (Swap.v2)
  builders.js         Transaction builders (swap, add/remove liquidity)
  api.js              Tinyman analytics REST API calls
  utils.js            Unit conversion, JSON helpers, txn encoding
  reporting.js        GitHub issue submission
tools/
  pools.js            MCP pool tools
  tokens.js           MCP token tools
  trading.js          MCP trading tools (quotes, swaps, liquidity)
  reporting.js        MCP issue reporting tool

Dependencies

License

MIT

Reviews

No reviews yet

Sign in to write a review