Mcp Transak

io.github.codespar由 GitHub 账号 codespar 发布v0.2.0-alpha.3更新于 Oct 24, 2026

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

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

Transak Partner API 的 MCP 服务器,让助手在约 170 个国家报价、创建、查询和取消法币与加密货币的入金/出金订单。

可以做什么
  • 报价与费用:获取法币与加密货币报价、订单限额和网络手续费
  • 订单管理:创建、更新、取消、列出和按 ID 查询 Transak 订单
  • 覆盖范围查询:列出法币与加密资产、支付方式、国家及其 KYC 要求
  • 合作方账户:读取账户资料与结算余额,刷新访问令牌
  • 买家核查:查询 KYC 状态和单用户交易限额
  • Webhook:在本地校验 webhook 投递的 HMAC-SHA256 签名
适用场景
适合需要借助 Transak 完成法币出入金流程的场景:比较通道与费率、创建或取消订单、查询 KYC 与限额、核对 webhook。也适合在多个支付服务商之间择优路由的代理商务流程。
运行要求
以 npm 包形式在本地通过 stdio 运行(也可用本地 HTTP 模式)。需要 Node.js,以及来自 Transak 合作方后台的环境变量 TRANSAK_API_KEY 和 TRANSAK_API_SECRET;TRANSAK_ACCESS_TOKEN 可选,TRANSAK_ENV 选择 staging(默认)或 production。需要访问 Transak API 的网络连接。
安装前请注意
服务器持有可签发访问令牌并操作合作方账户的 API 密钥,务必避免写入日志或共享配置。订单工具会创建、修改和取消真实交易,并涉及结算余额,生产环境使用可能产生资金流动。当前为早期 alpha(0.1.0-alpha.1),部分合作方订单接口尚未验证。默认指向 staging,切换到 production 即调用正式接口。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Transak,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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)

ToolPurpose
create_orderCreate a Transak order.
get_orderGet a Transak order by its Transak order id.
list_ordersList Transak orders for the partner account.
update_orderUpdate a Transak order after creation.
cancel_orderCancel a Transak order.
get_quoteGet a fiat↔crypto price quote (public, no auth).
get_order_limitsGet the min and max trade amount for a fiat+crypto+country combination — what's the smallest USD a US buyer...
list_fiat_currenciesList all fiat currencies Transak supports, with per-currency payment methods, limits, and country restricti...
list_crypto_currenciesList all crypto assets Transak supports, including network, decimals, pay-in/pay-out eligibility, and juris...
list_payment_methodsList payment methods available for a given fiat currency (card, Apple Pay, Google Pay, SEPA, UPI, Pix, wire...
list_countriesList the countries Transak serves, with allowed fiat currencies, payment methods, and KYC requirements per...
list_network_feesList the network/gas fees Transak charges (or estimates) per crypto+network combination.
get_partner_accountGet the authenticated partner's account profile (name, api key info, configured webhooks, default currencies).
get_partner_balanceGet the partner's settlement balance(s) — Transak holds partner liquidity per fiat to fund SELL payouts and...
refresh_access_tokenMint a fresh short-lived access-token from the partner api-secret.
get_kyc_statusGet the KYC status of a buyer the partner has previously sent through Transak.
get_user_limitsGet the current per-user transaction limits granted by Transak based on the user's KYC tier and country (da...
verify_webhook_signatureLocally verify the HMAC-SHA256 signature on a Transak webhook delivery.

Environment

VarRequiredSecretDescription
TRANSAK_API_KEYyesnoPartner API key (also passed as partnerApiKey on public endpoints)
TRANSAK_API_SECRETyesyesPartner API secret (sent as api-secret header)
TRANSAK_ACCESS_TOKENnoyesShort-lived access token (sent as access-token header if your partner tier requires it)
TRANSAK_ENVnonostaging (default) or production

Install

bash
npm install @codespar/mcp-transak@alpha

Run (stdio)

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

Run (HTTP)

bash
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

来源:packages/crypto/transak/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0-alpha.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分