@codespar/mcp-foxbit
Advanced tools
+2
-2
@@ -65,3 +65,3 @@ #!/usr/bin/env node | ||
| } | ||
| const server = new Server({ name: "mcp-foxbit", version: "0.2.0" }, { capabilities: { tools: {} } }); | ||
| const server = new Server({ name: "mcp-foxbit", version: "0.2.1" }, { capabilities: { tools: {} } }); | ||
| server.setRequestHandler(ListToolsRequestSchema, async () => ({ | ||
@@ -394,3 +394,3 @@ tools: [ | ||
| transports.delete(t.sessionId); }; | ||
| const s = new Server({ name: "mcp-foxbit", version: "0.2.0" }, { capabilities: { tools: {} } }); | ||
| const s = new Server({ name: "mcp-foxbit", version: "0.2.1" }, { capabilities: { tools: {} } }); | ||
| server._requestHandlers.forEach((v, k) => s._requestHandlers.set(k, v)); | ||
@@ -397,0 +397,0 @@ server._notificationHandlers?.forEach((v, k) => s._notificationHandlers.set(k, v)); |
+2
-2
| { | ||
| "name": "@codespar/mcp-foxbit", | ||
| "version": "0.2.0", | ||
| "description": "MCP server for Foxbit — Brazilian crypto exchange, trading, orderbook, institutional", | ||
| "version": "0.2.1", | ||
| "description": "MCP server for Foxbit \u2014 Brazilian crypto exchange, trading, orderbook, institutional", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
+23
-12
@@ -54,16 +54,27 @@ # @codespar/mcp-foxbit | ||
| ## Tools | ||
| ## Tools (21) | ||
| | Tool | Description | | ||
| |------|-------------| | ||
| | `list_markets` | List all available trading pairs | | ||
| | `get_ticker` | Get 24h ticker data for a market | | ||
| | `get_orderbook` | Get order book for a market | | ||
| | `get_account_balances` | Get account balances | | ||
| | `create_order` | Create a buy or sell order (limit/market) | | ||
| | Tool | Purpose | | ||
| |---|---| | ||
| | `list_markets` | List all available trading pairs / markets on Foxbit | | ||
| | `list_currencies` | List all supported currencies (crypto and fiat) on Foxbit | | ||
| | `get_currency` | Get details of a specific currency (precision, min/max amounts, type) | | ||
| | `get_ticker` | Get 24h ticker data for a market (price, volume, high/low) | | ||
| | `get_orderbook` | Get order book (bids and asks) for a market | | ||
| | `get_market_trades` | Get recent public trades for a market (trade history / tape) | | ||
| | `get_candles` | Get OHLC candlestick data for a market | | ||
| | `get_account_balances` | Get account balances for all currencies | | ||
| | `get_balance` | Get account balance for a single currency | | ||
| | `create_order` | Create a buy or sell order (limit or market) | | ||
| | `get_order` | Get order details by ID | | ||
| | `list_orders` | List orders with filters | | ||
| | `cancel_order` | Cancel an open order | | ||
| | `list_trades` | List executed trades | | ||
| | `list_deposits_withdrawals` | List deposits and withdrawals for a currency | | ||
| | `list_orders` | List orders with optional filters | | ||
| | `cancel_order` | Cancel an open order by ID | | ||
| | `list_trades` | List user's executed trades (private trade history) | | ||
| | `list_deposits_withdrawals` | List deposits and withdrawals (transactions) for a currency | | ||
| | `create_pix_deposit` | Create a Pix instant deposit (BRL). | | ||
| | `list_pix_deposits` | List Pix deposit history (BRL instant deposits) | | ||
| | `create_pix_withdrawal` | Create a Pix withdrawal (BRL) to a Pix key | | ||
| | `list_pix_withdrawals` | List Pix withdrawal history (BRL fiat withdrawals) | | ||
| | `create_crypto_withdrawal` | Create a crypto withdrawal to an external wallet address | | ||
| | `get_trading_fees` | Get current trading fees and limits (maker/taker per pair, withdrawal limits) | | ||
@@ -70,0 +81,0 @@ ## Authentication |
+2
-2
@@ -10,3 +10,3 @@ { | ||
| }, | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "packages": [ | ||
@@ -16,3 +16,3 @@ { | ||
| "identifier": "@codespar/mcp-foxbit", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "transport": { | ||
@@ -19,0 +19,0 @@ "type": "stdio" |
+2
-2
@@ -81,3 +81,3 @@ #!/usr/bin/env node | ||
| const server = new Server( | ||
| { name: "mcp-foxbit", version: "0.2.0" }, | ||
| { name: "mcp-foxbit", version: "0.2.1" }, | ||
| { capabilities: { tools: {} } }, | ||
@@ -411,3 +411,3 @@ ); | ||
| t.onclose = () => { if (t.sessionId) transports.delete(t.sessionId); }; | ||
| const s = new Server({ name: "mcp-foxbit", version: "0.2.0" }, { capabilities: { tools: {} } }); (server as any)._requestHandlers.forEach((v: any, k: any) => (s as any)._requestHandlers.set(k, v)); (server as any)._notificationHandlers?.forEach((v: any, k: any) => (s as any)._notificationHandlers.set(k, v)); await s.connect(t); | ||
| const s = new Server({ name: "mcp-foxbit", version: "0.2.1" }, { capabilities: { tools: {} } }); (server as any)._requestHandlers.forEach((v: any, k: any) => (s as any)._requestHandlers.set(k, v)); (server as any)._notificationHandlers?.forEach((v: any, k: any) => (s as any)._notificationHandlers.set(k, v)); await s.connect(t); | ||
| await t.handleRequest(req, res, req.body); return; | ||
@@ -414,0 +414,0 @@ } |
47360
2.16%142
8.4%