Skip to main content
Glama

Binance MCP Server

onboardedVaspList.ts1.32 kB
// src/tools/binance-wallet/travel-rule-api/onboardedVaspList.ts import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { z } from "zod"; import { walletClient } from "../../../config/binanceClient.js"; export function registerBinanceWalletOnboardedVaspList(server: McpServer) { server.tool( "BinanceWalletOnboardedVaspList", "Get list of onboarded VASPs (Virtual Asset Service Providers).", {}, async () => { try { const response = await walletClient.restAPI.onboardedVaspList(); const data = await response.data(); return { content: [ { type: "text", text: `Retrieved onboarded VASP list. Response: ${JSON.stringify(data)}` } ] }; } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); return { content: [ { type: "text", text: `Failed to retrieve onboarded VASP list: ${errorMessage}` } ], isError: true }; } } ); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TermiX-official/binance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server