Skip to main content
Glama

GET_DEPOSIT_ADDRESS

Retrieve a deposit address for a specific cryptocurrency and network type on the Upbit exchange to enable fund transfers.

Instructions

Get a single deposit address for a currency and net_type (private)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
net_typeYes

Implementation Reference

  • The execute function implementing the core logic of the GET_DEPOSIT_ADDRESS tool: authenticates and fetches deposit address from Upbit API.
    execute: async ({ currency, net_type }: Params) => { ensurePrivateEnabled(); const baseURL = `${config.upbit.baseUrl}${config.upbit.apiBasePath}`; const client = createHttpClient(baseURL); const query = { currency, net_type }; const token = signJwtToken(query); const data = await fetchJson<unknown>(client, "/deposits/coin_address", { params: query, headers: { Authorization: `Bearer ${token}` }, }); return JSON.stringify(data, null, 2); },
  • Zod schema defining input parameters for the tool: currency (string) and net_type (string).
    const paramsSchema = z .object({ currency: z.string(), net_type: z.string(), }) .strict();
  • src/index.ts:46-46 (registration)
    Registers the getDepositAddressTool with the FastMCP server.
    server.addTool(getDepositAddressTool);

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/IQAIcom/mcp-upbit'

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