npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-transak

v0.2.0-alpha.3

Published

MCP server for Transak — fiat-to-crypto on/off-ramp across ~170 countries with multi-chain support (Partner API)

Readme

@codespar/mcp-transak

MCP server for Transak — fiat↔crypto on/off-ramp across ~170 countries with multi-chain coverage (Ethereum, Solana, Polygon, BSC, Bitcoin, Arbitrum, Optimism, Base, and more).

Transak is the natural peer to MoonPay: both solve the same problem (turn local fiat into on-chain crypto, and back), but each has its own partner list, country coverage, and pricing curve. Bundling both lets an agent-commerce flow pick the best route per corridor instead of pinning to one provider.

Why both MoonPay and Transak

  • Coverage: MoonPay lists ~160 countries, Transak ~170. The overlaps are large but the edges are meaningful — certain LatAm, MENA, and APAC corridors are stronger on one side than the other.
  • Partners: each has a distinct roster of DEX/wallet/dapp partners, which changes KYC reuse and custody posture for a given buyer.
  • Pricing: fees, FX spread, and min/max vary per corridor. An agent can call get_quote on both, compare, and route.
  • Redundancy: if one provider rate-limits, de-risks a country, or throws a KYC hold, the other keeps the flow alive.

This MCP server focuses on the Partner API (server-to-server), not the widget. Agents create orders directly, poll status, and reconcile via webhooks.

Status

0.1.0-alpha.1. The public currency, payment-method, and quote endpoints were verified live against api-stg.transak.com. The partner-order endpoint paths (/api/v2/orders, /api/v2/orders/{id}, /cancel, /api/v2/partner/me) follow the documented conventions but a few are only fully visible inside Transak's partner dashboard — expect minor tweaks once you pair this against a real key.

Tools (18)

| Tool | Purpose | |---|---| | create_order | Create a Transak order. | | get_order | Get a Transak order by its Transak order id. | | list_orders | List Transak orders for the partner account. | | update_order | Update a Transak order after creation. | | cancel_order | Cancel a Transak order. | | get_quote | Get a fiat↔crypto price quote (public, no auth). | | get_order_limits | Get the min and max trade amount for a fiat+crypto+country combination — what's the smallest USD a US buyer... | | list_fiat_currencies | List all fiat currencies Transak supports, with per-currency payment methods, limits, and country restricti... | | list_crypto_currencies | List all crypto assets Transak supports, including network, decimals, pay-in/pay-out eligibility, and juris... | | list_payment_methods | List payment methods available for a given fiat currency (card, Apple Pay, Google Pay, SEPA, UPI, Pix, wire... | | list_countries | List the countries Transak serves, with allowed fiat currencies, payment methods, and KYC requirements per... | | list_network_fees | List the network/gas fees Transak charges (or estimates) per crypto+network combination. | | get_partner_account | Get the authenticated partner's account profile (name, api key info, configured webhooks, default currencies). | | get_partner_balance | Get the partner's settlement balance(s) — Transak holds partner liquidity per fiat to fund SELL payouts and... | | refresh_access_token | Mint a fresh short-lived access-token from the partner api-secret. | | get_kyc_status | Get the KYC status of a buyer the partner has previously sent through Transak. | | get_user_limits | Get the current per-user transaction limits granted by Transak based on the user's KYC tier and country (da... | | verify_webhook_signature | Locally verify the HMAC-SHA256 signature on a Transak webhook delivery. |

Environment

| Var | Required | Secret | Description | |-----|----------|--------|-------------| | TRANSAK_API_KEY | yes | no | Partner API key (also passed as partnerApiKey on public endpoints) | | TRANSAK_API_SECRET | yes | yes | Partner API secret (sent as api-secret header) | | TRANSAK_ACCESS_TOKEN | no | yes | Short-lived access token (sent as access-token header if your partner tier requires it) | | TRANSAK_ENV | no | no | staging (default) or production |

Install

npm install @codespar/mcp-transak@alpha

Run (stdio)

TRANSAK_API_KEY=... TRANSAK_API_SECRET=... mcp-transak

Run (HTTP)

TRANSAK_API_KEY=... TRANSAK_API_SECRET=... mcp-transak --http
# POST http://localhost:3000/mcp

Docs

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

Authentication

Set these environment variables before launching the server:

  • TRANSAK_API_KEY (required) — Transak partner API key (from partner dashboard). Used as partnerApiKey query param on public quote endpoint and bundled with api-secret to mint the access-token for Partner API calls.
  • TRANSAK_API_SECRET (required, secret) — Transak partner API secret. Sent as the api-secret header to endpoints that require server-to-server authentication (and used to mint access tokens for order endpoints).
  • TRANSAK_ENV — Environment selector: 'staging' (default) targets https://api-stg.transak.com; 'production' targets https://api.transak.com.

Issue credentials at the provider's developer portal: https://docs.transak.com.

License

MIT