Skip to main content
Glama
zereight

Bithumb MCP Server

post_withdrawal_krw

Request a Korean Won withdrawal from your Bithumb exchange account to a specified bank account by providing bank details and amount.

Instructions

Request a KRW withdrawal (Private, Deprecated by Bithumb)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bankYesBank code and name (e.g., 004_은행)
accountYesAccount number
priceYesWithdrawal amount

Implementation Reference

  • Core handler function in ApiBithumb class that executes KRW withdrawal by preparing parameters and calling the internal requestTrade method to POST to Bithumb's /trade/krw_withdrawal endpoint.
    public async postWithdrawalKrw(
      bank: string,
      account: string,
      price: number,
    ): Promise<IPostWithDrawalKrw> {
      const param = {
        bank,
        account,
        price,
      };
      const res = <IPostWithDrawalKrw>(
        await this.requestTrade('krw_withdrawal', param)
      );
      return res;
    }
  • MCP tool input schema definition, specifying parameters bank, account, price with types and descriptions for validation.
    {
      name: 'post_withdrawal_krw',
      description: 'Request a KRW withdrawal (Private, Deprecated by Bithumb)',
      inputSchema: {
        type: 'object',
        properties: {
          bank: { type: 'string', description: 'Bank code and name (e.g., 004_은행)' },
          account: { type: 'string', description: 'Account number' },
          price: { type: 'number', description: 'Withdrawal amount' }
        },
        required: ['bank', 'account', 'price']
      }
    }
  • src/index.ts:392-398 (registration)
    Registration in the CallToolRequestSchema handler switch statement, mapping the tool name to the bithumbApi.postWithdrawalKrw call.
    case 'post_withdrawal_krw':
      result = await this.bithumbApi.postWithdrawalKrw(
        args.bank as string,
        args.account as string,
        args.price as number
      );
      break;
  • TypeScript interface for the output response of postWithdrawalKrw, extending the base Bithumb response type.
    import { IBithumbResponse } from './bithumb-response.interface.js';
    
    export interface IPostWithDrawalKrw extends IBithumbResponse {}
  • src/index.ts:274-286 (registration)
    Tool definition registered in the tools array for ListToolsRequestSchema, including name, description, and input schema.
    {
      name: 'post_withdrawal_krw',
      description: 'Request a KRW withdrawal (Private, Deprecated by Bithumb)',
      inputSchema: {
        type: 'object',
        properties: {
          bank: { type: 'string', description: 'Bank code and name (e.g., 004_은행)' },
          account: { type: 'string', description: 'Account number' },
          price: { type: 'number', description: 'Withdrawal amount' }
        },
        required: ['bank', 'account', 'price']
      }
    }

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/zereight/bithumb-mcp'

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