# CoinVello

> Non-custodial crypto payments: checkout sessions, invoices, webhooks and test payments. No KYC.

- name: io.github.CoinVello/coinvello
- version: 0.1.4
- connection class: R1 (autonomous)
- trust: 97/100
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.CoinVello%2Fcoinvello
- tools: https://api.protogrid.dev/v1/servers/io.github.CoinVello%2Fcoinvello/tools

**An agent can connect on its own if it already holds `COINVELLO_TOKEN`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "coinvello": {
      "type": "http",
      "url": "https://mcp.coinvello.com/mcp",
      "headers": {
        "Authorization": "Bearer ${COINVELLO_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${COINVELLO_TOKEN}`.

## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-29d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 78 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_invoice (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); list_wallets (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_rates (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 5,201 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: 67 (weight 15)

- fail `deps.known_vulns`: 1 advisory to act on (malicious, or rated high or critical with a fix available): GHSA-mrhx-c7xc-m3w5 in zod@3.25.76 (direct, fixed in 4.6.6); 2 more of lower severity or without a fix
- pass `deps.mcp_sdk_version`: @modelcontextprotocol/sdk 1.32.2, no known advisory
- pass `deps.resolvable`: @coinvello/mcp@0.1.4 resolved: 99 packages

- tools: 18, about 5,201 tokens to load them all
- tool set hash: a72efd710eabad771f2733d15ab9c6d8
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.CoinVello/coinvello.svg)](https://protogrid.dev/servers/io.github.CoinVello/coinvello)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Dependencies

- npm @coinvello/mcp@0.1.4: resolved, 98 dependencies, MCP SDK @modelcontextprotocol/sdk 1.32.2
  - GHSA-mrhx-c7xc-m3w5 (high) in `` zod@3.25.76 ``, direct, fixed in `` 4.6.6 ``, advisory summary: "Zod can exhaust memory while validating oversized constrained collections" https://osv.dev/vulnerability/GHSA-mrhx-c7xc-m3w5
  - GHSA-jpvv-r467-5p4w (moderate) in `` @hono/node-server@2.1.5 ``, indirect, fixed in `` 2.1.6 ``, advisory summary: "@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy" https://osv.dev/vulnerability/GHSA-jpvv-r467-5p4w
  - GHSA-qv5m-9pm6-hqp3 (moderate) in `` @hono/node-server@2.1.5 ``, indirect, fixed in `` 2.1.6 ``, advisory summary: "@hono/node-server: Unhandled \`ECONNRESET\` on the socket during an asynchronous WebSocket upgrade crashes the process" https://osv.dev/vulnerability/GHSA-qv5m-9pm6-hqp3

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://mcp.coinvello.com/mcp (streamable-http, auth api_key ${COINVELLO_TOKEN}, reachable true, uptime30d 1)

## Packages

- npm @coinvello/mcp@0.1.4 secrets: COINVELLO_API_KEY

## Tools (18)

- `create_checkout_session`: Create a CoinVello hosted checkout session (an invoice plus a payment page at pay.coinvello.com). Redirect the customer to the returned `url`. Amounts are decimal strings. `currency` is an ISO code (USD, EUR...) or an asset id to price in crypto. Fulfil orders from the invoice.paid webhook, never from the redirect.
- `create_credit_purchase`: Create a crypto credit purchase (cpu_...). Returns payment.payment_options with the address/amount to pay (CoinVello's operator wallet) and a hosted checkout_url. Credits are added when the payment confirms. Card purchases and automatic top-up are set up by the merchant in the dashboard, not through this tool. In test mode credits are free, so this is mainly for exercising the flow (pay it with simulate_test_payment).
- `create_export`: Create an export of the records (default), another dataset, or `all` (the year-end package) for a period, or for the entire history when period is null or omitted. Returns the export object: small exports are already `ready` with `file` (name, content_type, bytes, sha256) and a signed `download_url` valid until `download_expires_at` (files are kept 7 days); while `queued` or `processing` call get_export. Vendor presets (quickbooks, xero, koinly, cointracker, coinledger) and journal need dataset=records and format=csv (otherwise 422). Verify the downloaded file against file.sha256. With a test key pass include_simulated=true to include simulated payments.
- `create_wallet`: Register a receiving wallet the merchant controls. type=xpub for bitcoin (CoinVello derives a fresh address per invoice from the extended PUBLIC key); type=address for ethereum, base, arbitrum, optimism, polygon, bnb, avalanche, robinhood, solana, tron. Never pass a private key or seed phrase. The wallet is usable at once in live and test mode; addresses are validated strictly (format, checksum, network, no token contracts). For xpubs, show the returned first_address so the merchant can compare it with their wallet's first receive address. Signed-message verification (POST /wallets/{id}/verification then /verify) is optional and never required.
- `create_webhook`: Register a webhook endpoint. The response contains `secret` (whsec_...) ONCE: store it as COINVELLO_WEBHOOK_SECRET. Live endpoints must be HTTPS; test endpoints may be http://localhost. Use events ["*"] for everything or a list such as ["invoice.paid","invoice.expired"].
- `get_credits_balance`: Return the merchant's prepaid processing-credit balance: balance (= available + reserved, never negative), available (free to spend), reserved (estimated fees of open invoices paid with credits), low_balance_threshold, estimated_payments_remaining, auto_topup. There are no free live credits. 1 credit = $0.01 nominal; a confirmed payment consumes about 30 bps of its fiat value (floor 2, cap 2000).
- `get_export`: Retrieve an export (exp_...): status (queued, processing, ready, failed, expired), rows, file { name, content_type, bytes, sha256 }, download_url and download_expires_at, failure_reason. Poll after create_export until ready.
- `get_invoice`: Retrieve an invoice (inv_...) with its status, payment_options (address, amount, payment_uri, qr_payload) and paid summary. Use for polling or reconciliation. Accepts a checkout session id (cs_...) too and returns the session with the invoice expanded.
- `get_rates`: Mid-market rates for supported assets against a fiat base (default USD). Indicative only; invoices lock their own rate at creation.
- `get_records_summary`: Sales (invoiced at the locked rates), received_market_value (what the coins were worth when they landed), valuation_difference, tax_collected, refunds, fees_prepaid and credits_consumed, fees_onchain, network_fees, credit_purchases and net_received, with payment counts, over occurred_at in the given timezone and currency. period_start is inclusive and period_end exclusive (a date such as 2026-01-01, or a date-time). group_by returns the same totals per month, asset, chain, type or address in `groups`. With a test key, simulated rows count only with include_simulated=true.
- `list_assets`: Every asset CoinVello accepts in the API key's mode: id (btc:bitcoin, usdc:polygon, eurc:base...), symbol, chain, kind (native/token), contract_address, decimals, required_confirmations, min_amount, testnet name and the wallet_type (xpub or address) needed to accept it. Tokens without a testnet contract (DAI, usdc:bnb, usdt on base/arbitrum/optimism/avalanche/solana, and the Bitcoin tokens wbtc/cbbtc/btcb) are live-only, so a test key does not list them.
- `list_credit_bundles`: List purchasable credit bundles with USD price, price_per_credit and indicative crypto_prices per asset. Bigger bundles cost less per credit (effective rate ~0.30% down to <0.10%).
- `list_invoices`: List invoices, newest first, filterable by status, order_id or customer_email. Returns { object: 'list', data, has_more, next_cursor }.
- `list_payments`: List on-chain payments (pay_...) with tx_hash, confirmations, amount and status (detected, confirming, confirmed, failed). Filter by invoice_id, status, chain or tx_hash.
- `list_records`: List the account's book of record, newest first: one immutable row per movement of value (payment_received, fee_prepaid, credit_purchase, refund_sent, fee_onchain, conversion, offramp_payout...) valued when it happened. Each record has `value` (market value at the block time in the reporting currency, rate and source included), `value_usd`, `contract_value` (what the customer owed at the invoice's locked rate), `tax`, the on-chain proof (tx_hash, block_height, addresses, explorer_url) and an invoice snapshot. `currency` re-values from value_usd at the historical rate. With a test key, rows created by simulate_test_payment appear only with include_simulated=true. Returns { object: 'list', data, has_more, next_cursor }.
- `list_wallets`: List registered wallets with chain, type, status (active/verified/archived) and accepted assets. Use it to see which assets can be offered on an invoice.
- `simulate_test_payment`: Create a synthetic on-chain payment for an invoice (inv_) or credit purchase (cpu_) and run it through the real state machine and webhook pipeline. Test keys only. confirmations=0 -> payment.detected / invoice.pending; confirmations >= required -> invoice.paid. Use a smaller/larger amount to simulate underpaid/overpaid. Reuse tx_hash to advance the same payment.
- `verify_webhook_signature`: Verify a webhook delivery locally (no API call). Pass the exact raw request body, the CoinVello-Signature header (t=...,v1=...) and the endpoint secret (whsec_...). Implements the spec: HMAC-SHA256 over "<t>.<raw body>", 300 s tolerance, constant-time compare against any v1. Returns valid=true/false with the reason and the parsed event. Set ignore_timestamp=true when checking an old captured delivery.

## Prompts and resources

### Prompts (13)

- `` integrate-coinvello-into-django ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a django project.
- `` integrate-coinvello-into-express ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a express project.
- `` integrate-coinvello-into-fastapi ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a fastapi project.
- `` integrate-coinvello-into-flask ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a flask project.
- `` integrate-coinvello-into-framework ``: Same procedure for a framework not listed; pass its name.
- `` integrate-coinvello-into-generic ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a generic project.
- `` integrate-coinvello-into-go ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a go project.
- `` integrate-coinvello-into-laravel ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a laravel project.
- `` integrate-coinvello-into-nextjs ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a nextjs project.
- `` integrate-coinvello-into-rails ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a rails project.
- `` integrate-coinvello-into-shopify ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a shopify project.
- `` integrate-coinvello-into-sinatra ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a sinatra project.
- `` integrate-coinvello-into-woocommerce ``: Step-by-step instructions for adding non-custodial crypto checkout (checkout session + verified webhook) to a woocommerce project.

### Resources (3)

- `` coinvello://docs/llms-full.txt ``: Single-document API guide: auth, checkout sessions, redirect, webhook verification, polling, credits, errors, with curl/Node/Python/PHP examples.
- `` coinvello://docs/llms.txt ``: Short, link-rich summary of the CoinVello API.
- `` coinvello://openapi.yaml ``: Every endpoint, schema, example and webhook payload of https://api.coinvello.com/v1.
