Mcp Foxbit

io.github.codespar由 GitHub 账号 codespar 发布v0.2.2更新于 Oct 24, 2026

MCP server for Foxbit — Brazilian crypto exchange, trading, orderbook, institutional

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

概览

AI 生成的概览

让助手读取 Foxbit 加密货币行情并管理 Foxbit 账户,包括下单和资金划转。

可以做什么
通过 21 个工具连接巴西加密货币交易所 Foxbit。公共数据工具涵盖交易对、币种、行情、订单簿、近期成交和 K 线数据。私有工具可读取余额、订单、成交记录和充提记录,并可创建或撤销订单、创建 Pix 巴西雷亚尔充值与提现,以及向外部钱包地址发起加密货币提现。
适用场景
适合需要让助手盯盘或操作 Foxbit 账户的场景:查看价格与订单簿、核对余额和订单历史、下单或撤单,以及处理 Pix 和加密货币转账。主要面向已持有 Foxbit 账户的交易者和商户。
运行要求
以 npm 包形式通过 npx 在本地运行,需要 Node.js。需要 Foxbit 账户,并通过环境变量 FOXBIT_API_KEY 和 FOXBIT_API_SECRET 提供 API 凭据。需要访问 Foxbit REST API 的网络连接。仅支持桌面客户端。
安装前请注意
该 API 凭据拥有账户完整权限,包括交易和提现,务必妥善保管。相关工具可创建和撤销订单、创建 Pix 充值与提现,并向外部地址发送加密货币,涉及真实资金且难以撤回。执行前请核对金额、地址和 Pix 密钥。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-foxbit

MCP server for Foxbit — Brazilian cryptocurrency exchange with trading, orderbook, and market data

[npm] [License: MIT]

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "foxbit": {      "command": "npx",      "args": ["-y", "@codespar/mcp-foxbit"],      "env": {        "FOXBIT_API_KEY": "your-key",        "FOXBIT_API_SECRET": "your-secret"      }    }  }}

Claude Code

bash
claude mcp add foxbit -- npx @codespar/mcp-foxbit

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "foxbit": {      "command": "npx",      "args": ["-y", "@codespar/mcp-foxbit"],      "env": {        "FOXBIT_API_KEY": "your-key",        "FOXBIT_API_SECRET": "your-secret"      }    }  }}

Tools (21)

ToolPurpose
list_marketsList all available trading pairs / markets on Foxbit
list_currenciesList all supported currencies (crypto and fiat) on Foxbit
get_currencyGet details of a specific currency (precision, min/max amounts, type)
get_tickerGet 24h ticker data for a market (price, volume, high/low)
get_orderbookGet order book (bids and asks) for a market
get_market_tradesGet recent public trades for a market (trade history / tape)
get_candlesGet OHLC candlestick data for a market
get_account_balancesGet account balances for all currencies
get_balanceGet account balance for a single currency
create_orderCreate a buy or sell order (limit or market)
get_orderGet order details by ID
list_ordersList orders with optional filters
cancel_orderCancel an open order by ID
list_tradesList user's executed trades (private trade history)
list_deposits_withdrawalsList deposits and withdrawals (transactions) for a currency
create_pix_depositCreate a Pix instant deposit (BRL).
list_pix_depositsList Pix deposit history (BRL instant deposits)
create_pix_withdrawalCreate a Pix withdrawal (BRL) to a Pix key
list_pix_withdrawalsList Pix withdrawal history (BRL fiat withdrawals)
create_crypto_withdrawalCreate a crypto withdrawal to an external wallet address
get_trading_feesGet current trading fees and limits (maker/taker per pair, withdrawal limits)

Authentication

Foxbit uses HMAC-SHA256 request signing. Each request includes three headers:

  • X-FB-ACCESS-KEY — API key
  • X-FB-ACCESS-TIMESTAMP — UNIX timestamp in milliseconds
  • X-FB-ACCESS-SIGNATURE — hex HMAC-SHA256 of timestamp + method + path + queryString + body using API secret

Base URL: https://api.foxbit.com.br/rest/v3

Get your credentials

  1. Go to Foxbit
  2. Create an account (KYC required for Brazilian residents)
  3. Navigate to API settings to generate key and secret
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
FOXBIT_API_KEYYesAPI key from Foxbit
FOXBIT_API_SECRETYesAPI secret for HMAC-SHA256

Brazilian Crypto Exchanges in CodeSpar

Hedge liquidity across multiple BR venues:

  • Mercado Bitcoin — biggest BR exchange, 200+ tokens, deep altcoin coverage
  • Foxbit (this) — 2nd BR exchange, focus on BTC / ETH / LTC, strong institutional desk

Merchants and traders use both for best execution and redundancy.

Roadmap

v0.2 (planned)

  • get_candles — OHLCV candlestick data
  • create_withdrawal — Initiate crypto/PIX withdrawal
  • list_currencies — Available currencies and networks
  • get_fees — Trading fees for account tier
  • create_stop_order — Stop-limit / stop-market orders

v0.3 (planned)

  • Institutional / OTC desk integrations
  • WebSocket market data streams (where MCP transport allows)

Want to contribute? Open a PR or request a tool.

Links

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.

License

MIT

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

工具

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

版本历史

1
  1. v0.2.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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