Skip to main content
Glama

OKX-DEX-SDK MCP SSE Server

by 0xobedient
getSupportedBridges.ts859 B
import { Tool } from "./../../shared/types/tool"; import { z } from "zod"; import { get_supported_bridges } from "../hooks"; export const getSupportedBridgesToolParams = { chainId: z.string(), }; export const getSupportedBridgesToolZodParams = z.object({ ...getSupportedBridgesToolParams, }); export type GetSupportedBridgesToolParamType = z.infer< typeof getSupportedBridgesToolZodParams >; export const getSupportedBridgesTool: Tool< typeof getSupportedBridgesToolParams, { chainId: string }, string > = { name: "OKX_BRIDGE_GET_SUPPORTED_BRIDGES", description: "Get information of the cross-chain bridges supported by OKX’s DEX cross-chain aggregator protocol.", parameters: { ...getSupportedBridgesToolParams, }, callback: async ({ chainId }: { chainId: string }) => { return get_supported_bridges(chainId); }, };

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/0xobedient/okx-mcp'

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