Algorand MCP
Based on the provided schema, this is an Algorand MCP server for managing an agent wallet, building/signing transactions, querying chain data, and using NFD/Tinyman/Haystack integrations.
Create, import, remove, list, and switch local wallet accounts; view active-account info/assets; sign transactions, groups, and data; opt into assets.
Create/rekey accounts and convert among mnemonics, master derivation keys, secret keys, and seeds.
Build payment, key-registration, asset, and app transactions; assign group IDs; sign, encode, and decode transactions.
Compile/disassemble TEAL and simulate or submit raw transactions.
Query Algod and Indexer for accounts, assets, applications, boxes, pending/confirmed transactions, node status, and filtered searches.
Look up, search, and browse NFDomains.
Get Tinyman pool, liquidity, swap, pool-creation, and validator/pool-token opt-in/out quotes.
Get Haystack Router best-price swap quotes across Algorand DEXes.
Use utility tools for address validation/encoding, BigInt/uint64/msgpack conversion, and byte signing/verification.
Select mainnet/testnet/localnet per call and paginate API responses.
README additionally advertises x402/Bazaar payments, Pera asset verification, Alpha Arcade trading, ARC-90 QR generation, and knowledge docs, but those tools are not in the provided schema.
Provides comprehensive Algorand blockchain interaction capabilities, including account management, asset operations, application interactions, transaction creation/submission, and blockchain state queries.
Provides a server package for Algorand blockchain interactions specifically built for Node.js environments.
Uses TypeScript for type-safe interaction with the Algorand blockchain across both client and server implementations.
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., "@Algorand MCP check my wallet balance"
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.
Algorand MCP Server
A comprehensive Model Context Protocol (MCP) server that gives AI agents and LLMs full access to the Algorand blockchain. Built by GoPlausible.
Algorand is a carbon-negative, pure proof-of-stake Layer 1 blockchain with instant finality, low fees, and built-in support for smart contracts (AVM), standard assets (ASAs), and atomic transactions.
What is MCP?
Model Context Protocol is an open standard that lets AI applications connect to external tools and data sources. This server exposes Algorand blockchain operations as MCP tools that any compatible AI client can use — Claude Desktop, Claude Code, Cursor, Windsurf, and others.
Related MCP server: Alchemy MCP Server
Features
Agent wallet — mnemonics stored in a local SQLite database, used by the MCP server to sign on the agent's behalf (mnemonics never returned in tool responses)
Wallet accounts with human-readable nicknames
Account creation, key management, and rekeying
Transaction building, signing, and submission (payments, assets, applications, key registration)
Atomic transaction groups
TEAL compilation and disassembly
Algod and Indexer API access (accounts, assets, applications and boxes, transactions, node status, search)
NFDomains (NFD) name service integration
Pera Wallet asset verification and verified-asset search (mainnet)
x402 HTTP micropayments — automatic discovery and one-call paid requests using the active wallet (USDC/ALGO), plus Bazaar directory search for paid x402 APIs
Tinyman AMM integration (pools, swaps, liquidity)
Haystack Router DEX aggregation (best-price swaps across Tinyman, Pact, Folks)
Alpha Arcade prediction market trading (browse markets, orderbooks, limit/market orders, positions, claims)
ARC-90 payment URI and QR code generation (ARC-90 supersedes ARC-26)
Algorand knowledge base with full developer documentation taxonomy
Per-tool-call network selection (mainnet, testnet, localnet) and pagination
Requirements
Node.js v20.19 or later
npm, pnpm, or yarn
Installation
From npm
npm install -g @goplausible/algorand-mcpFrom source
git clone https://github.com/GoPlausible/algorand-mcp.git
cd algorand-mcp
npm install
npm run buildMCP Configuration
The server runs over stdio. There are three ways to invoke it — pick whichever suits your setup:
Method | Command | When to use |
npx (recommended) |
| No install needed, always latest version |
Global install |
| After |
Absolute path |
| Built from source or local clone |
No environment variables are required for standard use. Network selection and pagination are handled per tool call, and mainnet and testnet node URLs are built in. Optional environment variables set localnet node URLs, a private node token, a Haystack Router API key, an Alpha Arcade API key and base URL (alpha_get_reward_markets needs ALPHA_API_KEY), the default page size and the Bazaar directory URL (see Optional Environment Variables).
OpenClaw
No manual configuration needed — install the @goplausible/openclaw-algorand-plugin npm package and the Algorand MCP server is configured automatically:
npm install -g @goplausible/openclaw-algorand-pluginClaude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Using npx:
{
"mcpServers": {
"algorand-mcp": {
"command": "npx",
"args": ["@goplausible/algorand-mcp"]
}
}
}Using global install:
{
"mcpServers": {
"algorand-mcp": {
"command": "algorand-mcp"
}
}
}Using absolute path:
{
"mcpServers": {
"algorand-mcp": {
"command": "node",
"args": ["/absolute/path/to/algorand-mcp/dist/index.js"]
}
}
}Claude Code
Create .mcp.json in your project root (project scope):
{
"mcpServers": {
"algorand-mcp": {
"type": "stdio",
"command": "npx",
"args": ["@goplausible/algorand-mcp"]
}
}
}Or add it from the command line; put --scope user after mcp add to make it available in all your projects:
claude mcp add algorand-mcp -- npx @goplausible/algorand-mcpCursor
Add via Settings > MCP Servers, or edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"algorand-mcp": {
"command": "npx",
"args": ["@goplausible/algorand-mcp"]
}
}
}Windsurf
Add via Settings > MCP, or edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"algorand-mcp": {
"command": "npx",
"args": ["@goplausible/algorand-mcp"]
}
}
}VS Code / GitHub Copilot
Edit .vscode/mcp.json in your workspace root, or open Settings > MCP Servers:
{
"servers": {
"algorand-mcp": {
"type": "stdio",
"command": "npx",
"args": ["@goplausible/algorand-mcp"]
}
}
}Cline
Add via the MCP Servers panel in the Cline sidebar, or edit ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json (macOS):
{
"mcpServers": {
"algorand-mcp": {
"command": "npx",
"args": ["@goplausible/algorand-mcp"],
"disabled": false
}
}
}OpenAI Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.algorand-mcp]
command = "npx"
args = ["@goplausible/algorand-mcp"]Or add from the command line:
codex mcp add algorand-mcp -- npx @goplausible/algorand-mcpOpen Code
Edit opencode.json in your project root, or ~/.config/opencode/opencode.json for global scope:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"algorand-mcp": {
"type": "local",
"command": ["npx", "@goplausible/algorand-mcp"],
"enabled": true
}
}
}Any MCP-compatible client
The server speaks the standard MCP stdio protocol. For any client not listed above, configure it with:
Command:
npx(oralgorand-mcpif globally installed, ornode /path/to/dist/index.js)Args:
["@goplausible/algorand-mcp"](for npx)Transport:
stdio
Network Selection
Every tool except the Pera Wallet tools accepts an optional network parameter: "mainnet", "testnet" (default), or "localnet". Algod and Indexer URLs are built-in for mainnet and testnet via AlgoNode. Localnet needs ALGORAND_LOCALNET_URL (see Optional Environment Variables).
Some integrations are tied to specific networks:
Tools | Networks |
NFDomains ( | Always mainnet; |
Pera Wallet ( | Always mainnet; no |
Tinyman ( | Mainnet and testnet; localnet is rejected |
Alpha Arcade ( | Mainnet only (the market app and USDC asset ids are mainnet); pass |
|
|
|
|
Example tool call:
{ "name": "api_algod_get_account_info", "arguments": { "address": "ABC...", "network": "testnet" } }If no network is provided, tools default to testnet. Pass "network": "mainnet" for mainnet.
Pagination
Responses from the API tools (api_*) and the Alpha Arcade tools (alpha_*) are automatically paginated. Those tools accept an optional itemsPerPage parameter (default: 10, or the ITEMS_PER_PAGE environment variable). When a response's metadata.hasNextPage is true, call the tool again with the same arguments plus pageToken set to metadata.pageToken to fetch the next page.
Agent Wallet
Architecture
The agent wallet is a local SQLite database that the MCP server controls on the agent's behalf. The server holds the mnemonics and signs transactions for the agent — the agent never sees the mnemonics in any tool response. Each server process loads wallet.db into memory once (sql.js) and rewrites the whole file after every change without re-reading it, so two processes sharing one wallet.db don't see each other's changes and the last one to write wins. Change the wallet from one server process at a time.
Layer | What it stores | Where |
SQLite ( | Account rows in |
|
Threat model. The wallet.db file is the secret. Anyone with read access to it can recover every mnemonic stored in the wallet. The mitigations are filesystem permissions (0600, owner-only), keeping the data directory off shared/world-readable volumes, and treating the data directory like any other secret store (snapshot it carefully, restrict backups, encrypt the host disk for at-rest protection). For Docker deployments, mount ~/.algorand-mcp as a named volume and restrict access to it like you would any secret material.
How it works
Agent (LLM) MCP Server Storage
────────── ────────── ───────
│ │ │
│ wallet_add_account │ │
│ { nickname: "main" } │ │
│ ──────────────────────────► │ generate keypair │
│ │ INSERT (address, public_key, │
│ │ nickname, mnemonic) ──►│ wallet.db
│ ◄─ { address, publicKey, │ │
│ nickname, index } │ │
│ │ │
│ wallet_sign_transaction │ │
│ { transaction: {...} } │ │
│ ──────────────────────────► │ SELECT mnemonic FROM accounts ◄─│
│ │ WHERE address=<active> │
│ │ sign in memory │
│ ◄─ { txID, blob } │ (key discarded after sign) │
│ │ │Account creation (
wallet_add_account) — Generates a keypair and inserts a row containing the mnemonic intoaccounts. Returns address, public key, nickname, and index. The mnemonic is never returned.Active account — One account is active at a time.
wallet_switch_accountchanges it by nickname or index. All signing and query tools operate on the active account.Transaction signing (
wallet_sign_transaction) — Reads the mnemonic from the DB, signs in memory, returns only the signed blob.Data signing (
wallet_sign_data) — Signs arbitrary hex data using raw Ed25519 via the@noble/curveslibrary (no Algorand SDK prefix). Useful for off-chain authentication.Asset opt-in (
wallet_optin_asset) — Creates, signs, and submits an opt-in transaction for the active account in one step.
Backward compatibility (silent migration from OS keychain)
Older installs of this MCP stored mnemonics in the OS keychain (@napi-rs/keyring). The server opens wallet.db on the first wallet operation in each process (any wallet_* tool, or another tool that uses the active wallet account), and at that point runs a silent, idempotent migration:
For every non-archived
accountsrow whosemnemoniccolumn isNULLor empty, it attempts to read the mnemonic from the OS keychain under the service namealgorand-mcpkeyed by the address.If found, the mnemonic is copied into the DB column.
The original keychain entry is left in place as a redundant backup. It is deleted (best effort) only when that account is removed with
wallet_remove_account.
After this completes, the DB is the sole source of truth. A row whose mnemonic could not be read is archived in the same step (see below) and is never retried, so a keychain that becomes available later does not bring it back. All new accounts are written directly to the DB; the keychain is never written.
Orphan handling (archive, not delete). If an accounts row exists but its mnemonic isn't in the keychain and isn't already in the DB (e.g., the user copied wallet.db to a new machine without also moving the keychain entries, restored from a partial backup, or installed in Docker where the keychain never existed), that row is unusable for signing. Rather than delete it, the server marks the row as archived (UPDATE accounts SET archived = 1 WHERE mnemonic IS NULL OR mnemonic = ''). Archived rows:
are hidden from the default
wallet_list_accountsresponsenever become the active account (the active account is a position in the list of non-archived accounts; if that position is past the end of the list after archiving, it resets to
0, the first remaining account)keep their original nickname (a partial unique index
idx_active_nicknameenforces nickname uniqueness only among active rows, so a newwallet_add_accountcan reuse the same nickname for a fresh keypair)are surfaced via
wallet_list_accounts { archived: true }for forensics or future recovery
Archiving is silent at the MCP tool layer. The only diagnostic is a one-line stderr log per failed keychain read ([algorand-mcp] keychain read failed for <addr>…: <msg>), so if a user investigates a false archive they can see whether the keychain threw "no entry" vs "access denied" vs "no DBus" etc.
No user action is required for any of this. No prompts, no env vars, no migration tools.
Schema versions
The DB schema evolves via an idempotent migration that runs when a server process first opens wallet.db (on its first wallet operation). No version number is stored; the version is inferred from the columns present:
Version | Change |
v1 | initial — |
v2 | added |
v3 | added |
The v2→v3 step recreates the accounts table (SQLite cannot drop a column-level UNIQUE constraint via ALTER) and copies data forward with archived = 0. Existing wallets keep working unchanged.
x402 HTTP Payments
x402 is an HTTP-native micropayments protocol. It uses the long-reserved 402 Payment Required status as a real handshake: when a client requests a paid resource without paying, the server returns 402 with a PAYMENT-REQUIRED header (base64-encoded JSON; older servers put the same JSON in the response body) listing what it accepts (networks, assets, amounts, the recipient address). The client constructs a payment, attaches it as an HTTP header, retries the same request, and the server returns 200 with the resource. No API keys, no Stripe webhooks, no accounts to manage — payment is part of the request itself.
This MCP implements the Algorand flavor of x402, where payments are USDC (or native ALGO) transfers on Algorand. Its two payment tools collapse the manual flow (probe → parse → build fee payer → build payment → group → sign → encode → header → retry) into a single tool call. They do not check the asset opt-in, so opt in beforehand (see Prerequisites). Three Bazaar tools (bazaar_list, bazaar_search, bazaar_get_resource_details) browse the catalog of paid APIs served at BAZAAR_BASE_URL.
Protocol shape (Algorand variant)
Agent (LLM) algorand-mcp Endpoint Facilitator
────────── ──────────── ──────── ───────────
│ │ │ │
│ make_http_request_ │ │ │
│ with_x402 {baseURL,...} │ │ │
│ ────────────────────────► │ HTTP request │ │
│ │ ─────────────────────────► │ │
│ │ 402 PaymentRequired │ │
│ │ ◄───────────────────────── │ │
│ │ pick accepts[i] for │ │
│ │ Algorand network │ │
│ │ build fee-payer + payment │ │
│ │ (atomic group of 2) │ │
│ │ sign payment leg │ │
│ │ via agent wallet DB │ │
│ │ encode unsigned fee-payer │ │
│ │ base64 PAYMENT-SIGNATURE │ │
│ │ ─────────────────────────► │ │
│ │ HTTP request + │ forward + settle │
│ │ PAYMENT-SIGNATURE │ ───────────────────────► │
│ │ │ sign fee-payer, │
│ │ │ submit atomic group │
│ │ 200 + resource │ ◄─────────────────────── │
│ │ ◄───────────────────────── │ │
│ ◄─ { result, paid: {...}}│ │ │
│ │ │ │What's different from the Coinbase/EVM version
Same V2 header, Algorand payload. The payment travels in the x402 V2
PAYMENT-SIGNATUREheader (V2 uses it on every chain;X-PAYMENTwas the V1 name). The header body is base64-encoded JSON withx402Version(2),scheme,network(a CAIP-2 identifier likealgorand:wGHE2Pw…for mainnet), apayloadholding an Algorand transaction group (paymentGroup,paymentIndex: 1) instead of an EVM signature, andaccepted, a verbatim copy of theaccepts[]entry the client chose.Payment is an atomic 2-transaction group. Index 0 is a fee-payer transaction (sender = facilitator, amount = 0, fee = 2000 µAlgo for the whole group); index 1 is the actual USDC ASA transfer (sender = wallet, fee = 0). The wallet signs only index 1 — the facilitator signs index 0 server-side at settlement. The user's wallet pays only the USDC, not even network fees.
Network strings are Algorand CAIP-2. This MCP recognizes mainnet (
wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=) and testnet (SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=). Endpoints that only accept Base, Solana, or other non-Algorand networks are not satisfiable here and the tool returns a clear error.
Coinbase Wallet MCP compatibility (x402 surface)
The x402 tools — make_http_request_with_x402 and x402_discover_payment_requirements — are intentionally name- and shape-compatible with the Coinbase Wallet MCP's x402 tools. The input parameters (baseURL, path, method, queryParams, body, headers, correlationId, maxAmountPerRequest, paymentRequirements, preferredNetwork, extensions) are the same. The output envelope (result, _atomicUnitsNote) is the same.
What this means in practice:
Drop-in for Algorand x402. Agents and MCP apps written against the Coinbase Wallet MCP's x402 tools work against this server without any prompt changes — they just hit Algorand x402 endpoints instead of Base/Solana ones.
Same agent reflexes. Models trained on tool-call traces from the Coinbase ecosystem use these tools correctly on first call. Nothing to relearn.
Compatibility is scoped to the x402 surface only. The wallet, account, transaction-building, and DEX tools in this MCP are Algorand-specific and do not mirror Coinbase's wallet API. Only
make_http_request_with_x402andx402_discover_payment_requirementsare drop-in compatible.
The one parameter that necessarily differs: preferredNetwork takes Algorand names (mainnet | testnet | localnet), because the wallet only signs Algorand transactions. Coinbase's enum lists base | base-sepolia | solana | solana-devnet. The value only chooses among the endpoint's accepts entries on Algorand mainnet and testnet: a value that matches none of them (a non-Algorand name, or localnet, which no CAIP-2 id maps to) is ignored, and the cheapest affordable entry is paid. When the endpoint offers no mainnet or testnet entry, the tool returns an error listing the networks it accepts.
Example — paid weather API
# Step 1 (optional): peek at the cost
x402_discover_payment_requirements {
"baseURL": "https://example.x402.goplausible.xyz",
"path": "/weather",
"method": "GET"
}
# returns: { result: { accepts: [{ scheme: "exact", network: "algorand:SGO1...",
# amount: "100", asset: "10458941",
# payTo: "AAAA...", extra: { feePayer: "BBBB..." } }] } }
# Step 2: pay and fetch in one call
make_http_request_with_x402 {
"baseURL": "https://example.x402.goplausible.xyz",
"path": "/weather",
"method": "GET",
"maxAmountPerRequest": 10000,
"preferredNetwork": "testnet"
}
# returns: { result: <weather payload>, status: 200, paid: { network: "testnet",
# asset: "10458941",
# amount: "100", payTo: "AAAA..." },
# paymentResponse: <decoded PAYMENT-RESPONSE header> }The active wallet account must be opted into the target ASA (e.g. USDC) and hold enough balance to cover the requirement's amount (maxAmountRequired on x402 V1 servers). If it isn't opted in, the payment fails at settlement — opt in first with wallet_optin_asset.
Prerequisites
An active wallet account exists (
wallet_get_infoto verify)That account is opted into the payment asset (USDC mainnet ASA
31566704, testnet ASA10458941)The account has enough of the payment asset for the requirement's
amount(V1:maxAmountRequired)The endpoint's
accepts[]includes at least one entry with an Algorand network the MCP recognizes (mainnet or testnet), withinmaxAmountPerRequestwhen you set itThe entry the tool picks names the facilitator's fee payer in
extra.feePayer; the tool always builds the fee-payer group and refuses an entry without one
Optional Environment Variables
Environment variables are only needed for special setups. Pass them via the env block in your MCP config.
Variable | Description | Default | When needed |
| API token sent to Algod and Indexer on every network, including the AlgoNode mainnet/testnet endpoints |
| Your localnet or private node (reached through |
| Localnet Algod base URL |
| Using |
| Localnet Indexer base URL |
| Your localnet Indexer URL is not the Algod URL with |
| Default page size for paginated responses; a call's |
| Changing the default page size |
| Haystack Router API key | built-in key | Using your own Haystack Router key |
| Alpha Arcade API key |
| Accessing reward market data ( |
| Alpha Arcade API base URL |
| Using a different Alpha Arcade API host |
| Base URL of the Bazaar discovery API used by the |
| Browsing another facilitator's Bazaar |
Example: localnet (AlgoKit)
{
"mcpServers": {
"algorand-mcp": {
"command": "node",
"args": ["/path/to/algorand-mcp/dist/index.js"],
"env": {
"ALGORAND_LOCALNET_URL": "http://localhost:4001",
"ALGORAND_TOKEN": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
}
}Then use "network": "localnet" in your tool calls.
Available Tools
Wallet Tools (10 tools)
See Agent Wallet for full architecture details.
Tool | Description |
| Create a new Algorand account with nickname (returns address + public key only) |
| Remove an account from the wallet by nickname or index |
| List active accounts with nicknames and addresses. Pass |
| Switch the active account by nickname or index |
| Get info for the active account this MCP server owns (DB-backed): address, public key, balance, opted-in counts. For arbitrary on-chain accounts use |
| Get all ASA holdings for the active account this MCP server owns. For arbitrary on-chain accounts use |
| Sign a single transaction with the active account |
| Sign a group of transactions with the active account (auto-assigns group ID) |
| Sign arbitrary hex data with raw Ed25519 (noble, no SDK prefix) |
| Opt the active account into an asset (creates, signs, and submits) |
x402 HTTP Payment Tools (5 tools)
See x402 HTTP Payments for the full protocol explanation.
Tool | Description |
| Probe an x402-protected endpoint and return its |
| Call an x402-protected endpoint with automatic USDC/ALGO payment from the active wallet. Discovers internally if |
| Browse paid API resources cataloged in the Bazaar discovery directory hosted by the configured facilitator ( |
| Keyword search over Bazaar resources (URL + description). Server-side: |
| Fetch a single Bazaar resource by its exact |
Account Management (8 tools)
Tool | Description |
| Create a new Algorand account (returns address + mnemonic in the clear) |
| Create an unsigned rekey transaction (a 0-ALGO payment to itself with |
| Convert mnemonic to master derivation key |
| Convert master derivation key to mnemonic |
| Convert secret key to mnemonic |
| Convert mnemonic to secret key |
| Generate seed from mnemonic |
| Generate mnemonic from seed |
Utility Tools (13 tools)
Tool | Description |
| Server connectivity check and info |
| Check if an Algorand address is valid |
| Encode a public key to an Algorand address |
| Decode an Algorand address to a public key |
| Get address for a given application ID |
| Convert bytes to BigInt |
| Convert BigInt to bytes |
| Encode uint64 to bytes |
| Decode bytes to uint64 |
| Verify signature against bytes |
| Sign bytes with a secret key |
| Encode object to msgpack |
| Decode msgpack to object |
Transaction Tools (18 tools)
Tool | Description |
| Create a payment transaction |
| Create a key registration transaction |
| Create an asset creation transaction |
| Create an asset configuration transaction |
| Create an asset destroy transaction |
| Create an asset freeze transaction |
| Create an asset transfer transaction |
| Create an application creation transaction |
| Create an application update transaction |
| Create an application delete transaction |
| Create an application opt-in transaction |
| Create an application close-out transaction |
| Create an application clear state transaction |
| Create an application call transaction |
| Assign group ID for atomic transactions |
| Sign a transaction with a secret key |
| Encode an unsigned transaction to base64 msgpack bytes |
| Decode a signed transaction blob back to JSON with signature details |
Algod Tools (5 tools)
Tool | Description |
| Compile TEAL source code |
| Disassemble TEAL bytecode to source |
| Submit signed transactions to the network |
| Simulate already-encoded transactions (base64 bytes). Pass/fail + log/cost only — no trace, no extra budget. |
| Simulate decoded transaction groups with full |
Algod API Tools (13 tools)
Live, current-state reads against an Algod node. Default choice for account/application/asset lookups — the matching indexer endpoints were intentionally disabled to keep the tool surface lean (see Indexer API Tools). Use the indexer family below only when you need historical or filtered queries that algod cannot serve.
Tool | Description |
| Get account balance, assets, and auth address |
| Get account-specific application info |
| Get account-specific asset info |
| Get application information |
| Get application box by name |
| Get all application boxes |
| Get asset information |
| Get pending transaction info |
| Get pending transactions for an address |
| Get all pending transactions |
| Get suggested transaction parameters |
| Get current node status |
| Get node status after a specific round |
Indexer API Tools (10 tools)
Historical / filtered queries against an Algorand Indexer instance. Use these for time-range scans, paginated searches, log retrieval, and creator/holder discovery — anything algod's current-state endpoints cannot answer.
Seven indexer endpoints that duplicated algod equivalents (account-by-id, account assets, account app local states, application by id, application box, application boxes, asset by id) were intentionally disabled. They live commented-out in src/tools/apiManager/indexer/; to re-enable one, uncomment both its tool definition and its handler case in the same file.
Tool | Description |
| Get apps created by account |
| Search accounts with filters (asset/app holdings, balance ranges) |
| Get application log messages over a round range |
| Search applications by creator |
| Get all accounts holding an asset with their balances |
| Get transactions involving an asset (time/round/address-role filters) |
| Search assets by creator, name, or unit |
| Get a confirmed transaction by ID |
| Get an account's transaction history (time/round/type/asset filters) |
| Search transactions across the chain with filters |
NFDomains Tools (6 tools)
Tool | Description |
| Get NFD by name or application ID |
| Get NFDs for specific addresses |
| Get activity/changes for NFDs |
| Get NFD analytics data |
| Browse NFDs with filters |
| Search NFDs |
NFDomains tools always query the mainnet NFD API (
api.nf.domains); thenetworkparameter has no effect on them.
Tinyman AMM Tools (9 tools)
Tool | Description |
| Get pool info by asset pair |
| Get pool analytics |
| Get quote for creating a pool |
| Get quote for adding liquidity |
| Get quote for removing liquidity |
| Get quote for swapping assets |
| Get quote for asset opt-in |
| Get quote for validator opt-in |
| Get quote for validator opt-out |
Tinyman tools work on mainnet and testnet only;
"network": "localnet"is rejected.
Haystack Router Tools (3 tools)
Tool | Description |
| Get optimized swap quote with routing across Tinyman V2, Pact, Folks, and LST protocols |
| All-in-one swap: quote → sign (via wallet) → submit → confirm |
| Check if address needs asset opt-in before swapping |
Haystack Router tools work on mainnet and testnet only;
"network": "localnet"is rejected.
Pera Wallet Tools (3 tools)
Tool | Description |
| Get verification status of a mainnet asset (verified, trusted, suspicious, unverified) |
| Get detailed asset info from Pera (name, unit, logo, decimals, verification) |
| Search Pera verified assets by name, unit name, or keyword |
Pera Wallet tools are mainnet only — the Pera public API does not support testnet or localnet.
Alpha Arcade Tools (14 tools)
Trade on-chain prediction markets (YES/NO outcomes) denominated in USDC. All prices and quantities use microunits (1,000,000 = $1.00 or 1 share). Read-only tools work without a wallet; trading tools require an active wallet account. Alpha Arcade runs on mainnet only: pass "network": "mainnet", since the matcher app and USDC asset IDs are mainnet IDs and the server defaults to testnet.
Tool | Description |
| Fetch all live prediction markets with prices, volume, and categories |
| Fetch markets with liquidity rewards (requires |
| Fetch full details for a single market by app ID |
| Unified YES-perspective orderbook with spread calculation |
| Open orders for a wallet on a specific market |
| YES/NO token positions across all markets |
| Place a limit order at a specific price (locks ~0.957 ALGO collateral) |
| Place a market order with auto-matching and slippage tolerance |
| Cancel an open order (refunds USDC/tokens and ALGO collateral) |
| Edit an existing unfilled order in-place (price, quantity, slippage) |
| Propose a match between an existing maker order and your wallet |
| Split USDC into equal YES + NO outcome tokens |
| Merge equal YES + NO tokens back into USDC |
| Claim USDC from a resolved market by redeeming winning tokens |
Optional env var:
ALPHA_API_KEY— needed for reward market data.ALPHA_API_BASE_URL— custom API endpoint (default:https://platform.alphaarcade.com/api).
ARC-90 URI Tools (1 tool)
Tool | Description |
| Generate an ARC-90 payment URI and its QR code via QRClaw. Mainnet URIs have no authority; testnet and localnet URIs carry the genesis hash as a |
Knowledge Tools (1 tool)
Tool | Description |
| Get markdown content for Algorand knowledge documents |
Resources
The server exposes the 13 knowledge resources below. Each returns JSON (application/json): algorand://knowledge/taxonomy returns all 12 categories, and every other URI returns one category with the keys of its documents. Pass those keys to get_knowledge_doc to read the documents. There are no wallet resources; the wallet is reached through the Wallet Tools.
Knowledge Resources
URI | Description |
| Full Algorand knowledge taxonomy |
| Algorand Request for Comments |
| SDK documentation |
| AlgoKit documentation |
| AlgoKit Utils documentation |
| TEALScript documentation |
| Puya documentation |
| Liquid Auth documentation |
| Python code examples and Algorand Python testing guide |
| Developer documentation |
| CLI tools documentation |
| Node management documentation |
| Technical details documentation |
Document keys use : as the separator (for example arcs:specs:arc-0020.md); pass them to get_knowledge_doc as listed. On disk each document is stored with ~ in place of : (arcs~specs~arc-0020.md) so the file names are valid on Windows; the tool maps keys to files and does not accept the on-disk names.
Project Structure
algorand-mcp/
├── src/ # TypeScript source
│ ├── index.ts # Server entry point
│ ├── networkConfig.ts # Hardcoded network URLs and client factories
│ ├── algorand-client.ts # Re-exports from networkConfig
│ ├── env.ts # Legacy env shim (unused)
│ ├── types.ts # Zod schemas (unused: imported nowhere)
│ ├── resources/ # MCP Resources (knowledge documents only)
│ │ ├── index.ts # ResourceManager: resources/list and resources/read
│ │ └── knowledge/ # Documentation taxonomy
│ │ ├── taxonomy/ # One Markdown file per document key (':' written as '~')
│ │ └── taxonomy-categories/ # Category indexes (JSON) listing the document keys
│ ├── tools/ # MCP Tools
│ │ ├── index.ts # Re-exports every manager
│ │ ├── commonParams.ts # Network + pagination schema fragments
│ │ ├── walletManager.ts # Agent wallet (SQLite-backed)
│ │ ├── x402Manager.ts # x402 HTTP payments + Bazaar discovery
│ │ ├── accountManager.ts # Account operations
│ │ ├── utilityManager.ts # Utility functions
│ │ ├── algodManager.ts # TEAL compile, simulate, submit
│ │ ├── arc90Manager.ts # ARC-90 payment URIs + QR codes (QRClaw)
│ │ ├── knowledgeManager.ts # Knowledge document access
│ │ ├── transactionManager/ # Transaction building
│ │ │ ├── index.ts # Routes make_* and the group/sign/encode/decode tools
│ │ │ ├── accountTransactions.ts
│ │ │ ├── assetTransactions.ts
│ │ │ ├── appTransactions/
│ │ │ └── generalTransaction.ts
│ │ └── apiManager/ # API integrations
│ │ ├── index.ts # Routes api_* / alpha_* + pagination
│ │ ├── algod/ # Algod API
│ │ ├── indexer/ # Indexer API
│ │ ├── nfd/ # NFDomains
│ │ ├── tinyman/ # Tinyman AMM (uses vendor/tinyman-js-sdk)
│ │ ├── hayrouter/ # Haystack Router DEX aggregator
│ │ ├── pera/ # Pera Wallet verified assets
│ │ └── alpha/ # Alpha Arcade prediction markets
│ └── utils/
│ └── responseProcessor.ts # Pagination and formatting
├── vendor/ # Third-party code shipped with the package
│ └── tinyman-js-sdk/ # Tinyman JS SDK 5.1.5, compiled and unmodified (MIT, LICENSE included)
├── tests/ # Test suite
│ ├── helpers/ # Shared test utilities
│ │ ├── mockFactories.ts # Mock algod/indexer/keychain factories
│ │ ├── testConfig.ts # Category enable/disable logic
│ │ ├── e2eSetup.ts # getE2EAccount() + invokeTool() (copy of the server dispatch)
│ │ └── testConstants.ts # Well-known testnet addresses and asset IDs
│ ├── unit/ # 11 unit test suites (mocked, fast)
│ ├── e2e/ # 11 E2E test suites (live testnet)
│ │ ├── globalSetup.ts # Account provisioning + fund-check
│ │ └── globalTeardown.ts # Prints a completion message
│ └── jest.config.e2e.js # E2E-specific Jest config
├── skills/ # Agent skills (Algorand, x402, Alpha Arcade, Haystack Router)
├── dist/ # Compiled output
├── AGENTS.md # Guide for agents using the tools
├── .env.example # Environment variables the server reads (all optional)
├── jest.config.js # Unit test Jest config
├── tsconfig.json # Production TypeScript config
├── tsconfig.test.json # Test TypeScript config
└── package.jsonResponse Format
All tool responses follow the MCP content format. Responses from the api_* and alpha_* tools are wrapped in { "data": ... } and paginated when an array or object in them exceeds itemsPerPage (default: the ITEMS_PER_PAGE env var, else 10):
{
"data": { ... },
"metadata": {
"totalItems": 100,
"itemsPerPage": 10,
"currentPage": 1,
"totalPages": 10,
"hasNextPage": true,
"pageToken": "cGFnZV8y",
"arrayField": "transactions"
}
}Pass pageToken from a previous response to fetch the next page, and set itemsPerPage on the call to control page size. Both apply only to the api_* and alpha_* tools; pageToken is read by the server although no tool schema declares it. The other tools list itemsPerPage in their schemas but return unpaginated results.
Development
# Install dependencies
npm install
# Type-check
npm run typecheck
# Build
npm run build
# Clean build output
npm run cleanTesting
The project has a comprehensive dual-layer test suite: fast unit tests (mocked, no network) and real E2E tests (live testnet). Both use Jest 29 with ts-jest and ESM support.
Quick start
npm test # Unit tests (fast, no network)
npm run test:e2e # E2E tests (testnet, generates account + fund link)
npm run test:all # BothUnit tests
Unit tests cover 11 of the 15 tool categories with fully mocked network dependencies; x402, Haystack Router, Pera Wallet and Alpha Arcade have no unit suite yet. They run in parallel and finish in ~5 seconds. No environment variables or funded accounts are needed.
npm testCoverage: 11 suites, 140+ tests covering success paths, error handling, and edge cases for the categories below.
Suite | What it tests |
| Account creation, mnemonic ↔ secret key / MDK / seed round-trips, invalid and missing mnemonic errors |
| Ping, address validation, encode/decode, sign/verify bytes, encode/decode objects |
| Full lifecycle: add → list → switch → get info → sign data → remove (mocked keychain and file system; real in-memory sql.js, so |
| Payment, asset, app transaction building; sign_transaction; assign_group_id |
| TEAL compile/disassemble, send raw, simulate |
| 5 of the 13 algod API tools (account info, suggested params, node status, application, asset) plus missing-address and unknown-tool errors |
| 4 of the 10 active indexer API tools (account, asset, transaction and application search) with fluent builder mocks, a check that the asset-name filter reaches the indexer, and an unknown-tool error |
| NFD get/search/browse with mocked fetch |
| Tinyman pool/swap with error handling |
| ARC-90 payment URIs (spec examples, network authority, encoding, uint64 amounts, canonical addresses, validation) and QRClaw handling, with mocked fetch |
| Document retrieval by key (case-insensitive); every key in the category indexes opens; unknown keys, on-disk file names, path traversal, absolute paths and NUL bytes are rejected; file names are Windows-safe ( |
How mocking works
Unit tests use jest.unstable_mockModule() (ESM-compatible) to intercept imports before they load. The shared tests/helpers/mockFactories.ts provides:
setupNetworkMocks()— Replacesalgorand-client.tswith mock algod/indexer clients that return deterministic responses without any network calls.createKeychainMock()— Replaces@napi-rs/keyringwith an in-memoryMap, so wallet tests work without an OS keychain.Fluent Proxy mocks — Algorand's Indexer SDK uses a builder pattern (
.searchForAssets().limit(5).do()). The mock factory uses ESProxyobjects that return themselves for any chained method and resolve when.do()is called.
E2E tests
E2E tests call tool handlers directly against Algorand testnet (via AlgoNode public nodes); the NFD suite calls the mainnet NFD API and the ARC-90 suite calls the live QRClaw service. They run serially to avoid rate-limiting.
The wallet suite changes your real agent wallet: it adds an account to ~/.algorand-mcp/wallet.db, makes it the active account and then removes it, which can leave a different account active than before. The path comes from your home directory and has no separate setting, so run E2E tests with HOME pointing at a scratch directory, e.g. HOME=$(mktemp -d) npm run test:e2e.
npm run test:e2eOn first run (no mnemonic provided), the test setup:
Generates a new Algorand account
Prints the address and mnemonic
Prints a fund link: https://lora.algokit.io/testnet/fund
Runs all tests (unfunded tests still pass)
To run with a funded account:
E2E_MNEMONIC="word1 word2 ... word25" npm run test:e2eCoverage: 11 suites, 35+ tests covering real network interactions.
Suite | What it tests |
| Account creation, mnemonic-to-key round-trip chain |
| Ping, address validation, encode/decode, sign/verify bytes, encode/decode objects |
| Full wallet lifecycle: add → list → switch → get info → get assets → sign data → remove |
| Build payment → sign → verify txID; build asset opt-in; build group with assign_group_id |
| Compile + disassemble TEAL round-trip |
| Account info, suggested params, node status, asset info via algod |
| Asset, transaction and account search via indexer |
| Look up "algo.algo", search NFDs, browse NFDs |
| Get ALGO/USDC pool |
| Generate testnet and mainnet ARC-90 URIs, verify format + QRClaw link |
| Retrieve a document by key ( |
Category activation
E2E tests can be selectively enabled by category via environment variables. By default all categories are enabled.
Enable specific categories
E2E_WALLET=1 npm run test:e2e # Only wallet tests
E2E_ALGOD=1 E2E_UTILITY=1 npm run test:e2e # Algod + utility testsAvailable category flags
Env var | Category |
| All categories (explicit) |
| Wallet tools |
| Account tools |
| Utility tools |
| Transaction tools |
| Algod tools |
| Algod API tools |
| Indexer API tools |
| NFDomains tools |
| Tinyman tools |
| ARC-90 tools |
| Knowledge tools |
Important: Setting any individual flag (e.g. E2E_WALLET=1) disables all other categories unless E2E_ALL=1 is also set.
Enable categories by tool name
E2E_TOOLS=ping,validate_address npm run test:e2eThe E2E_TOOLS variable accepts a comma-separated list of tool names and enables the whole category of each named tool (here, all utility tests): the suites filter by category, not by tool. Other categories stay disabled unless their own flag or E2E_ALL=1 is set.
Test file structure
tests/
├── helpers/
│ ├── mockFactories.ts # Mock algod/indexer/keychain factories
│ ├── testConfig.ts # Category enable/disable logic
│ ├── e2eSetup.ts # getE2EAccount() + invokeTool() (copy of the server dispatch)
│ └── testConstants.ts # Well-known testnet addresses and asset IDs
├── unit/ # 11 unit test files (*.test.ts)
│ ├── accountManager.test.ts
│ ├── utilityManager.test.ts
│ ├── walletManager.test.ts
│ ├── transactionManager.test.ts
│ ├── algodManager.test.ts
│ ├── apiAlgod.test.ts
│ ├── apiIndexer.test.ts
│ ├── apiNfd.test.ts
│ ├── apiTinyman.test.ts
│ ├── arc90Manager.test.ts
│ └── knowledgeManager.test.ts
├── e2e/ # 11 E2E test files (*.e2e.test.ts)
│ ├── globalSetup.ts # Account provisioning + fund-check
│ ├── globalTeardown.ts # Prints a completion message
│ ├── account.e2e.test.ts
│ ├── utility.e2e.test.ts
│ ├── wallet.e2e.test.ts
│ ├── transaction.e2e.test.ts
│ ├── algod.e2e.test.ts
│ ├── algodApi.e2e.test.ts
│ ├── indexerApi.e2e.test.ts
│ ├── nfd.e2e.test.ts
│ ├── tinyman.e2e.test.ts
│ ├── arc90.e2e.test.ts
│ └── knowledge.e2e.test.ts
└── jest.config.e2e.js # E2E-specific Jest configJest configuration
Config | Purpose | Key settings |
| Unit tests |
|
| E2E tests |
|
| TypeScript for tests |
|
Writing new tests
Unit test template:
import { jest } from '@jest/globals';
import { setupNetworkMocks } from '../helpers/mockFactories.js';
jest.unstable_mockModule('../../src/algorand-client.js', () => setupNetworkMocks());
const { YourManager } = await import('../../src/tools/yourManager.js');
describe('YourManager', () => {
it('does something', async () => {
const result = await YourManager.handleTool('tool_name', { arg: 'value' });
const data = JSON.parse(result.content[0].text);
expect(data.field).toBeDefined();
});
});E2E test template (for a new category, add it to TOOL_CATEGORIES and toolCategoryMap in tests/helpers/testConfig.ts, and make sure invokeTool() in tests/helpers/e2eSetup.ts routes its tools: that copy of the server's dispatch has no routes yet for the x402, bazaar_*, alpha_*, encode_unsigned_transaction and decode_signed_transaction tools):
import { describeIf, testConfig } from '../helpers/testConfig.js';
import { invokeTool, parseToolResponse } from '../helpers/e2eSetup.js';
describeIf(testConfig.isCategoryEnabled('your-category'))('Your Tools (E2E)', () => {
it('does something on testnet', async () => {
const data = parseToolResponse(
await invokeTool('tool_name', { arg: 'value', network: 'testnet' }),
);
expect(data.field).toBeDefined();
});
});Dependencies
algosdk v3 — Algorand JavaScript SDK
@modelcontextprotocol/sdk — MCP TypeScript SDK
@napi-rs/keyring — Native OS keychain access (macOS Keychain, Linux libsecret, Windows Credential Manager). Used as a backward-compatibility read fallback for accounts created by pre-DB-migration installs, and for a best-effort cleanup of any leftover keychain entry when an account is removed; new mnemonics are written only to
wallet.db.sql.js — Embedded SQLite (WASM) for the agent wallet: accounts, their mnemonics and the active account, persisted to
~/.algorand-mcp/wallet.db@noble/curves — Pure JS Ed25519 for raw data signing (
wallet_sign_data)@txnlab/haystack-router — Haystack Router SDK (DEX aggregator quotes and swaps)
@alpha-arcade/sdk 0.5.2 (pinned) — Alpha Arcade prediction market SDK
base64-js — Base64 encoding, required by the vendored Tinyman SDK
zod — Schema library that the MCP SDK requires; listed here so every install gets a patched 4.x release (CVE-2023-54404). This server checks tool arguments in its own handlers, not with Zod.
Shipped with the package:
Tinyman JS SDK 5.1.5 — Tinyman AMM SDK, compiled and unmodified, in vendor/tinyman-js-sdk/ with its MIT license. It replaces the
@tinymanorg/tinyman-js-sdknpm package, whose deprecateduuid@10dependency fails dependency security scans; see VENDORED.md.
License
MIT
Available Tools
120 toolsalpha_amend_orderA
Edit an existing unfilled Alpha Arcade order in-place (change price, quantity, or slippage). Faster than cancel + recreate.
Inputs: marketAppId (required), escrowAppId (required), price (required), quantity (required), +3 more.
alpha_cancel_orderA
Cancel an open Alpha Arcade order. Requires escrowAppId and orderOwner. Refunds USDC/tokens and ~0.957 ALGO collateral.
Inputs: marketAppId (required), escrowAppId (required), orderOwner (required), network, +1 more.
alpha_claimC
Claim USDC from a resolved Alpha Arcade market by redeeming outcome tokens. Winning = 1:1 USDC.
Inputs: marketAppId (required), assetId (required), amount, network, +1 more.
alpha_create_limit_orderA
Place a limit order on an Alpha Arcade prediction market. Price and quantity in microunits (500000 = $0.50, 1000000 = 1 share). Locks ~0.957 ALGO collateral. Returns escrowAppId — save it for cancel_order.
Inputs: marketAppId (required), position (required), price (required), quantity (required), +3 more.
alpha_create_market_orderC
Place a market order with auto-matching on Alpha Arcade. Price, quantity, and slippage in microunits. Returns escrowAppId, matched quantity, and actual fill price.
Inputs: marketAppId (required), position (required), price (required), quantity (required), +4 more.
alpha_get_live_marketsA
Fetch all live Alpha Arcade prediction markets. Returns summary: id, title, marketAppId, prices, volume. Multi-choice markets have an options[] array — use options[].marketAppId for trading.
Inputs: network, itemsPerPage.
alpha_get_marketB
Fetch full details for a single Alpha Arcade prediction market. Pass marketAppId (numeric, always required) and optionally marketId (UUID) for richer API data.
Inputs: marketAppId (required), marketId, network, itemsPerPage.
alpha_get_open_ordersA
Fetch all open orders for a wallet on a specific Alpha Arcade market. Uses your active MCP wallet if walletAddress is not provided.
Inputs: marketAppId (required), walletAddress, network, itemsPerPage.
alpha_get_orderbookB
Fetch the on-chain orderbook as a unified YES-perspective view. Merges all 4 sides (YES bids/asks + NO bids/asks). Includes spread calculation.
Inputs: marketAppId (required), network, itemsPerPage.
alpha_get_positionsA
Fetch all YES/NO token positions for a wallet across all Alpha Arcade markets. Uses your active MCP wallet if walletAddress is not provided.
Inputs: walletAddress, network, itemsPerPage.
alpha_get_reward_marketsA
Fetch Alpha Arcade markets with liquidity rewards (totalRewards, rewardsPaidOut, etc.). Same shape as alpha_get_live_markets but includes reward info. Requires ALPHA_API_KEY.
Inputs: network, itemsPerPage.
alpha_propose_matchC
Propose a match between an existing maker order and your wallet as taker on Alpha Arcade.
Inputs: marketAppId (required), makerEscrowAppId (required), makerAddress (required), quantityMatched (required), +2 more.
api_algod_get_account_application_infoB
Get account-specific application information from algod
Inputs: address (required), appId (required), network, itemsPerPage.
api_algod_get_account_asset_infoC
Get account-specific asset information from algod
Inputs: address (required), assetId (required), network, itemsPerPage.
api_algod_get_account_infoB
Get current account balance, assets, and auth address from algod
Inputs: address (required), network, itemsPerPage.
api_algod_get_application_boxC
Get application box by name
Inputs: appId (required), boxName (required), network, itemsPerPage.
api_algod_get_application_boxesC
Get all application boxes
Inputs: appId (required), maxBoxes, network, itemsPerPage.
api_algod_get_application_by_idC
Get application information
Inputs: appId (required), network, itemsPerPage.
api_algod_get_asset_by_idC
Get current asset information from algod
Inputs: assetId (required), network, itemsPerPage.
api_algod_get_node_statusC
Get current node status
Inputs: network, itemsPerPage.
api_algod_get_node_status_after_blockB
Get node status after a specific round
Inputs: round (required), network, itemsPerPage.
api_algod_get_pending_transactionC
Get pending transaction information
Inputs: txId (required), network, itemsPerPage.
api_algod_get_pending_transactionsC
Get all pending transactions
Inputs: maxTxns, network, itemsPerPage.
api_algod_get_pending_transactions_by_addressC
Get pending transactions for an address
Inputs: address (required), network, itemsPerPage.
api_algod_get_transaction_paramsC
Get suggested transaction parameters
Inputs: network, itemsPerPage.
api_haystack_execute_swapA
Execute an optimized token swap via Haystack Router — gets the best route across multiple DEXes (Tinyman V2, Pact, Folks) and LST protocols, then signs and submits the atomic transaction group using the active wallet account. This is an all-in-one tool: quote → sign → submit → confirm. All amounts are in base units (e.g., 1000000 = 1 ALGO).
Inputs: fromASAID (required), toASAID (required), amount (required), slippage, +6 more.
api_haystack_get_swap_quoteA
Get an optimized swap quote from Haystack Router — a DEX aggregator that finds the best swap route across multiple Algorand DEXes (Tinyman V2, Pact, Folks) and LST protocols (tALGO, xALGO). Returns the best-price quote with route details, USD values, and price impact. Use this to preview a swap before executing. All amounts are in base units (e.g., 1000000 = 1 ALGO).
Inputs: fromASAID (required), toASAID (required), amount (required), type, +5 more.
api_haystack_needs_optinA
Check if an Algorand address needs to opt into an asset before swapping. Returns true if opt-in is needed, false otherwise. Always returns false for ALGO (ASA 0). Use before executing a swap to determine if wallet_optin_asset should be called first.
Inputs: address (required), assetId (required), network, itemsPerPage.
api_indexer_lookup_account_app_local_statesC
Get account application local states
Inputs: address (required), network, itemsPerPage.
api_indexer_lookup_account_assetsC
Get account assets
Inputs: address (required), limit, assetId, nextToken, +2 more.
api_indexer_lookup_account_by_idC
Get account information from indexer
Inputs: address (required), network, itemsPerPage.
api_indexer_lookup_account_created_applicationsC
Get applications created by this account
Inputs: address (required), network, itemsPerPage.
api_indexer_lookup_account_transactionsC
Get account transaction history
Inputs: address (required), limit, beforeTime, afterTime, +6 more.
api_indexer_lookup_application_boxC
Get application box by name
Inputs: appId (required), boxName (required), network, itemsPerPage.
api_indexer_lookup_application_boxesC
Get all application boxes
Inputs: appId (required), maxBoxes, network, itemsPerPage.
api_indexer_lookup_application_logsC
Get application log messages
Inputs: appId (required), limit, minRound, maxRound, +5 more.
api_indexer_lookup_applicationsC
Get application information from indexer
Inputs: appId (required), network, itemsPerPage.
api_indexer_lookup_asset_balancesC
Get accounts holding this asset and their balances
Inputs: assetId (required), limit, currencyGreaterThan, currencyLessThan, +4 more.
api_indexer_lookup_asset_by_idC
Get asset information and configuration
Inputs: assetId (required), network, itemsPerPage.
api_indexer_lookup_asset_transactionsC
Get transactions involving this asset
Inputs: assetId (required), limit, beforeTime, afterTime, +9 more.
api_indexer_lookup_transaction_by_idC
Get transaction information by ID
Inputs: txId (required), network, itemsPerPage.
api_indexer_search_for_accountsC
Search for accounts with various criteria
Inputs: limit, assetId, applicationId, currencyGreaterThan, +4 more.
api_indexer_search_for_applicationsC
Search for applications with various criteria
Inputs: limit, creator, nextToken, network, +1 more.
api_indexer_search_for_assetsC
Search for assets with various criteria
Inputs: limit, creator, name, unit, +4 more.
api_indexer_search_for_transactionsC
Search for transactions with various criteria
Inputs: limit, beforeTime, afterTime, minRound, +12 more.
api_nfd_browse_nfdsC
Browse NFDs with various filters
Inputs: name, category, saleType, state, +9 more.
api_nfd_get_nfdC
Get a specific NFD by name or by its application ID
Inputs: nameOrID (required), view, poll, nocache, +2 more.
api_nfd_get_nfd_activityC
Get activity/changes for NFDs
Inputs: name (required), type, afterTime, limit, +3 more.
api_nfd_get_nfd_analyticsC
Get analytics data for NFDs
Inputs: name, buyer, seller, event, +11 more.
api_nfd_get_nfds_for_addressesC
Get NFDs for specific addresses
Inputs: address (required), limit, view, network, +1 more.
api_nfd_search_nfdsC
Search NFDs with various filters
Inputs: name, category, saleType, state, +9 more.
api_pera_asset_verification_statusA
Get the verification status of an Algorand mainnet asset from Pera Wallet. Returns verification tier (verified, trusted, suspicious, unverified) and explorer URL.
Inputs: assetId (required).
api_pera_verified_asset_detailsB
Get detailed information about an Algorand mainnet asset from Pera Wallet, including name, unit name, decimals, total supply, USD value, logo, verification tier, and collectible status.
Inputs: assetId (required).
api_pera_verified_asset_searchA
Search Pera Wallet verified Algorand mainnet assets by name, unit name, or keyword. Returns matching assets with verification status, USD value, and logo.
Inputs: query (required), verifiedOnly.
api_tinyman_get_asset_optin_quoteC
Get quote for opting into a Tinyman pool token
Inputs: assetId (required), initiatorAddr (required), network, itemsPerPage.
api_tinyman_get_liquidity_quoteC
Get quote for adding liquidity to a pool
Inputs: asset1Id (required), asset2Id (required), mode (required), asset1Amount, +4 more.
api_tinyman_get_poolC
Get Tinyman pool information by asset pair
Inputs: asset1Id (required), asset2Id (required), version, network, +1 more.
api_tinyman_get_pool_analyticsC
Get analytics for a Tinyman pool
Inputs: asset1Id (required), asset2Id (required), version, network, +1 more.
api_tinyman_get_pool_creation_quoteC
Get quote for creating a new Tinyman pool
Inputs: asset1Id (required), asset2Id (required), initiatorAddr (required), version, +2 more.
api_tinyman_get_remove_liquidity_quoteC
Get quote for removing liquidity from a pool
Inputs: asset1Id (required), asset2Id (required), poolTokenAmount (required), initiatorAddr (required), +5 more.
api_tinyman_get_swap_quoteC
Get quote for swapping assets
Inputs: assetIn (required), assetOut (required), amount (required), mode (required), +3 more.
api_tinyman_get_validator_optin_quoteC
Get quote for opting into Tinyman validator app
Inputs: initiatorAddr (required), version, network, itemsPerPage.
api_tinyman_get_validator_optout_quoteC
Get quote for opting out of Tinyman validator app
Inputs: initiatorAddr (required), version, network, itemsPerPage.
assign_group_idC
Assign a group ID to a list of transactions
Inputs: transactions (required), network, itemsPerPage.
bigint_to_bytesC
Convert a BigInt to bytes
Inputs: value (required), size (required), network, itemsPerPage.
bytes_to_bigintC
Convert bytes to a BigInt
Inputs: bytes (required), network, itemsPerPage.
compile_tealC
Compile TEAL source code
Inputs: source (required), network, itemsPerPage.
create_accountC
Create a new Algorand account
Inputs: network, itemsPerPage.
decode_addressB
Decode an Algorand address to a public key
Inputs: address (required), network, itemsPerPage.
decode_objC
Decode msgpack bytes to an object
Inputs: bytes (required), network, itemsPerPage.
decode_signed_transactionA
Decode base64 signed transaction bytes back into a transaction object with signature details. Accepts the blob from sign_transaction or wallet_sign_transaction.
Inputs: bytes (required), network, itemsPerPage.
decode_uint64C
Decode bytes to a uint64
Inputs: bytes (required), network, itemsPerPage.
disassemble_tealC
Disassemble TEAL bytecode back to source
Inputs: bytecode (required), network, itemsPerPage.
encode_addressC
Encode a public key to an Algorand address
Inputs: publicKey (required), network, itemsPerPage.
encode_objC
Encode an object to msgpack format
Inputs: obj (required), network, itemsPerPage.
encode_uint64C
Encode a uint64 to bytes
Inputs: value (required), network, itemsPerPage.
encode_unsigned_transactionA
Encode a transaction object into base64 unsigned transaction bytes (msgpack). Accepts output from make_*_txn or assign_group_id.
Inputs: transaction (required), network, itemsPerPage.
generate_algorand_qrcodeC
Generate an Algorand URI and QR code according to ARC-26 specification
Inputs: address (required), label, amount, asset, +4 more.
get_application_addressC
Get the address for a given application ID
Inputs: appId (required), network, itemsPerPage.
get_knowledge_docC
Get markdown content for specified knowledge documents
Inputs: documents (required), network, itemsPerPage.
make_app_call_txnC
Create an application call transaction
Inputs: from (required), appIndex (required), appArgs, accounts, +7 more.
make_app_clear_txnC
Create an application clear state transaction
Inputs: from (required), appIndex (required), note, lease, +10 more.
make_app_closeout_txnC
Create an application close out transaction
Inputs: from (required), appIndex (required), note, lease, +10 more.
make_app_create_txnD
Create an application creation transaction
Inputs: from (required), approvalProgram (required), clearProgram (required), numGlobalByteSlices (required), +15 more.
make_app_delete_txnC
Create an application delete transaction
Inputs: from (required), appIndex (required), note, lease, +10 more.
make_app_optin_txnC
Create an application opt-in transaction
Inputs: from (required), appIndex (required), note, lease, +10 more.
make_app_update_txnC
Create an application update transaction
Inputs: from (required), appIndex (required), approvalProgram (required), clearProgram (required), +12 more.
make_asset_config_txnC
Create an asset configuration transaction
Inputs: from (required), assetIndex (required), strictEmptyAddressChecking (required), manager, +9 more.
make_asset_create_txnD
Create an asset creation transaction
Inputs: from (required), total (required), decimals (required), defaultFrozen (required), +14 more.
make_asset_destroy_txnD
Create an asset destroy transaction
Inputs: from (required), assetIndex (required), note, rekeyTo, +4 more.
make_asset_freeze_txnC
Create an asset freeze transaction
Inputs: from (required), assetIndex (required), freezeTarget (required), freezeState (required), +6 more.
make_asset_transfer_txnC
Create an asset transfer transaction
Inputs: from (required), to (required), assetIndex (required), amount (required), +7 more.
make_keyreg_txnC
Create a key registration transaction
Inputs: from (required), voteKey (required), selectionKey (required), stateProofKey (required), +10 more.
make_payment_txnC
Create a payment transaction
Inputs: from (required), to (required), amount (required), note, +6 more.
mdk_to_mnemonicC
Convert a master derivation key to a mnemonic
Inputs: mdk (required), network, itemsPerPage.
mnemonic_from_seedC
Generate a mnemonic from a seed
Inputs: seed (required), network, itemsPerPage.
mnemonic_to_secret_keyC
Convert a mnemonic to a secret key
Inputs: mnemonic (required), network, itemsPerPage.
pingB
Basic protocol utility to verify server connectivity
Inputs: network, itemsPerPage.
rekey_accountC
Rekey an Algorand account to a new address
Inputs: sourceAddress (required), targetAddress (required), network, itemsPerPage.
secret_key_to_mnemonicC
Convert a secret key to a mnemonic
Inputs: secretKey (required), network, itemsPerPage.
seed_from_mnemonicC
Generate a seed from a mnemonic
Inputs: mnemonic (required), network, itemsPerPage.
send_raw_transactionC
Submit signed transactions to the Algorand network
Inputs: signedTxns (required), network, itemsPerPage.
sign_bytesC
Sign bytes with a secret key
Inputs: bytes (required), sk (required), network, itemsPerPage.
sign_transactionC
Sign a transaction with a secret key
Inputs: transaction (required), sk (required), network, itemsPerPage.
simulate_raw_transactionsD
Simulate raw transactions
Inputs: txns (required), network, itemsPerPage.
simulate_transactionsC
Simulate transactions with detailed configuration
Inputs: txnGroups (required), allowEmptySignatures, allowMoreLogging, allowUnnamedResources, +5 more.
validate_addressC
Check if an Algorand address is valid
Inputs: address (required), network, itemsPerPage.
verify_bytesC
Verify a signature against bytes with an Algorand address
Inputs: bytes (required), signature (required), address (required), network, +1 more.
wallet_add_accountA
Create a new Algorand account and store it securely in the OS keychain with a nickname and spending limits. Returns only address and public key.
Inputs: nickname (required), mnemonic, allowance, dailyAllowance, +2 more.
wallet_get_assetsC
Get all asset holdings for the active wallet account.
Inputs: network, itemsPerPage.
wallet_get_infoB
Get the active wallet account info including address, public key, nickname, on-chain balance, and spending limits.
Inputs: network, itemsPerPage.
wallet_list_accountsB
List all wallet accounts with their nicknames, addresses, and spending limits.
Inputs: network, itemsPerPage.
wallet_optin_assetB
Opt the active wallet account into an asset by ID. Creates, signs, and submits the opt-in transaction.
Inputs: assetId (required), network, itemsPerPage.
wallet_remove_accountC
Remove an Algorand account from the wallet by nickname or index.
Inputs: nickname, index, network, itemsPerPage.
wallet_sign_dataB
Sign arbitrary data with the active wallet account using raw Ed25519 (noble library, no Algorand SDK prefix). Returns hex signature.
Inputs: data (required), network, itemsPerPage.
wallet_sign_transactionB
Sign a single transaction with the active wallet account. Enforces per-transaction and daily spending limits.
Inputs: transaction (required), network, itemsPerPage.
wallet_sign_transaction_groupB
Sign a group of transactions with the active wallet account. Assigns group ID automatically and enforces spending limits.
Inputs: transactions (required), network, itemsPerPage.
wallet_switch_accountC
Switch the active wallet account by nickname or index. The active account is used for signing and balance queries.
Inputs: nickname, index, network, itemsPerPage.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 120 tools
The tool set has clear groupings (Alpha Arcade, API calls, core utilities, wallet operations) with distinct purposes within each group, but there is significant overlap across groups, such as multiple swap quote tools (api_haystack_get_swap_quote, api_tinyman_get_swap_quote) and redundant encoding/decoding functions (encode_obj/decode_obj, encode_uint64/decode_uint64). This can lead to confusion for agents when selecting the appropriate tool for a given task, especially without clear domain separation in naming.
Naming conventions are highly inconsistent across the tool set. There is a mix of prefixes (alpha_, api_, wallet_), inconsistent use of underscores (e.g., api_algod_get_account_info vs. make_payment_txn), and varying verb styles (e.g., create_account vs. wallet_add_account). Some tools use full words (e.g., assign_group_id), while others are abbreviated (e.g., mdk_to_mnemonic). This lack of a unified pattern makes the tool set harder to navigate and predict.
With 120 tools, the count is extremely high and feels overwhelming for a single server. This suggests poor scoping, as many tools could be consolidated or grouped into sub-servers. The sheer volume makes it difficult for agents to efficiently discover and use the right tools, indicating a significant mismatch between the number of tools and a coherent, manageable interface.
The tool set appears highly comprehensive for the Algorand ecosystem, covering core blockchain operations (transactions, accounts), API integrations (algod, indexer, NFD, Pera, Tinyman, Haystack), Alpha Arcade trading, and wallet management. There are no obvious major gaps, as it supports a wide range of actions from basic utilities to advanced DeFi interactions, though the extreme breadth may dilute focus rather than indicate incompleteness.
Maintenance
Related MCP Connectors
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Hosted MCP server for live public-data APIs and Skills for AI agents.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis server provides a standardized framework using the Model Context Protocol (MCP) to seamlessly integrate and manage diverse tools, enabling features like Twitter automation, cryptocurrency updates, and ElizaOS interaction.2MIT
- AlicenseBqualityDmaintenanceAlchemy's official MCP Server. Allow AI agents to interact with Alchemy's blockchain APIs.97280 npm88MIT
- AlicenseNot gradedqualityDmaintenanceMCP server with 12 tools enabling AI agents (Claude, ChatGPT) to manage Algorand-based subscriptions, including locking funds in vaults and automated payments.4Apache 2.0
- AlicenseAqualityDmaintenanceMCP server for question.market prediction markets on Algorand. Enables market browsing, wallet onboarding, and trading through natural language.1341 npmMIT