pusaka
Server Details
NFTs on NEAR that each control a native Bitcoin address: buy, lend, borrow, inherit, with caps
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- PugarHuda/pusaka
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 15 tools
Several tools cluster around 'examine one Pusaka' — pusaka_inspect, pusaka_audit, pusaka_history, and pusaka_token_account all return overlapping facts (BTC, USD value, price, loans, holder) and differ mainly in emphasis, so a generic 'tell me about #N' request is a coin flip. Similarly pusaka_overview, pusaka_deals, pusaka_market_book, and pusaka_portfolio all scan holdings/listings/pools and are only separable after reading the long descriptions. The detailed prose helps, but boundaries are fuzzy in the most common lookup case.
Every tool carries the same pusaka_ prefix and snake_case formatting with no camelCase or stylistic outliers. The second segment mixes nouns (history, overview, market_book, lend_pool) with verbs (audit, inspect, verify_signature), which is a minor deviation from a strict verb_noun scheme but remains highly predictable.
At 15 tools the surface sits at the top of the comfortable range, but each tool maps to a distinct query (audit, credit record, deals scan, pool state, watch list, swap status, signature check) rather than filler. It is on the heavy side for what is essentially a read-only intelligence server, but nothing looks redundant enough to cut.
The server is entirely read-only — there is no way to accept a loan offer, repay, list, buy, or initiate a swap — yet descriptions explicitly direct the agent to nonexistent tools (pusaka_accept_loan_offer, pusaka_swap_to_usdc). pusaka_swap_status monitors a swap that no listed tool can start, creating dead ends an agent will hit. Coverage of read/due-diligence queries is otherwise broad, so the gap is one of action surface rather than analysis.
Available Tools
15 toolspusaka_auditARead-onlyInspect
Independent proof-of-reserves audit of one Pusaka, without trusting the contract's own numbers: asks NEAR's MPC signer which Bitcoin key it derives for this contract and token (must equal the token's key), recomputes verified_sats from the proven deposits minus everything ever signed away, and looks every proven deposit up on Bitcoin itself (confirmed, paying this address, the right amount, and whether it is still unspent). Returns a verdict and each check.
Inputs: token_id (required).
pusaka_contract_trustARead-onlyInspect
Should an agent trust the Pusaka contract itself? Reads from NEAR: the deployed code's sha256 and the reproducible-build source it names (NEP-330), every access key on the contract account (none but one-use gift-link keys means nobody can sign as the contract), whether the code is final (upgrades renounced) or, if not, who can change it (a Sputnik DAO council, its members and vote threshold), the timelock, and any upgrade pending with the time it becomes deployable.
Inputs: no named parameters.
pusaka_credit_recordARead-onlyInspect
A borrower's on-chain credit record across every Pusaka: loans taken, repaid, defaulted (the lender took the collateral) and still open, read from the contract's history, not from anything the borrower says. Use it before funding a loan request or making an offer.
Inputs: account_id (required).
pusaka_dealsARead-onlyInspect
Scan every Pusaka for sale for Bitcoin cheaper than it really sells for: each listing's price now (Dutch auctions fall over time) against a live, solver-signed NEAR Intents quote for selling the verified BTC inside into USDC. A negative discount means the NFT costs less than its BTC's exit value. Sorted best deal first.
Inputs: max_price_near.
pusaka_historyARead-onlyInspect
Provenance of one Pusaka from the contract's own on-chain record: every mint, listing, sale and price, transfer, inheritance, loan (funded, repaid, defaulted, refinanced, extended) and withdrawal, oldest first, plus the chain of holders and the sale prices it has fetched.
Inputs: token_id (required).
pusaka_inspectBRead-onlyInspect
Full due diligence on one Pusaka: verified BTC and its USD value, a live NEAR Intents quote for selling that BTC (exit value), ETH (safe vs at risk), listing premium, loan LTV, APR and how many times the collateral's exit value covers the loan, sign epoch.
Inputs: token_id (required).
pusaka_lend_poolARead-onlyInspect
The USDC lending pool (Circle testnet USDC): cash, lent, the BTC price it uses (low side for borrowing, high side for liquidation; null = stale, borrowing and liquidation paused) and every open loan with its debt, loan-to-value and whether it can be liquidated now. With token_id (and contract), only that Pusaka's loan and the most it could borrow.
Inputs: contract, token_id.
pusaka_loan_offersBRead-onlyInspect
Standing loan offers from lenders: for one Pusaka, or for any Pusaka holding at least N verified sats. The principal is already escrowed in the contract, so the holder can take it instantly with pusaka_accept_loan_offer, also to refinance a funded loan into cheaper or longer terms.
Inputs: token_id.
pusaka_loan_watchARead-onlyInspect
Watch every funded Pusaka loan at once: due date, hours left, loan-to-value at live BTC/NEAR prices, and what this agent can do next on each (repay as borrower, claim the collateral as lender once overdue, or a lender's pending extension to accept). Built for an agent that lends or borrows on a schedule.
Inputs: no named parameters.
pusaka_market_bookBRead-onlyInspect
The market contract's book: standing bids priced per verified sat (best first, with what each would pay for a given Pusaka), loan offers with no due date, and open perpetual loans with their live debt and refinancing-auction rate.
Inputs: token_id.
pusaka_overviewBRead-onlyInspect
List every Pusaka: owner, BTC verified on NEAR, current sale price, and loan status; plus how many standing loan offers are open and how much NEAR they escrow.
Inputs: no named parameters.
pusaka_portfolioARead-onlyInspect
Everything one NEAR account has in Pusaka: the Pusakas it holds and the Bitcoin proven inside them (sats and USD), loans it owes and loans it funded, standing offers it escrowed, and Pusakas that name it as heir. Defaults to this agent's account.
Inputs: account_id.
pusaka_swap_statusARead-onlyInspect
Where a NEAR Intents swap stands (pusaka_swap_to_usdc): PENDING_DEPOSIT, KNOWN_DEPOSIT_TX, PROCESSING, SUCCESS, REFUNDED or FAILED, with its NEAR settlement transactions and, once settled, the recipient's USDC balance.
Inputs: deposit_address (required).
pusaka_token_accountCRead-onlyInspect
Pusaka v2: the NFT's own NEAR account (NEP-616, keyless, answers only to the current holder), its named alias, their balances, what's inside (other Pusakas it holds, with their verified sats, and its USDC: a buyer of this NFT gets all of it), whether the post-quantum (ML-DSA-65) lock is on and open, and any agent's on-chain daily budget.
Inputs: token_id (required).
pusaka_verify_signatureARead-onlyInspect
Check a signature someone says comes from a Pusaka, the way a website or exchange would: a 'Sign in as Pusaka #N' message (EIP-4361; pass signature 0x…, and domain = your site) or a BIP-322 proof of its Bitcoin address (pass witness, base64). Checks the signature, that the address is the Pusaka's own NEAR MPC key, that the holder it names still holds it, and (sign-ins) expiry and site. Returns valid plus each check.
Inputs: message (required), domain, witness, signature.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Autonomous RWA treasury on Solana: daily allocation, on-chain receipts, proofs, your own vault.
Space story game on NEAR: swap via NEAR Intents to open star systems and unlock chapters.
Bitcoin RPC for AI agents. 7 read tools; x402 USDC on Base mainnet. Discovery is free.
Oracle-free fixed-rate, fixed-term BTC credit on Arbitrum One. Data and unsigned blueprints.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceBitcoin-native MCP server for AI agents: BTC/STX wallets, DeFi yield, sBTC peg, NFTs, and x402 payments.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to acquire vanity Bitcoin names, attach and edit agent identity profiles, and create, broadcast, and verify signed one-of-one proofs on Bitcoin while keeping private keys in the agent's own wallet.MIT
- FlicenseNot gradedqualityDmaintenanceNon-custodial Bitcoin DCA for agent treasuries on Celo: approve USDT once and an on-chain agent buys WBTC on schedule, straight back to your wallet. Budget capped by allowance, fees hard-capped on-chain.-
- AlicenseAqualityCmaintenanceConnects AI agents to Bitcoin payment rails with owner-defined spending policies and limits.26112 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.