@goplausible/algorand-mcp 3.8.0 → 3.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,6 +23,8 @@ Algorand is a carbon-negative, pure proof-of-stake Layer 1 blockchain with insta
23
23
  - NFDomains (NFD) name service integration
24
24
  - x402 and AP2 toolins for Algorand
25
25
  - Tinyman AMM integration (pools, swaps, liquidity)
26
+ - Haystack Router DEX aggregation (best-price swaps across Tinyman, Pact, Folks)
27
+ - Alpha Arcade prediction market trading (browse markets, orderbooks, limit/market orders, positions, claims)
26
28
  - ARC-26 URI and QR code generation
27
29
  - Algorand knowledge base with full developer documentation taxonomy
28
30
  - Per-tool-call network selection (mainnet, testnet, localnet) and pagination
@@ -333,6 +335,8 @@ Environment variables are only needed for special setups. Pass them via the `env
333
335
  |---|---|---|---|
334
336
  | `ALGORAND_TOKEN` | API token for private/authenticated nodes | `""` | Connecting to a private Algod/Indexer node |
335
337
  | `ALGORAND_LOCALNET_URL` | Localnet base URL | `""` | Using `network: "localnet"` (e.g. `http://localhost:4001`) |
338
+ | `ALPHA_API_KEY` | Alpha Arcade API key | `""` | Accessing reward market data |
339
+
336
340
 
337
341
  ### Example: localnet (AlgoKit)
338
342
 
@@ -519,6 +523,29 @@ See [Secure Wallet](#secure-wallet) for full architecture details.
519
523
 
520
524
  > Pera Wallet tools are **mainnet only** — the Pera public API does not support testnet or localnet.
521
525
 
526
+ ### Alpha Arcade Tools (14 tools)
527
+
528
+ 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.
529
+
530
+ | Tool | Description |
531
+ |---|---|
532
+ | `alpha_get_live_markets` | Fetch all live prediction markets with prices, volume, and categories |
533
+ | `alpha_get_reward_markets` | Fetch markets with liquidity rewards (requires `ALPHA_API_KEY` env var) |
534
+ | `alpha_get_market` | Fetch full details for a single market by app ID |
535
+ | `alpha_get_orderbook` | Unified YES-perspective orderbook with spread calculation |
536
+ | `alpha_get_open_orders` | Open orders for a wallet on a specific market |
537
+ | `alpha_get_positions` | YES/NO token positions across all markets |
538
+ | `alpha_create_limit_order` | Place a limit order at a specific price (locks ~0.957 ALGO collateral) |
539
+ | `alpha_create_market_order` | Place a market order with auto-matching and slippage tolerance |
540
+ | `alpha_cancel_order` | Cancel an open order (refunds USDC/tokens and ALGO collateral) |
541
+ | `alpha_amend_order` | Edit an existing unfilled order in-place (price, quantity, slippage) |
542
+ | `alpha_propose_match` | Propose a match between an existing maker order and your wallet |
543
+ | `alpha_split_shares` | Split USDC into equal YES + NO outcome tokens |
544
+ | `alpha_merge_shares` | Merge equal YES + NO tokens back into USDC |
545
+ | `alpha_claim` | Claim USDC from a resolved market by redeeming winning tokens |
546
+
547
+ > Optional env var: `ALPHA_API_KEY` — needed for reward market data. `ALPHA_API_BASE_URL` — custom API endpoint (default: `https://platform.alphaarcade.com/api`).
548
+
522
549
  ### ARC-26 URI Tools (1 tool)
523
550
 
524
551
  | Tool | Description |
@@ -586,7 +613,8 @@ algorand-mcp/
586
613
  │ │ ├── nfd/ # NFDomains
587
614
  │ │ ├── tinyman/ # Tinyman AMM
588
615
  │ │ ├── hayrouter/ # Haystack Router DEX aggregator
589
- │ │ └── pera/ # Pera Wallet verified assets
616
+ │ │ ├── pera/ # Pera Wallet verified assets
617
+ │ │ └── alpha/ # Alpha Arcade prediction markets
590
618
  │ └── utils/
591
619
  │ └── responseProcessor.ts # Pagination and formatting
592
620
  ├── tests/ # Test suite
@@ -852,6 +880,7 @@ describeIf(testConfig.isCategoryEnabled('your-category'))('Your Tools (E2E)', ()
852
880
  - [sql.js](https://github.com/sql-js/sql.js) — Embedded SQLite (WASM) for wallet metadata persistence
853
881
  - [@noble/curves](https://github.com/paulmillr/noble-curves) — Pure JS Ed25519 for raw data signing (`wallet_sign_data`)
854
882
  - [@tinymanorg/tinyman-js-sdk](https://github.com/tinymanorg/tinyman-js-sdk) — Tinyman AMM SDK
883
+ - [@alpha-arcade/sdk](https://github.com/pfrfrfr/alpha-js-sdk) — Alpha Arcade prediction market SDK
855
884
  - [zod](https://github.com/colinhacks/zod) — Runtime type validation
856
885
  - [qrcode](https://github.com/soldair/node-qrcode) — QR code generation for ARC-26
857
886
 
@@ -86,7 +86,7 @@ export class UtilityManager {
86
86
  type: 'text',
87
87
  text: JSON.stringify({
88
88
  name: 'Algorand MCP Server',
89
- version: '3.8.0',
89
+ version: '3.9.1',
90
90
  builder: 'GoPlausible',
91
91
  description: 'A Model Context Protocol (MCP) server providing comprehensive access to the Algorand blockchain. Supports account management, transaction building and signing, smart contract interaction, asset operations, ARC-26 URI generation, and deep integration with Algorand ecosystem services including NFDomains, Tinyman, Vestige, and Ultrade.',
92
92
  blockchain: 'Algorand — a carbon-negative, pure proof-of-stake Layer 1 blockchain delivering instant finality, low fees, and advanced smart contract capabilities via AVM (Algorand Virtual Machine).',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goplausible/algorand-mcp",
3
- "version": "3.8.0",
3
+ "version": "3.9.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,7 +42,7 @@
42
42
  "typescript": "^5.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "@alpha-arcade/sdk": "^0.3.0",
45
+ "@alpha-arcade/sdk": "latest",
46
46
  "@cf-wasm/photon": "^0.1.31",
47
47
  "@juit/qrcode": "^1.0.59",
48
48
  "@modelcontextprotocol/sdk": "^1.27.1",