Tinyman MCP Server
Click on "Deploy 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., "@Tinyman MCP Server What is the current swap quote for 100 ALGO to USDC?"
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.
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
Related MCP server: Tinyman MCP
Tools
Tool | Description |
| List top Tinyman v2 liquidity pools |
| Get on-chain pool info by asset pair |
| Get analytics for a pool by address |
| List traded tokens with volume data |
| Get on-chain ASA metadata |
| Get Tinyman analytics for an asset |
| Get all pools containing an asset |
| Get Tinyman protocol-wide statistics |
| Get a swap quote (no txn built) |
| Build unsigned swap transactions |
| Build unsigned add-liquidity transactions |
| Build unsigned remove-liquidity transactions |
| Report a bug or feature request |
Setup
npm installUsage
node index.jsAdding 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 toolDependencies
@tinymanorg/tinyman-js-sdk — Tinyman v2 AMM SDK
algosdk — Algorand JavaScript SDK
@modelcontextprotocol/sdk — MCP server framework
License
MIT
Available Tools
13 toolsadd_liquidity_txnA
Build unsigned transactions to add liquidity to a Tinyman v2 pool on Algorand. Returns base64-encoded transactions for signing.
Inputs: sender (required), amount1 (required), amount2 (required), asset1Id (required), +2 more.
get_asset_analyticsC
Get Tinyman analytics data for a specific asset including price, volume, and liquidity.
Inputs: assetId (required).
get_asset_infoA
Get on-chain ASA (Algorand Standard Asset) metadata: name, symbol, decimals, total supply, creator.
Inputs: assetId (required).
get_asset_poolsB
Get all Tinyman pools containing a specific asset.
Inputs: assetId (required), limit.
get_poolB
Get detailed on-chain info for a Tinyman v2 pool by asset pair. Returns reserves, fees, LP supply, and pool status.
Inputs: asset1Id (required), asset2Id (required).
get_pool_analyticsA
Get analytics data for a Tinyman pool by its address, including volume, TVL, and fees.
Inputs: poolAddress (required).
get_poolsB
List top Tinyman v2 liquidity pools on Algorand with TVL, volume, and token pair data.
Inputs: limit, offset.
get_protocol_statsA
Get Tinyman protocol-wide statistics including total TVL and volume on Algorand.
Inputs: no named parameters.
get_quoteA
Get a swap quote from Tinyman v2 with expected output, rate, fee, price impact, and minimum received. No transaction is built.
Inputs: amount (required), toToken (required), fromToken (required), slippage.
get_tokensB
List tokens traded on Tinyman (Algorand) with liquidity and volume data.
Inputs: limit, symbol.
remove_liquidity_txnA
Build unsigned transactions to remove liquidity from a Tinyman v2 pool on Algorand. Returns base64-encoded transactions for signing.
Inputs: sender (required), asset1Id (required), asset2Id (required), poolTokenAmount (required), +1 more.
report_issueA
Report an issue with the Tinyman MCP server (unexpected data, errors, bugs, or feature ideas).
IMPORTANT — Before calling this tool you MUST:
Explain to the user what you observed and why it seems wrong.
Show them the report you intend to submit (title + description).
Get their explicit approval to file it.
Do NOT include private keys, mnemonics, or other secrets in any field. Wallet addresses and transaction IDs are fine to include.
If a GITHUB_TOKEN is configured the issue is created automatically. Otherwise a pre-filled GitHub URL is returned for the user to open.
Inputs: title (required), category (required), description (required), input, +3 more.
swap_txnB
Build unsigned transactions to swap tokens on Tinyman v2 (Algorand). Returns base64-encoded transactions for signing via wallet.
Inputs: amount (required), sender (required), toToken (required), fromToken (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools are cleanly separated by resource and action (tokens vs. assets vs. pools vs. protocol stats), and the read/build-transaction split is clear. The only mild overlaps are get_pool vs. get_pool_analytics (one keyed by asset pair, the other by pool address) and get_tokens vs. get_asset_info, but the descriptions make the distinction explicit.
Reads consistently use a get_<resource> pattern (get_pools, get_pool, get_asset_analytics, get_protocol_stats) and writes use a <action>_txn pattern (swap_txn, add_liquidity_txn, remove_liquidity_txn), which is predictable. Minor deviations: swap_txn omits its object, and report_issue sits outside both conventions, but nothing is confusing.
Thirteen tools is well within the sweet spot and each one maps to a distinct step in the Tinyman workflow: discovery, metadata, analytics, quoting, and transaction building. No tool feels redundant or filler.
The core DeFi lifecycle is covered end-to-end: find tokens/pools, inspect metadata and analytics, get a quote, then build swap/add/remove-liquidity transactions. Gaps are minor — no LP position or wallet balance lookup, no transaction status check, and no pool-creation path — but agents can work around these.
Maintenance
Related MCP Connectors
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that tracks and analyzes DEX liquidity pools to power intelligent DeFi agents and automated strategies.12MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Tinyman AMM protocol on Algorand blockchain, supporting pool management, token swaps, liquidity operations, and analytics for both v1.1 and v2 protocols.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides comprehensive DeFi analytics and data access for the Algorand ecosystem via the Vestige API. It enables users to track asset prices, liquidity pools, protocol statistics, and real-time trading data.1MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides AI agents with real-time access to DEX liquidity pool data, enabling smarter trading, analytics, and automated strategies.101MIT