protogrid

Search / io.github.PugarHuda/pusaka

pusaka

R0· no sign-in

NFTs on NEAR that each control a native Bitcoin address: buy, lend, borrow, inherit, with caps

v1.1.2 · active · repository · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality86good
Trust94of 100
Uptime, 30 days100%
Latency p50253 msp95 484 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "pusaka": {
      "type": "http",
      "url": "https://pusaka-two.vercel.app/api/mcp"
    }
  }
}
claude mcp add --transport http pusaka https://pusaka-two.vercel.app/api/mcp
[mcp_servers.pusaka]
url = "https://pusaka-two.vercel.app/api/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pusaka": {
      "type": "remote",
      "url": "https://pusaka-two.vercel.app/api/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "pusaka": {
      "type": "http",
      "url": "https://pusaka-two.vercel.app/api/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=pusaka&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vcHVzYWthLXR3by52ZXJjZWwuYXBwL2FwaS9tY3AifQ%3D%3D"
}
{
  "servers": {
    "pusaka": {
      "type": "http",
      "url": "https://pusaka-two.vercel.app/api/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22pusaka%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fpusaka-two.vercel.app%2Fapi%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "pusaka": {
      "httpUrl": "https://pusaka-two.vercel.app/api/mcp"
    }
  }
}
extensions:
  "pusaka":
    enabled: true
    name: "pusaka"
    type: streamable_http
    uri: "https://pusaka-two.vercel.app/api/mcp"
    timeout: 300

Quality 86 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene89 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations15 of 15 tools declare readOnlyHint or destructiveHint
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: pusaka_swap_status (idempotentHint); pusaka_deals (idempotentHint); pusaka_inspect (idempotentHint); …
  • pass
    tools.token_costabout 1,949 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool, prompt or resource definitions
  • pass
    tools.poisoningno instructions aimed at the model in tool, prompt or resource definitions
stability100 · weight 15
  • pass
    stability.changes3 tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvabledeps.dev does not know [email protected]

15 tools, about 1,949 tokens to load them all · tool set 8c64bd200528 · tools last changed 2026-11-13 · checked 2026-11-29 14:52 UTC

Definition changes

  • pusaka_lend_poolchangeddescription
    before

    The pUSD lending pool: 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.

    after · 91% of words in common

    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.

  • pusaka_lend_pooladded

    The pUSD lending pool: 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.

  • pusaka_verify_signatureadded

    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.

Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 94 / 100

provenance80
liveness100
freshness100
hygiene100

+repository +namespace-matches-repo +reachable +uptime-100% +updated-15d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Dependencies

[email protected] npmthis version is not known to the dependency resolver

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

Last 30 days100% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://pusaka-two.vercel.app/api/mcp streamable-httpnoneyes100%253 ms484 ms2025-11-252026-11-29
packageregistryversionruntimesecrets
pusaka-mcpnpm1.1.2–PUSAKA_PRIVATE_KEY

Tools (15)

pusaka_auditread-onlyIndependent 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.
pusaka_contract_trustread-onlyShould 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.
pusaka_credit_recordread-onlyA 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.
pusaka_dealsread-onlyScan 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.
pusaka_historyread-onlyProvenance 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.
pusaka_inspectread-onlyFull 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.
pusaka_lend_poolread-onlyThe 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.
pusaka_loan_offersread-onlyStanding 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.
pusaka_loan_watchread-onlyWatch 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.
pusaka_market_bookread-onlyThe 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.
pusaka_overviewread-onlyList 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.
pusaka_portfolioread-onlyEverything 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.
pusaka_swap_statusread-onlyWhere 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.
pusaka_token_accountread-onlyPusaka 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.
pusaka_verify_signatureread-onlyCheck 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.

Schemas: list_tools.

Prompts and resources (3 prompts, 14 resources, 1 resource template)

Prompts

buy_btc_below_exit1 argumentBuy Bitcoin below its exit value.
due_diligence1 argumentDue diligence on a Pusaka.
lender_round1 argumentA lender's round.

Resources

pusaka://contractapplication/jsonThe Pusaka contract: code, keys, governance.
pusaka://token/1application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/10application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/11application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/12application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/13application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/2application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/3application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/4application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/5application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/6application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/7application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/8application/jsonOne Pusaka: verified BTC, value, listing, loan.
pusaka://token/9application/jsonOne Pusaka: verified BTC, value, listing, loan.

Resource templates

pusaka://token/{token_id}application/jsonOne Pusaka: verified BTC, value, listing, loan.

Definitions only, never their content. Full lists: prompts, resources.

Similar MCP servers

More from io.github.PugarHuda

Official server.json
{
  "name": "io.github.PugarHuda/pusaka",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://pusaka-two.vercel.app/api/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.1.2",
  "packages": [
    {
      "version": "1.1.2",
      "transport": {
        "type": "stdio"
      },
      "identifier": "pusaka-mcp",
      "registryType": "npm",
      "environmentVariables": [
        {
          "name": "PUSAKA_ACCOUNT_ID",
          "description": "NEAR account the agent acts as (optional: read-only without it)"
        },
        {
          "name": "PUSAKA_PRIVATE_KEY",
          "isSecret": true,
          "description": "Its ed25519 key"
        },
        {
          "name": "PUSAKA_MAX_SPEND_NEAR",
          "description": "Spend cap per session in NEAR (default 5)"
        },
        {
          "name": "PUSAKA_CONTRACT",
          "description": "Pusaka contract (default pusaka-v2.testnet; pusaka-btc.testnet for the classic one)"
        },
        {
          "name": "PUSAKA_ALLOW_OUTFLOWS",
          "description": "Set to 1 to let the agent move a Pusaka or its assets out"
        },
        {
          "name": "PUSAKA_ALLOWED_RECIPIENTS",
          "description": "Comma-separated accounts or addresses outflows may go to"
        },
        {
          "name": "PUSAKA_CONFIRM",
          "description": "off: no human confirmation even when the host supports elicitation (caps still apply)"
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/PugarHuda/pusaka",
    "source": "github",
    "subfolder": "mcp"
  },
  "description": "NFTs on NEAR that each control a native Bitcoin address: buy, lend, borrow, inherit, with caps"
}