Unsubly
БесплатноНе проверенMCP server with 12 tools enabling AI agents (Claude, ChatGPT) to manage Algorand-based subscriptions, including locking funds in vaults and automated payments.
Описание
MCP server with 12 tools enabling AI agents (Claude, ChatGPT) to manage Algorand-based subscriptions, including locking funds in vaults and automated payments.
README
Lock ALGO in smart contract vaults you own. An autonomous agent releases payments on billing day.
Every transaction is verifiable on Algorand.
Explore the live app >>
View Demo
·
API Docs
·
Report Bug
·
Request Feature
Table of Contents
Hackathon Track
Built for AlgoBharat Hack Series 3.0, targeting the Agentic Commerce track, specifically the A2A Autonomous Payments and A2A Agentic Commerce Framework categories.
About The Project
![]() Landing Page |
![]() Dashboard |
![]() Subscriptions |
![]() Escrow Vaults |
Most subscription trackers are just spreadsheets with a nicer font. They show you what you spend, but they cannot do anything about it. Unsubscribely puts your subscriptions on-chain. You lock funds in an escrow vault you own, an autonomous agent releases payments on billing day, and every transaction is verifiable on Algorand.
Here is why this is different:
- Lock funds in a smart contract vault - your keys, your control, kill switch on everything
- Agent releases vaults on billing day every 30 min on Railway, no LLM needed
- MCP Server with 12 tools - connect Claude, ChatGPT, or any AI to manage your subscriptions
- Telegram bot (@unsublyybot) - cancel by voice/text, get alerts 3 days before renewal
- Gmail auto-import - sign in with Google, we detect your subscriptions from receipts
- Tinyman DEX swap integration + Gora Oracle ALGO/USD price feeds
- Proofs on-chain cancellation proofs - immutable evidence you cancelled
[!NOTE] The average Indian developer pays for 8-12 SaaS tools in USD, losing 5-7% to forex markup per transaction. Unsubscribely eliminates this with sub-penny on-chain settlement on Algorand.
Deployed contracts Algorand TestNet
| Contract | App ID | Explorer |
|---|---|---|
| ServiceRegistry A2A discovery, 5 services seeded | 759205676 | Lora |
| AgentEscrowVaultV2 template Box-storage billing history | 759205677 | Lora |
Autonomous agent wallet: RVHOYLPY4L47JYCYEMCP7EMEC2AZ3HV53YHSL2ZISX6PSO5EQ6H5YVAE5U
Per-user vaults (Standard, AgentV2, Time-Lock, Multi-Sig, Dispute, ASA, Cancellation Insurance) are deployed on demand from the dashboard. MainNet singletons are not yet deployed. The app shows clear guards on mainnet for ServiceRegistry-dependent UIs.
[!IMPORTANT] Security: Smart contracts are compiled with AlgoKit/PuyaPy and tested on TestNet. A formal third-party security audit is planned before any MainNet deployment with real user funds. All contracts are open source for community review.
Architecture
flowchart TD
subgraph USER_LAYER["User Layer"]
USER([?? User])
WALLET[?? Pera / Defly / Lute]
TG[?? Telegram Bot]
CHROME[?? Chrome Extension]
end
subgraph APP_LAYER["Application Layer � Vercel"]
FRONTEND[React Dashboard<br/>14 pages � Vite � Tailwind]
API[Serverless APIs<br/>gmail-scan � mcp-token � x402]
end
subgraph AGENT_LAYER["Agent Layer � Railway"]
AGENT[? Autonomous Agent<br/>14 skills � 30-min cron]
MCP[MCP Server<br/>12 tools � Bearer auth � JSON-RPC]
end
subgraph BLOCKCHAIN["? Algorand TestNet"]
VAULTS[Escrow Vaults<br/>8 contract types � TEAL v11]
REGISTRY[ServiceRegistry<br/>A2A discovery � BoxMap]
PROOFS[Cancellation Proofs<br/>immutable on-chain notes]
ORACLE[Gora Oracle � ALGO/USD]
DEX[Tinyman DEX � ASA swap]
end
subgraph AI_AGENTS["AI Agents"]
CLAUDE([Claude Desktop])
GPT([ChatGPT])
end
subgraph DATA["Data Layer"]
DB[(Supabase<br/>Postgres + RLS)]
end
USER --> WALLET
USER --> TG
USER --> CHROME
WALLET -->|sign + deploy| VAULTS
WALLET --> FRONTEND
FRONTEND --> API
FRONTEND --> DB
API --> DB
TG -->|commands| API
CHROME -->|detect subs| API
AGENT -->|release � kill| VAULTS
AGENT -->|write| PROOFS
AGENT -->|lookup| REGISTRY
AGENT -->|notify| TG
AGENT --> DB
CLAUDE -->|JSON-RPC 2.0| MCP
GPT -->|JSON-RPC 2.0| MCP
MCP --> AGENT
ORACLE -.->|price feed| FRONTEND
DEX -.->|fund vaults| VAULTS
Built With
Ecosystem Integrations
| Integration | Status | How it's used | Proof |
|---|---|---|---|
| x402 Protocol | ✅ Live | HTTP 402 payment gating on AI Optimizer | x402-demo page |
| Pera SDK | ✅ Live | Wallet connection, transaction signing, vault deployment | Agent wallet txns |
| Tinyman SDK/Router | ✅ Live | Swap any ASA → ALGO to fund vaults (deep-link + analytics API) | Tinyman pool |
| Gora Oracle | ✅ Live | ALGO/USD price feed on vault cards (on-chain contract read + Vestige fallback) | App ID 159512493 |
| NFDomains (DID) | ✅ Live | .algo name resolution on dashboard wallet card | nf.domains |
| Pera Connect | ✅ Live | WalletConnect v2 for Pera/Defly/Lute mobile wallets | Pera SDK |
| ServiceRegistry | 🚀 Deployed | On-chain A2A service discovery (5 services seeded) | App 759205676 |
| AgentEscrowVaultV2 | 🚀 Deployed | Box Storage billing history, autonomous release | App 759205677 |
Getting Started
To get a local copy up and running, follow these steps.
[!TIP] The web app works fully without the agent running. You can browse, add subscriptions, connect a wallet, and create vaults without any Railway or Telegram setup. The agent only adds autonomous vault releases.
Prerequisites
- Node.js 20 or later
- A Supabase project. Create a free one at supabase.com
- Pera Wallet on Algorand Testnet. Download Pera, switch to Testnet in settings, then get free test ALGO from the Algorand Testnet Faucet
- Python 3.12 + AlgoKit - only needed if you want to recompile contracts (pre-compiled artifacts are already included)
pip install algokit
[!TIP] No wallet? The app is fully browsable without connecting Pera. You only need a wallet to deploy escrow vaults or sign transactions.
Installation
Clone the repo
git clone https://github.com/devndesigner6/unsubly.git cd unsublyInstall dependencies
npm installSet up environment variables
cp .env.example .envOpen
.env.examplefirst - every variable is documented with comments and a generation command. At minimum fill in:VITE_SUPABASE_URLandVITE_SUPABASE_PUBLISHABLE_KEYfrom Supabase, Settings, APISUPABASE_SERVICE_ROLE_KEYfrom Supabase, Settings, API (service_role key)CEREBRAS_API_KEYfrom cloud.cerebras.ai - powers AI Chat page and Telegram botAGENT_WALLET_MNEMONICandVITE_AGENT_WALLET_ADDRESS- generate with the one-liner in.env.example
Run the database schema (first time only)
- Go to your Supabase project, SQL Editor
- Paste the contents of
supabase/migrations/FULL_SCHEMA_SETUP.sqland run it - This file exists at the root of the migrations folder and creates all tables, RLS policies, and indexes in one shot
Start the dev server
npm run devApp runs at
http://localhost:5000Mac users: port 5000 conflicts with AirPlay Receiver. Either disable AirPlay (System Settings, AirDrop & Handoff) or change the port in
vite.config.tsandpackage.jsonscripts to5001.Run the test suite
npx vitest run # frontend unit tests cd smart_contracts && pytest tests/ # smart contract testsProduction build and serve
npm run build npm run start
Running the real OpenClaw agent locally
The production agent is a real OpenClaw Gateway workspace, separate from the web app. OpenClaw owns the runtime and cron schedule; the existing Unsubscribely vault code is exposed through the unsubscribely_vault_monitor workspace skill.
cd agents/openclaw
npm install
npm run start
Create agents/openclaw/.env or export these values before starting:
AGENT_WALLET_MNEMONIC=your_25_word_mnemonic
SUPABASE_URL=https://your-project-id.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_telegram_chat_id
ALGO_NETWORK=testnet
SERVICE_REGISTRY_APP_ID_TESTNET=759205676
OPENCLAW_MODEL=google/gemini-2.0-flash
OPENAI_API_KEY=your_model_provider_key
npm run start writes an OpenClaw config, seeds a recurring OpenClaw cron job named Unsubscribely vault monitor, and starts openclaw gateway run. The cron job runs every 30 minutes and tells OpenClaw to execute npm run monitor:vaults from this workspace.
For a direct deterministic check without the Gateway, run:
npm run monitor:vaults
Optional: recompile smart contracts or deploy to testnet
Recompile contracts (pre-compiled artifacts are already included):
algokit compile py smart_contracts/escrow/contract.py
algokit compile py smart_contracts/agent_escrow/contract.py
algokit compile py smart_contracts/agent_escrow_v2/contract.py
algokit compile py smart_contracts/service_registry/contract.py
algokit compile py smart_contracts/time_locked/contract.py
algokit compile py smart_contracts/multi_sig/contract.py
algokit compile py smart_contracts/dispute/contract.py
algokit compile py smart_contracts/asa_escrow/contract.py
Deploy singleton contracts (requires a funded testnet account):
TESTNET_MNEMONIC="..." node scripts/deploy.js
Troubleshooting
| Problem | Fix |
|---|---|
| Wallet not connecting | Make sure Pera Wallet is set to Testnet (Settings, Developer Settings, Node Configuration) |
| "Recipient has not opted in" error | The recipient address must have received at least 1 ALGO before a vault can pay them. Send a small amount first from the faucet |
| Agent wallet balance too low | Fund the agent wallet at bank.testnet.algorand.network. It needs ALGO to pay transaction fees |
| AI Chat returns error | Check that CEREBRAS_API_KEY is set in your .env and valid at cloud.cerebras.ai |
| Supabase RLS errors | Make sure you ran FULL_SCHEMA_SETUP.sql in the SQL Editor. Missing tables cause silent 403s |
| x402 payment rejected | Ensure X402_PAY_TO_ADDRESS matches VITE_AGENT_WALLET_ADDRESS or leave both blank to disable x402 in dev |
How It Works
1. Lock - Add a subscription and deploy an escrow vault from the dashboard. Choose from 7 vault types: Standard, AgentV2, Time-Lock, Multi-Sig, Dispute, ASA, or Cancellation Insurance. Your ALGO sits in a contract you own.
2. Release - OpenClaw checks every 30 minutes. When a billing date hits, it verifies the recipient against the on-chain ServiceRegistry, checks your spending guardrails, and calls release() on the contract. Funds go directly on-chain. You get a Telegram notification with the transaction ID.
3. Prove - Mint an ARC-3 NFT receipt after each release. AgentEscrowVaultV2 also writes an immutable BillingRecord into Box Storage per cycle, giving you a full on-chain billing history.
Usage
- Sign up at unsubly.xyz - free, no credit card.
- Add subscriptions manually, import CSV, or sign in with Google for auto-detection.
- Connect Pera/Defly wallet ? create an escrow vault ? fund it with ALGO.
- Connect Telegram (@unsublyybot) in Settings for renewal alerts and voice commands.
- The agent runs every 30 min - releases vaults on billing day, notifies you via Telegram.
- To cancel: say "cancel spotify" in Telegram, follow instructions, reply "done" - vault killed, ALGO returned.
- Connect your AI agent (Claude/ChatGPT) from the Connect Agent page to manage subscriptions via MCP.
Business Model
Phase 1 current - Free for users. Revenue from x402 micro-payments: external AI agents pay 0.001 ALGO per API call to access subscription data. No API keys, no subscriptions needed. Payment IS the credential.
Phase 2 post-audit - Mainnet launch. Premium MCP access ($5/mo for write+admin scope). ServiceRegistry listing fee (one-time ALGO payment for service providers to publish).
Phase 3 - B2B vault infrastructure. Companies use escrow contracts for employee subscription procurement. Agent handles vendor payments autonomously.
Target users: Indian developers and freelancers (25-35) managing 8-12 SaaS tools (Notion, GitHub, Cursor, Figma) totaling $50-150/month in USD, losing 5-7% to forex fees per transaction.
Why Algorand: 3.3s finality � sub-penny fees � ARC-4 ABI for clean contract interfaces � Box Storage for on-chain history � instant settlement without L2 complexity.
Roadmap
- Seven escrow vault types: Standard, AgentV2, Time-Lock, Multi-Sig, Dispute, ASA, Cancellation Insurance
- Autonomous agent on Railway (runs every 30 min, no LLM needed for core ops)
- Telegram bot (@unsublyybot) - voice messages, AI intent classification, cancel/keep/done commands
- Gmail auto-import - detects subscriptions from 6 months of email receipts
- MCP Server - 12 tools, Bearer auth, rate limiting, connects Claude/ChatGPT/any MCP client
- Trial-to-paid human-in-the-loop Telegram confirmation before agent releases
- Spending guardrails: monthly budget cap, blackout dates, per-subscription limits
- Algorand-flavoured x402 payment middleware (HTTP 402 + on-chain settlement)
- On-chain ServiceRegistry for A2A service discovery (5 services seeded on TestNet)
- AgentEscrowVaultV2 with Box Storage for immutable on-chain billing history
- AI Chat powered by Cerebras (gpt-oss-120b) with full subscription context
- Telegram AI chatbot with natural language subscription management
- On-chain cancellation proofs (zero-ALGO self-transfer with structured JSON note)
- Tinyman DEX integration for ASA ? ALGO swaps
- Gora Oracle price feeds (ALGO/USD) on vault cards
- NFD (.algo) name resolution on dashboard
- DB-backed idempotency locks (prevents double-release across multiple agent instances)
- Connect Agent page - one-click token generation for Claude Desktop / ChatGPT
- MainNet deployment of ServiceRegistry and AgentEscrowVaultV2 singletons
- Smart contract security audit by reputable third party before MainNet launch
- Contract upgradeability strategy (proxy pattern or governance-based upgrades)
- Mobile app using Expo with Pera Wallet deep-link support
- Multi-currency ASA support (USDC, USDt on Algorand)
Contributing
Contributions welcome. Fork ? branch ? commit ? PR. Run npm test before submitting.
Code style: TypeScript strict, Tailwind CSS, ESLint defaults.
License
Apache 2.0 - see LICENSE.
Contact
Hemanth Peddada - @hemanttbuilds � [email protected] � hemanthme.in
Acknowledgments
Установка Unsubly
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/devndesigner6/unsublyFAQ
Unsubly MCP бесплатный?
Да, Unsubly MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Unsubly?
Нет, Unsubly работает без API-ключей и переменных окружения.
Unsubly — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Unsubly в Claude Desktop, Claude Code или Cursor?
Открой Unsubly на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Unsubly with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai




