Skip to main content
Glama
zereight

Bithumb MCP Server

post_place

Place limit buy or sell orders on Bithumb cryptocurrency exchange by specifying currency, quantity, price, and order type.

Instructions

Place a limit order (buy/sell) (Private)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderCurrencyYesCryptocurrency symbol (e.g. BTC, ETH)
unitsYesOrder quantity
priceYesOrder price
typeYesOrder type (bid or ask)

Implementation Reference

  • Core handler function for the 'post_place' tool. Prepares parameters and calls the Bithumb trade API's 'place' endpoint to submit a limit order.
    public async postPlace(
      orderCurrency: string,
      units: number,
      price: number,
      type: tradeType,
    ): Promise<IPostPlace> {
      const param = {
        order_currency: orderCurrency,
        units,
        price,
        type,
      };
      const res = <IPostPlace>await this.requestTrade('place', param);
      return res;
    }
  • src/index.ts:209-222 (registration)
    Tool registration in the MCP server's tools list, defining the name, description, and input schema for 'post_place'.
    {
      name: 'post_place',
      description: 'Place a limit order (buy/sell) (Private)',
      inputSchema: {
        type: 'object',
        properties: {
          orderCurrency: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' },
          units: { type: 'number', description: 'Order quantity' },
          price: { type: 'number', description: 'Order price' },
          type: { type: 'string', enum: ['bid', 'ask'], description: 'Order type (bid or ask)' }
        },
        required: ['orderCurrency', 'units', 'price', 'type']
      }
    },
  • src/index.ts:363-370 (registration)
    Dispatch logic in the CallToolRequest handler that maps the tool call to the bithumbApi.postPlace method.
    case 'post_place':
      result = await this.bithumbApi.postPlace(
        args.orderCurrency as string,
        args.units as number,
        args.price as number,
        args.type as tradeType // Cast to expected type
      );
      break;
  • TypeScript interface defining the response structure for the postPlace API call, including the order_id.
    export interface IPostPlace extends IBithumbResponse {
      order_id: string;
    }

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